Developers
API-ReferenzRevenue share

Download a statement's XRechnung

GET
/commission-statements/{statement_id}/xml

The XRechnung (UBL) of a statement issued in that format — has_xml on the statement says whether there is one; a ZUGFeRD statement carries its XML inside the PDF. Scope partner:commissions:read.

Authorization

apiKey partner:commissions: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:commissions:read

Path Parameters

statement_id*Statement 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/commission-statements/string/xml' \  -H 'Authorization: Bearer ab_...'
Example Response
Empty