HIT_Ken
2 years agoContributing User
Error Code 37003
I was trying to create an order, but I have no idea why the line total is unbalanced. I need the attributes of "total" and "UnitPrice". Any suggestion for this error please, thanks
If the ship quantity is 5 and the unit price is 29.95 then the total is 149.75.
From what I have done in invoicing the quantity and total can be sent or the quantity and Unit Price sent instead. Presumably the same is true for orders.
https://developer.myob.com/api/myob-business-api/v2/purchase/order/order_item/
shows the quantity and total as required but not the unit price.
Thanks for your reply.
In my picture, the total is 134.77 because I would like to let the MYOB automatically apply the "
What happens if you include the DiscountPercent figure in the Line array?
It still got the error.
... and if you leave out the UnitPrice or the Total?
Worth raising a ticket with API support I think. They were very helpful with issues I raised.
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.