API - Get PDF Invoice
Use a token to get a RTF-invoice / RTF-factuur ophalen
Resource:
/acumulus/stable/invoices/invoice_get_rtf.php
Since API:
Authentication:
None
Communication:
No XML-structure required, simply add the token field to the Location URI.
RTF-format has no support for embedded graphics. Use PDF when required.
RTF invoice.
RTF reminder.
Alternatively you can add the invoicetype GET-parameter to retrieve a reminder of the invoice. Use invoicetype=1 for a reminder.
RTF reminder.
Response
There is no XML-Structure in response when there are no errors to be reported. Upon success an invoice RTF-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.