Skip to main content

Print Purchase Invoice PDF

GET 

/api/purchase-invoices/:purchaseInvoice/print

Generate and stream a PDF for a purchase invoice. The :purchaseInvoice path parameter is the purchase invoice id; the endpoint renders the purchase order linked to that invoice — the same document produced by the purchase order download and the supplier email.

Required scope: purchase-orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Response: Inline PDF file (application/pdf). Not a JSON response.

Request

Responses

OK