We recommend not sending fields that you are not using, please try to send this JSON instead first:
{ "date": { "value": "2022-06-22T22:00:00.000Z" }, "hold": { "value": false }, "dueDate": { "value": "2022-07-22T22:00:00.000Z" }, "locationId": { "value": "MAIN" }, "cashAccount": { "value": "BANK" }, "branchNumber": { "value": "1" }, "documentType": { "value": "Purchase Invoice" }, "invoiceLines": [ { "uom": { "value": "STUK" }, "quantity": { "value": 2 }, "operation": "Insert", "vatCodeId": { "value": "3" }, "lineNumber": { "value": 1 }, "subaccount": [ { "segmentId": 1, "segmentValue": "0" } ], "accountNumber": { "value": "7100" }, "inventoryNumber": { "value": "DIVH" }, "unitCostInCurrency": { "value": 23 }, } ], "creditTermsId": { "value": "30" }, "paymentMethod": { "value": "1" }, "applyRetainage": { "value": false }, "supplierNumber": { "value": "30001" }, "financialPeriod": { "value": "202206" }, "referenceNumber": { "value": "1234" }, "supplierReference": { "value": "30001" } }
... View more