API - Get PDF Invoice
Use a token to get a PDF-invoice / PDF-factuur ophalen
Resource:
/acumulus/stable/invoices/invoice_get_pdf.php
Since API:
Authentication:
None
Communication:
No XML-structure required, simply add the token field to the Location URI.
PDF invoice.
PDF invoice without graphics.
PDF reminder.
Alternatively you can add the gfx GET-parameter to prevent any embedded graphics from being applied to the document
PDF invoice without graphics.
Alternatively you can add the invoicetype GET-parameter to retrieve a reminder of the invoice. Use invoicetype=1 for a reminder.
PDF reminder.
Response
There is no XML-Structure in response when there are no errors to be reported. Upon success an invoice PDF-file is served over https protocol.
However upon failure you can expect something like:
<?xml version="1.0" encoding="UTF-8"?> <response> <invoice> <token></token> </invoice> </response>
Including a warning and error segment embedded within the response section.