Hi, tested it again after a day of the setup, and it is working, I'll wait a little longer before testing it again. Configuration:
1) Created a custom User Role & Assigned the user/s
2) Restricted the access with the User Role
3) Re-generated a service_type Token 4) POST Supplier Invoice to User Role restricted branchID: "03"
{
"documentType": {
"value": "Invoice"
},
"date": {
"value": "2023-08-29"
},
"postPeriod": {
"value": "082023"
},
"financialPeriod": {
"value": "202308"
},
"supplierReference": {
"value": " VAT UI TEST API12345"
},
"description": {
"value": "TEST"
},
"supplierNumber": {
"value": "50000"
},
"supplierTaxZone": {
"value": "02"
},
"creditTermsId": {
"value": "14"
},
"paymentMethod": {
"value": "1"
},
"cashAccount": {
"value": "1910"
},
"branchNumber": {
"value": "03"
},
"invoiceLines": [
{
"operation": "Insert",
"transactionDescription": {
"value": "Test"
},
"inventoryNumber": {
"value": "122"
},
"quantity": {
"value": 1
},
"costInCurrency": {
"value": 50
},
"accountNumber": {
"value": "3260"
},
"vatCodeId": {
"value": "01"
},
"branchNumber": {
"value": "03"
}
}
]
}
5) Financials output:
... View more