Forum Discussion
Mate you'll have to use the exact term with capitalisation as described in the API documentation. Try OnADayOfTheMonth with the date you want
Thanks Mate,
It is case-sensitive. Now I managed to post it with OnADayOfTheMonth. What I want is to set the due date that I provided. So which predefined term can be used to set the Due Date?
With this term, the due date is always set to the last day of the month.
- JeremyF3 months agoExperienced User
Did you provide a date?
"Terms": {
"PaymentIsDue": "OnADayOfTheMonth",
"DueDate": "2024-10-15T00:00:00"
},- Sidath3 months agoContributing User
Yes mate,
The due date is the 02nd of August. but it still picks the last day of the month of the invoice date. it does not use the due date. Refer to the below screenshot.
"Terms": {
"PaymentIsDue": "OnADayOfTheMonth",
"DueDate": "2024-08-02T00:00:00"
},- Mike_James3 months agoUltimate Cover User
Hi Sidath , you need to provide the balanceduedays for that payment term, eg 20, then the due date will be calculated.
See https://developer.myob.com/api/myob-business-api/v2/sale/invoice/invoice_item/ for more details. Each line has subtext which can be seen by clicking the label. Payment terms will be the same for service invoices.
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.