Developers
Guides

Stripe and Stripe Connect

Connect a company's Stripe account; AlphaCount books invoices, charges, payouts, fees, refunds, disputes and — for a platform — partners' money and platform fees.

Each company connects its own Stripe account in the app (Integrations → Stripe). From then on AlphaCount reads what Stripe knows — by webhook as it happens, and every hour as a safety net — and books it. Nothing is written to Stripe.

What is booked

  • Invoices and charges become revenue documents with customer, product revenue account, tax case and PDF. Stripe Tax results are taken over as Stripe computed them (automatic_tax, taxability_reason); hand-kept rates too.
  • Payouts, also monthly payouts over many invoices, are split into what they hold and matched to the bank line once — a payout can be claimed by one bank line only.
  • Stripe fees are the company's expense; refunds, credit notes and chargebacks are booked as corrections of the invoice they reduce, in the period they happen, with its tax case and OSS country. A dispute won is taken back.
  • Stripe balance is a money account of its own (Verrechnungskonto). The monthly review compares its balance with Stripe's at month end; a difference is a finding.

Several companies

A Stripe account belongs to exactly one company; each company connects its own. Events without an account are not guessed into a company.

For a platform (Stripe Connect)

A company that is itself a Connect platform tells AlphaCount who sells what passes through its balance (Company → Settings, stripe_platform): the platform itself (default) or the connected account.

Charge typeHow it is booked
Direct chargeThe sale is the partner's; the platform sees only its application_fee — booked as its revenue.
Destination chargeThe partner's share is Fremdgeld until it is transferred; the application_fee_amount is the platform's revenue.
Separate charges and transfersLike a destination charge; the fee is the charge's metadata.ac_platform_fee (cents).
  • A charge's metadata.ac_seller (partner or platform) wins over the setting.
  • The platform's fee carries 19 % German VAT when the partner sits in Germany — booked with the payout, no review. With stripe_platform.fee_statements on, a fee of a partner abroad waits without VAT for its monthly statement, which takes the tax from the partner: reverse charge to an EU business with its VAT id (EC sales list), not taxable for one outside the EU. With it off, such a fee waits for a person.
  • Refunds of a partner's sale and transfers reversed take the money out of the Fremdgeld, not out of revenue. Stripe fees are the platform's.
  • Once a month POST /fee-statements issues the partner's invoice over the fees already kept — paid by retention, booked nothing twice (Marketplace).

Metadata for revenue shares

ac_partner and ac_attribution on a Stripe invoice or subscription attribute the customer to a partner (Revenue share).

Test mode

Production reads live Stripe data only, a test company the Stripe sandbox only; data of the other mode never reaches the books.

On this page