You can check available branches for the company by checking it via the Supplier Invoice > Document Line or Financials Details branches.
- In our test, we're able to POST Supplier invoice with available branches with Service_Type token.
1) Organization Settings (ScreenId=CS101500)
1.1) Main Org. with 2 Branches
1.2) Secondary org. with 2 branches
2) POST Supplier Invoice (Generated token with Service_API) e.g. to - Main Organization > "02" Branch ✔️ - Main Organization > "021" Branch ✔️
- Secondary Organization > "03" Branch ✔️ - Secondary Organization > "031" Branch ✔️
{
"documentType": {
"value": "Invoice"
},
"date": {
"value": "2021-09-16"
},
"postPeriod": {
"value": "072019"
},
"financialPeriod": {
"value": "201909"
},
"supplierReference": {
"value": " VAT UI TEST API1234"
},
"description": {
"value": "TEST"
},
"supplierNumber": {
"value": "50000"
},
"supplierTaxZone": {
"value": "02"
},
"creditTermsId": {
"value": "14"
},
"paymentMethod": {
"value": "1"
},
"cashAccount": {
"value": "1910"
},
"branchNumber": {
"value": "031"
},
"invoiceLines": [
{
"operation": "Insert",
"transactionDescription": {
"value": "Test"
},
"inventoryNumber": {
"value": "122"
},
"quantity": {
"value": 1
},
"costInCurrency": {
"value": 50
},
"accountNumber": {
"value": "3260"
},
"vatCodeId": {
"value": "01"
},
"branchNumber": {
"value": "031"
}
}
]
}
Financials Output:
... View more