Forum Discussion
Thanks for reaching out, This can be achieved in two different ways, you can pass an additional HEADER Accept: Application/PDF or explicitly tell the API to return the PDF format at the end of your URL request ?format=pdf
You can view the render to PDF documentation here: https://developer.myob.com/api/myob-business-api/v2/sale/invoice/render_as_pdf/
Yes i tried by both methods but its not returning any pdf its only returning plain data(JSON Format) instead of pdf or any link of pdf
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.