Developers
API referenceInvoices

Download an invoice's e-invoice XML

GET
/invoices/{invoice_id}/xml

The structured e-invoice of an issued invoice: ZUGFeRD (CII, EN 16931) or XRechnung (UBL), the same XML that is embedded in the PDF or mailed beside it. An invoice without an e-invoice (a private customer, a small amount) 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/xml
Example Request
curl -X GET 'https://app.alphacount.ai/api/partner/v1/invoices/string/xml' \  -H 'Authorization: Bearer ab_...'
Example Response
Empty