Invoices
Download Invoice PDF
Download the PDF of an existing invoice.
GET
Download Invoice PDF
The path
{record_number} is the invoice number.
The response is the PDF file (Content-Type: application/pdf), not a URL.
Draft, posted, and archived invoices are allowed.
Draft risk: this MVP does not add a DRAFT watermark on the PDF. Calling this
endpoint does not freeze the invoice template or language. A draft PDF can change
as the invoice is edited.
When the invoice has an e-invoice filing that requires an authority PDF, that PDF
is returned instead of the DualEntry PDF.
This call does not send email and does not post to the general ledger.
Additional validations
- Fails with
422anderror_codee_invoicing_send_heldif the authority must clear the e-invoice before the customer gets it (Italy, Mexico, Spain and Argentina), or witherror_codee_invoicing_legal_pdf_missingif the authority PDF is not stored yet. Thee_invoicingkey holds the reason. Send again after the authority clears the invoice.