AlphaCount Developers
API referenceRevenue share

Retrieve a statement

GET
/commission-statements/{statement_id}

One issued statement with its lines. 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/json
  1. response
cancelled_by_id*string|null
cancels_statement_id*string|null
document_id*string|null
e_invoice_format*string|null
gross_cents*Gross Cents
has_pdf*Has Pdf
has_xml*Has Xml
id*Id
issue_date*|null
kind*Kind

self_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 Cents
number*string|null
objected_at*|null
paid_at*|null
partner_id*Partner Id
partner_name*string|null
period_end*Period End
Formatdate
sent_at*|null
sent_to*string|null
status*Status
Value in"draft""issued""sent""cancelled""objected"
tax_note*Tax Note
Value in"regular""small_business""reverse_charge""private_person"
vat_cents*Vat Cents
vat_rate*Vat Rate
Example Request
curl -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}