Payezydevelopers
Sandbox

API reference / Billing

Download an invoice PDF

GET/v1/orgs/{orgId}/billing/invoices/{invoiceId}/pdf

The PDF (billing:view); 404 pdf_not_ready until it is issued.

Before you call it

  • Permissionbilling:view

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list.
invoiceIdpath, uuidrequiredAn invoice id from the invoice list.

Response 200

The PDF

No body.

Errors to handle

CodeWhat it means and what to do
pdf_not_ready404The PDF is available once the invoice is issued.

Every error is a Problem document. Branch on code; quote request_id to support.