Hi,
Found this old issue: https://community.myob.com/t5/MYOB-API-questions-and-answers/New-line-break-in-purchase-order/m-p/576810
But it seems there's no solution on how to split into multiple lines on shipping address.
Can anyone help us out. thanks.
I tried that and it seems not working, see this screenshot
Hi @ITQuoter
Thanks for reaching out, The AccountRight API only allows for a single string to be used in your request body when sending invoices to a company file. You can use `` as a line break in the request body to separate the shipping address information into multiple lines in AccountRight. For example, the shipping address details can be sent via the API as `"ShipToAddress": "Jacob API17 Made Up RoadXXXX NSW 2056Australia"` which creates the invoice in the format shown in the attached screenshot. When extracting the invoice to retrieve the shipping address details, there is no way to show each component in it's own line. The shipping address details will be represented in the `"ShipToAddress": "Jacob API17 Made Up RoadXXXX NSW 2056Australia"` format when retrieving it via the API.
Self-help & Learning
Level up your skills and find answers across all MYOB products
Help Guides
MYOB Academy