Sidath
2 months agoContributing User
How to add the due date when posting an MYOB invoice from the API
We post sales invoices from third-party software to MYOB AccountRight. We can post invoices to MYOB but can't set the Invoice Due Date. Without Due Date, it works well and AccountRight Invoice is set as "Cash on delivery". What we need is to put it as "Due on this day" with the due date we sent.
"Terms": {
"PaymentIsDue": "Dueonthisday",
"DueDate": "2024-07-26T00:00:00"
},
Invoice Terms have been sent as above (Full JSON file is attached here). But I get the validation valid error: "Unexpected value for 'Terms.PaymentIsDue': Cannot convert 'Dueonthisday' to a valid value."
Does anyone know how to post the due date?