Thank you for the response. I fixed the issue above and I followed the instructions to create a supplier invoice in the UI. But I still have an error that I can not identify. The error body: { "message": "Error creating supplierInvoice. You cannot set 'Retainage Percent' when 'Apply Retainage' is disabled." } The object I post: { "qs": {}, "body": { "date": { "value": "2022-06-22T22:00:00.000Z" }, "hold": { "value": false }, "note": {}, "amount": {}, "dueDate": { "value": "2022-07-22T22:00:00.000Z" }, "payDate": {}, "vatAmount": {}, "currencyId": {}, "locationId": { "value": "MAIN" }, "postPeriod": {}, "cashAccount": { "value": "BANK" }, "description": {}, "paySelected": {}, "branchNumber": { "value": "1" }, "documentType": { "value": "Purchase Invoice" }, "exchangeRate": {}, "invoiceLines": [ { "uom": { "value": "STUK" }, "note": {}, "branch": {}, "linkLine": { "purchaseNumber": {}, "purchaseLineNbr": {} }, "quantity": { "value": 2 }, "operation": "Insert", "projectId": {}, "splitLine": {}, "vatCodeId": { "value": "3" }, "lineNumber": { "value": 1 }, "subaccount": [ { "segmentId": 1, "segmentValue": "0" } ], "termEndDate": {}, "branchNumber": {}, "deferralCode": {}, "retainagePct": {}, "accountNumber": { "value": "7100" }, "projectTaskId": {}, "termStartDate": {}, "undoSplitLine": {}, "costInCurrency": {}, "manualDiscount": {}, "splitHierarchy": {}, "discountPercent": {}, "inventoryNumber": { "value": "DIVH" }, "curyRetainageAmt": {}, "deferralSchedule": {}, "unitCostInCurrency": { "value": 23 }, "transactionDescription": {}, "discountAmountInCurrency": {}, "discountUnitCostInCurrency": {} } ], "paymentRefNo": {}, "creditTermsId": { "value": "30" }, "paymentMethod": { "value": "1" }, "applyRetainage": { "value": false }, "paymentMessage": {}, "supplierNumber": { "value": "30001" }, "approvalDetails": { "comment": {}, "attachmentID": {} }, "financialPeriod": { "value": "202206" }, "origInvoiceDate": {}, "referenceNumber": { "value": "1234" }, "supplierTaxZone": {}, "cashDiscountDate": {}, "supplierReference": { "value": "30001" }, "taxCalculationMode": {}, "validateLineDetails": {}, "overrideNumberSeries": {}, "roundingDiffInCurrency": {} }, "headers": { "user-agent": "Make/production", "authorization": "***", "ipp-company-id": 4180760, "content-type": "application/json" }, "timeout": 40000 } What to do about this? I do not try to set the "Retainage Percent". Best regards, Carla
... View more