Forum Discussion
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.
Did you provide a date?
"Terms": {
"PaymentIsDue": "OnADayOfTheMonth",
"DueDate": "2024-10-15T00:00:00"
},
- Sidath2 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_James2 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.
- Sidath2 months agoContributing User
Hi Mike_James ,
Thanks for the reply,
This is the data I'm sending. The invoice date is 2024-07-19 and the BalanceDueDate is 2. But still in MYOB due date calculated was wrong. It got the last date of the month on the invoice date and added the BalanceDueDate to it.
Actual invoice due date should be 2024-07-21
{
"Number": "INV00299",
"Date": "2024-07-19T00:00:00",
"Customer": {
"DisplayID": "8012"
},
"BalanceDueAmount": 209.7,
"Status": "Open",
"ShipToAddress": "10 Grey Street Traralgon",
"Terms": {
"PaymentIsDue": "OnADayOfTheMonth",
"BalanceDueDate": 2
},Appreciate your help.
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.