Forum Discussion
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.
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.