Skip to main content
GET
Download the original purchase invoice

Authorizations

Authorization
string
header
required

Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....

Path Parameters

bill_id
string
required

Exact opaque purchase-bill entity ID, URL-encoded as one path segment. Preserve a literal bill: prefix or whitespace; this parameter is not the family-qualified row ID used by the unified invoice record route.

Query Parameters

customer_id
string

Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.

Response

Original retained invoice bytes.