AlphaCount Developers
API referenceInvoices

Download an invoice's PDF

GET
/invoices/{invoice_id}/pdf

The issued PDF exactly as it was mailed, with the embedded ZUGFeRD XML where the invoice carries one. A draft has none. Scope partner:invoices:read.

Authorization

apiKey partner:invoices:read
headerAuthorizationBearer <ab_…>

An API key from Integrations → Connect AI assistants (MCP) → New access, bound to exactly one company. Each operation names the scope the key must carry.

Scope: partner:invoices:read

Path Parameters

invoice_id*Invoice Id

Header Parameters

AlphaCount-Version?string

The API version to use. Default: the current one.

Response Body

OK

application/pdf
Example Request
curl -X GET 'https://app.alphacount.ai/api/partner/v1/invoices/string/pdf' \  -H 'Authorization: Bearer ab_...'
Example Response
Empty