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.


Example:
https://api.sielsystems.nl/acumulus/stable/invoices/invoice_get_pdf.php?token=01234567890abcdef01234567890abcd

Alternatively you can add the gfx parameter to prevent any embedded graphics from being applied to the document

Example:
https://api.sielsystems.nl/acumulus/stable/invoices/invoice_get_pdf.php?token=01234567890abcdef01234567890abcd&gfx=0


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.