Skip to main content
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 422 and error_code e_invoicing_send_held if the authority must clear the e-invoice before the customer gets it (Italy, Mexico, Spain and Argentina), or with error_code e_invoicing_legal_pdf_missing if the authority PDF is not stored yet. The e_invoicing key holds the reason. Send again after the authority clears the invoice.

Authorizations

X-API-KEY
string
header
required

Path Parameters

record_number
integer
required

The number attribute of the record.

Response

OK