X-Application-IdX-Api-Key
GET /sdk/v1/invoice/pdf
Download an invoice or receipt PDF.Query parameters
invoiceId(required)
Response
Returnsapplication/pdf with Content-Disposition: attachment; filename="invoice_<number>.pdf" or receipt_<number>.pdf.
Common errors
400: missinginvoiceId403: invoice exists but is not accessible to the authenticated agency404: invoice not found