Skip to main content
GET
Preview an invoice as HTML

Path Parameters

This is a public endpoint and does not require authentication. Invoice preview URLs can be shared directly with customers.

Example Request

Response

Returns the rendered invoice as HTML with content type text/html.

Notes

  • The response is raw HTML, not JSON. Set your client to accept text/html.
  • The rendered HTML includes all invoice line items, tax breakdowns, and your organization’s branding.
  • Draft invoices can also be previewed, making this useful for verifying layout before finalizing.
Embed the preview URL in customer-facing emails or portals so customers can view their invoices without logging in.

Errors

See Errors for the error envelope and the full code taxonomy.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

id
string<uuid>
required

Response

Print-ready invoice document.

The response is of type string.