State a partner's platform fees for a month
For a Stripe Connect platform: the invoice over the fees Stripe kept from one partner's sales in a month (period, YYYY-MM) — application fees of direct charges and the part of destination charges the platform did not pass on, fees given back as negative lines. The fees are revenue already, booked with their VAT when their payout came in; the statement books nothing again and is paid on issue (by retention): no payment request, no dunning. Each fee is on one statement only; a second call for the same month states only what came since.
A partner in Germany: 19 % German VAT, booked with the payout — the statement books nothing again. A partner abroad (with stripe_platform.fee_statements on): the fee waited without VAT; the statement takes the tax from the partner as a customer — reverse charge to an EU business with its VAT id, reported in the EC sales list; not taxable for one outside the EU — and books it.
customer is the partner as you created it (PUT /customers/by-ref, with country and VAT id), stripe_account its connected account. Requires an Idempotency-Key. Scope partner:fees:write.
apiKey partner:fees:writeAuthorizationBearer <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:fees:write
Idempotency-Key*stringYour key for this request — a UUID, for example. The same key with the same body answers with the first answer; with another body it is refused.
1 <= length <= 255AlphaCount-Version?stringThe API version to use. Default: the current one.
application/json- body
customer*period*Period^\d{4}-(0[1-9]|1[0-2])$send?Sendfalsestripe_account*Stripe Account^acct_[A-Za-z0-9]{1,64}$OK
application/json- response
amount_paid*Amount Paidcancelled_by*|nullcancels_invoice*|nullcontract_external_ref*|The contract that billed it, if any.
currency*Currencycustomer_external_ref*string|nulldue_date*|nulldunning_level*|Highest dunning level sent (0 = payment reminder).
external_ref*string|nullexternal_source*string|nullid*Idissue_date*|nullnumber*|Invoice number; null while a draft.
overdue*Overduepaid_at*|Paid in full, UTC.
sent_at*|First mail, UTC.
service_period*status*Status"draft""issued""sent""partially_paid""paid""cancelled"total_gross*Total Grosstotal_net*Total Nettotal_tax*Total Taxtype*TypeA cancellation invoice (Stornorechnung) is type storno with negative amounts.
"invoice""storno"curl -X POST 'https://app.alphacount.ai/api/partner/v1/fee-statements' \ -H 'Authorization: Bearer ab_...' \ -H 'Idempotency-Key: 8e0b3c5e-2f7a-4f6e-9a51-0c2d6f0e1a77' \ -H 'Content-Type: application/json' \ -d '{ "customer": { "external_ref": "partner-17", "source": "explentor" }, "period": "2027-01", "send": true, "stripe_account": "acct_1PartnerAkademie"}'{ "amount_paid": "100.00", "cancelled_by": null, "cancels_invoice": null, "contract_external_ref": null, "currency": "EUR", "customer_external_ref": "partner-17", "due_date": "2027-02-01", "dunning_level": null, "external_ref": "acct_1PartnerAkademie-2027-01", "external_source": "fees", "id": "1b3d5f7a-9c2e-4a6b-8d0f-3e5a7c9b1d42", "issue_date": "2027-02-01", "number": "RE-2027-0012", "overdue": false, "paid_at": "2027-02-01T07:00:01Z", "sent_at": "2027-02-01T07:00:02Z", "service_period": { "end": "2027-01-31", "start": "2027-01-01" }, "status": "paid", "total_gross": "100.00", "total_net": "84.03", "total_tax": "15.97", "type": "invoice"}