An invoice's PDF
GET
https://billing.ezghcloud.com/v1/organizations/{orgId}/invoices/{invoiceId}/pdfAuthorization
Path parameters
Returns
200
The PDF, named .pdf in Content-Disposition.
403
access_denied: the caller isn't allowed to (the message names the action); forbidden_origin: a cookie-authenticated write from another site.
404
not_found: no such invoice; pdf_unavailable: its PDF isn't available yet.
500
internal_error: a bug; the details are in the logs, under the request ID.