API referenceRevenue share
Download a statement's XRechnung
GET
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.
apiKey partner:commissions:readheader
AuthorizationBearer <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
statement_id*Statement IdAlphaCount-Version?stringThe API version to use. Default: the current one.
OK
application/xmlcurl -X GET 'https://app.alphacount.ai/api/partner/v1/commission-statements/string/xml' \ -H 'Authorization: Bearer ab_...'Example Response
Empty