Revenue
Stripe revenue
Read invoices with a restricted key to see AI cost as a share of revenue.
Create a restricted key with read access to the resources the connector lists. Don't paste a full secret key. Revenue is matched to usage through customer_id, so use the same customer identifiers in both places or import a mapping.
- Paid invoices are read, at the total excluding tax. Credit notes and refunds reduce revenue in the month they were created.
- An invoice line with a service period is spread over the calendar months it covers.
- Each invoice line's amount is kept under its product ID (the price ID when the line has no product), for margin by plan or SKU. Product names are not fetched, so plans show as IDs. Credit notes, refunds and invoices without lines name no plan.
- An amount in a currency other than US dollars is counted only when you enter a rate for that currency on the connection. Without a rate it is left out of revenue and reported.
Write-back (optional)
Off by default, and the key needs write access for it. It runs in two steps: open the connection, choose Write back a month, preview, then confirm.
- Meter-event mode sends overage units: each customer's use of its contract's main allowance unit beyond the included allowance for the month, in whole units. The preview shows unit, used, included, overage, already sent and to send. Confirming the same month again sends only units added since, and nothing if there are none.
- Only the main allowance is sent, not further allowances. Stripe accepts events up to 35 days old, so an older month's units are stamped with today's date and land in the current billing period.
- Invoice-item mode adds each customer's AI cost plus an optional markup as a rebill invoice item.
Recognised revenue
Stripe Revenue Recognition is a separate connection that reads recognised revenue per customer and accounting month. It is stored apart from billed revenue and never added to it. Other billing systems (Metronome, Orb, Chargebee, Lago, Paddle, Maxio) and CRMs are on Billing systems and CRM.
The Stripe connector has not been run against a live account. It was written from Stripe's public documentation and tested against mocked responses.