API referenceRevenue share
Retrieve a statement
GET
One issued statement with its lines. 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/json- response
cancelled_by_id*string|nullcancels_statement_id*string|nulldocument_id*string|nulle_invoice_format*string|nullgross_cents*Gross Centshas_pdf*Has Pdfhas_xml*Has Xmlid*Idissue_date*|nullkind*Kindself_billing is a Gutschrift (self-billed invoice, VAT law); settlement a statement for a private person; partner_invoice asks the partner to invoice.
Value in
"self_billing""settlement""partner_invoice"lines*array<>net_cents*Net Centsnumber*string|nullobjected_at*|nullpaid_at*|nullpartner_id*Partner Idpartner_name*string|nullperiod_end*Period EndFormat
datesent_at*|nullsent_to*string|nullstatus*StatusValue in
"draft""issued""sent""cancelled""objected"tax_note*Tax NoteValue in
"regular""small_business""reverse_charge""private_person"vat_cents*Vat Centsvat_rate*Vat Ratecurl -X GET 'https://app.alphacount.ai/api/partner/v1/commission-statements/string' \ -H 'Authorization: Bearer ab_...'Example Response
{ "cancelled_by_id": null, "cancels_statement_id": null, "document_id": "00000000-0000-4000-8000-000000000004", "e_invoice_format": "zugferd", "gross_cents": 17850, "has_pdf": true, "has_xml": false, "id": "00000000-0000-4000-8000-000000000001", "issue_date": "2026-10-19", "kind": "self_billing", "lines": [ { "amount_cents": 15000, "basis_cents": 100000, "contract_month": 2, "customer": "Neunte Schule", "entry_id": "00000000-0000-4000-8000-000000000003", "paid_at": "2026-02-10", "percent": 15, "service_period_start": "2026-02-01" } ], "net_cents": 15000, "number": "GS-2026-0001", "objected_at": null, "paid_at": null, "partner_id": "00000000-0000-4000-8000-000000000002", "partner_name": "lern.link GmbH", "period_end": "2026-03-01", "sent_at": null, "sent_to": null, "status": "issued", "tax_note": "regular", "vat_cents": 2850, "vat_rate": 19}