Skip to content
AISpendbook

Revenue

Billing systems & CRM

Metronome, Orb, Chargebee, Lago, Paddle, Maxio and Stripe Revenue Recognition revenue, NetSuite, Salesforce and HubSpot revenue, Salesforce and HubSpot accounts, and opt-in write-back.

Revenue sets AI cost against what each customer pays. Every connector below writes revenue only, never cost, and each is its own connection. Connect one billing system per customer: two revenue sources that bill the same customer write the same revenue record. Stripe has its own page: Stripe revenue.

ConnectorHow data arrivesWhat it does
MetronomeDirect read with an API keyFinalized invoices as monthly revenue per customer, and contracts that fill customer contracts and allowance tracking.
OrbDirect read with an API keyIssued and paid invoices as monthly revenue, and subscriptions that fill customer contracts and allowance tracking.
ChargebeeDirect read with an API keyIssued and paid invoices as monthly revenue, with the item price ids billed.
LagoDirect read with an API keyFinalized invoices as monthly revenue, with the plan codes billed.
PaddleDirect read with an API keyBilled and completed transactions as monthly revenue, with the price ids billed.
Maxio Advanced BillingDirect read with an API keyOpen and paid invoices as monthly revenue, with product and price point ids.
Stripe Revenue RecognitionDirect read with a restricted keyRecognised revenue per customer and accounting month, kept apart from billed revenue.
NetSuite (revenue)Direct read with your NetSuite connectionCustomer invoices as monthly revenue per customer, excluding tax.
Salesforce (revenue)Direct read with your Salesforce connectionClosed-won opportunities, or rows of a revenue object you name, as monthly revenue per customer.
HubSpot (revenue)Direct read with your HubSpot connectionClosed-won deals, or open and paid invoices, as monthly revenue per customer.
Salesforce (accounts)Direct read with OAuthAccounts with owner, segment, ARR and renewal date, shown on the customer page. Optional write-back.
HubSpot (companies)Direct read with a private app tokenCompanies with owner, segment, ARR and renewal date, shown on the customer page. Optional write-back.

Revenue from NetSuite, Salesforce and HubSpot

  • Each is its own connection that signs in with your existing NetSuite, Salesforce or HubSpot connection, so no new credential is stored. Connect the base system first, add the (revenue) connection, and optionally name the field that holds your customer ID. Otherwise accounts and companies map through customer mappings.
  • Non-USD amounts are converted at the dated rate (your FX table, then ECB). Amounts with no rate are kept out and flagged, never counted as USD.
  • A closed-won deal counts in the month it closes: a booking, not an invoice. NetSuite credit memos are not read. The HubSpot invoice amount property defaults to hs_subtotal and can be changed in the connection settings.
  • If Stripe and a CRM both cover the same customer and month, the last sync replaces the other; a revenue CSV upload wins over both.

How revenue is placed

  • Billing systems write the invoice total excluding tax in the invoice month. Revenue is not spread over the service period.
  • When an invoice names exactly one plan, its amount is kept under that plan for margin by plan or SKU.
  • Credit notes and refunds are not read by these connectors (Stripe still reads them).
  • Revenue in another currency is converted invoice by invoice at the rate on the invoice date (the workspace FX rate table, then the ECB rate). A connection's own fx_rates is used only when neither has one. An invoice with no rate stays in its currency and the month shows as incomplete in margin.
  • Metronome contracts and Orb subscriptions in term fill a customer's contract (plan, term, renewal, allowance, unit, overage rate) when none is saved in the app.
  • The CRM card on a customer page shows owner, segment, ARR (the CRM's figure, not revenue) and renewal date for each CRM separately. With no account owner saved in the app, the CRM owner gets that customer's alerts.
  • Chargebee, Paddle, Orb and Lago files can still be uploaded as a revenue import.

Write-back to a CRM

Salesforce and HubSpot (accounts and companies) can receive each customer's monthly AI cost and margin %. It is off until you turn it on and name the fields, and then runs in two steps: a preview for a month, then apply with confirmation. A preview is sent at most once and expires.

Each connector was built from the vendor's public API documentation and tested with recorded responses in the documented shape. None has been run against a live account yet. Check the first sync against the vendor's own console.