Forum Discussion
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 `\r\n` 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 API\r\n17 Made Up Road\r\nXXXX NSW 2056\r\nAustralia\r\n"` 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 API\r\n17 Made Up Road\r\nXXXX NSW 2056\r\nAustralia\r\n"` format when retrieving it via the API.
- 4 years ago
Hi,
I tried that and it seems not working, see this screenshot
- 4 years ago
Hi,
Any update on this, as there are many clients who use myob that integrates in our app.
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.