Skip to main content
GET
Download the logged-in customer's own invoice PDF
Portal endpoints authenticate via the portal_session cookie issued by magic-link verification — not a Bearer API key. Non-browser clients may send the token in the X-Portal-Session header instead.
Returns a print-ready HTML rendering of an invoice belonging to the authenticated portal customer. The endpoint is scoped to the customer’s own invoices: requesting another customer’s invoice ID returns 404 — the invoice’s existence is never confirmed.

Path Parameters

Example Request

The 200 response body is text/html — a print-ready invoice document, not JSON.

Authorizations

portal_session
string
cookie
required

Customer-portal session cookie issued by GET /portal/auth/verify.

Path Parameters

id
string<uuid>
required

Response

Print-ready invoice document.

The response is of type string.