Invoice PDF via API (Implemented)

I’ve looked through the documentation, but I wondered if it was possible to retrieve a PDF version of an invoice / estimate through the API? Was looking a link that would just load the PDF directly, or something similar?

No this is not currently supported but I have added it to our planning system, it shouldn’t be too difficult to implement.

1 Like

Just to let you know this method has been added to the API in our development environment. It will be available to use as soon as the live application is updated.

The method name is Invoice_GetPDF, it’s very simple to use, you pass in an InvoiceID and it returns a full path to the PDF. The schema is almost identical to Invoice_Get.

I’ll update this thread as soon as we’re live.

1 Like

Fantastic news - thank you!

1 Like

Please to inform that this has now been implemented. The new API method name is Invoice_GetPDF, you can try it out in the sandbox area.

The method accepts a single InvoiceID and returns a fully formed URL to the PDF document.

Example XML here:
http://www.quickfile.co.uk/WebServices/API/examples/invoices/invoice_getPDF.xml

Schema Here:
http://www.quickfile.co.uk/WebServices/API/Schemas/invoices/Invoice_GetPDF.xsd

2 Likes

Fantastic - thank you! :slight_smile:

This topic was automatically closed after 2 days. New replies are no longer allowed.