Skip to main content
GET
/
invoices
/
{invoice_id}
/
pdf
Download the invoice as PDF
curl --request GET \
  --url https://api.app.lastaccountingcompany.com/portal/invoices/{invoice_id}/pdf \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "detail": "<string>"
}

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

invoice_id
string
required

Query Parameters

customer_id
string

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

Response

Invoice PDF.