Skip to main content
All endpoints below require:
  • X-Application-Id
  • X-Api-Key

GET /sdk/v1/invoice/pdf

Download an invoice or receipt PDF.

Query parameters

  • invoiceId (required)

Response

Returns application/pdf with Content-Disposition: attachment; filename="invoice_<number>.pdf" or receipt_<number>.pdf.

Common errors

  • 400: missing invoiceId
  • 403: invoice exists but is not accessible to the authenticated agency
  • 404: invoice not found