We POST a SupplierInvoice with a different percentage (60% in this example) as which is filled on the Supplier card.
This is the JSON:
{
"documentType": {
"value": "Invoice"
},
"date": {
"value": "2020-02-01"
},
"financialPeriod": {
"value": "202002"
},
"supplierReference": {
"value": "1985011"
},
"description": {
"value": "Memo/5001"
},
"supplierNumber": {
"value": "243234"
},
"currencyId": {
"value": "EUR"
},
"paymentRefNo": {
"value": "1985001"
},
"creditTermsId": {
"value": "14"
},
"cashDiscountDate": {
"value": "2020-02-01"
},
"branchNumber": {
"value": "OrgWater"
},
"taxCalculationMode": {
"value": "TaxSetting"
},
"supplierTaxZone": {
"value": "NL"
},
"applyRetainage": {
"value": true
},
"taxDetailLines": [{
"taxId": {
"value": "3 "
},
"taxableAmount": {
"value": 100.00
},
"vatAmount": {
"value": 21.00
}
}],
"invoiceLines": [{
"operation": "Insert",
"lineNumber": {
"value": 1
},
"transactionDescription": {
"value": "Memo/5001"
},
"quantity": {
"value": 0
},
"costInCurrency": {
"value": 100.00
},
"accountNumber": {
"value": "4610"
},
"vatCodeId": {
"value": "1"
},
"retainagePct": {
"value": 60
},
"curyRetainageAmt": {
"value": 60
},
"branchNumber": {
"value": "OrgWater"
},
"projectId": {
"value": "X"
}
}]
}
But the API still applies the percentage from the Supplier?
... View more