To recompute Monthly Recurring Revenue (MRR) accurately from Stripe, calculate the normalized monthly recurring value of active subscription line items net of discounts and exclusive of tax, rather than summing paid invoices. Dashboards disagree on the exact same Stripe account because Stripe documents API fields without imposing one universal policy for past_due dunning windows, mid-cycle prorations, tax-inclusive pricing, multi-currency exchange rates, and expiring coupons.

Almost every technical founder discovers this mismatch the week they prepare an investor update or connect Stripe to a spreadsheet. Stripe Billing Analytics gives one figure, a third-party SaaS analytics tool gives a second figure, and a quick script summing invoices gives a third. None of the tools are broken; they are implementing different accounting decisions silently.

Stripe stores two distinct concepts that naive scripts accidentally blend together: subscription contract state (what a customer has agreed to pay on a repeating cadence) and cash invoice events (what Stripe tried to charge today, including one-time setup fees, partial-month prorations, and taxes).

When a customer upgrades mid-month from a $49 plan to a $99 plan, Stripe may generate an invoice line item for $25 of prorated difference. An invoice-based script sees $49 + $25 = $74 that month, or $99 + $25 = $124 if it sums both. Committed MRR changed from $49 to $99 cleanly on the upgrade timestamp.

Seven specific edge cases account for nearly every reconciliation gap:

  1. Proration lines. Prorations settle partial periods and credits for unused time. They belong in cash collected and GAAP recognized revenue, not in run-rate MRR.
  2. Failed invoices and dunning (past_due). When a renewal charge fails, Stripe transitions the subscription from active to past_due while Smart Retries run for up to several weeks. Counting past_due subscriptions as healthy MRR hides real churn until the subscription finally cancels.
  3. Annual and multi-month normalization. A $1,200 annual invoice is $1,200 in cash flow today and $100 in MRR every month for twelve months.
  4. Coupons and recurring vs. duration discounts. A 50% coupon valid for once (first invoice only) should not permanently cut committed MRR in half after month one, whereas a forever or 12-month coupon reduces actual MRR while active.
  5. Tax-inclusive pricing. If you sell in the EU or UK with tax_behavior: "inclusive", a €99 price includes VAT (for example 20% or 23%). VAT belongs to the tax authority, not your MRR.
  6. Multi-currency FX. A €100 plan settled into a USD Stripe balance fluctuates daily in USD terms unless you separate constant-currency product growth from FX movement.
  7. Trialing and incomplete subscriptions. A subscription created with a 14-day trial has status: "trialing" and $0 current recurring obligation until conversion.
The seven policy choices that cause Stripe Billing, analytics tools, and custom SQL scripts to report different MRR numbers on the exact same account.
CriterionEdge caseWhere drift startsCommon dashboard choiceWhy it variesRecommended founder ruleConsistent MRR
Proration line itemsSometimes counted inside invoice-based MRR spikes.Exclude one-off proration lines; recompute from post-change recurring items.
Failed invoices (past_due)Kept in MRR through full 2-4 week dunning window.Exclude or bucket separately once past_due > 7 days; report at-risk MRR.
Annual & quarterly plansCash tools spike on invoice month; billing tools divide by 12.Divide recurring annual item net amount by 12 (quarterly by 3).
Coupons & discountsGross list price used by naive scripts; net used by others.Apply active percent/amount discounts; exclude expired 1-month promos next cycle.
Tax-inclusive pricingVAT/GST accidentally included in MRR when reading raw unit_amount.Subtract inclusive tax using invoice tax rates before normalizing MRR.
Multi-currency FXConverted at current spot rate vs. invoice settlement rate.Pin to settlement rate or monthly closing FX table; log FX delta separately.
Trials & incompleteTrialing subscriptions occasionally included if filtering only != canceled.Strict filter: status === 'active' with unit_amount > 0; exclude trialing.

Before writing a single SQL query or TypeScript reducer, write down these seven rules in your repository so every weekly review uses identical definitions.

1. Filter subscription statuses explicitly

Never write status !== 'canceled'. That accidentally includes incomplete, incomplete_expired, paused, and trialing.

  • Include status === 'active' in committed MRR.
  • Track status === 'past_due' in a separate At-Risk MRR bucket. Once an invoice remains unpaid beyond your grace threshold (commonly 7 or 14 days, or when Stripe moves the subscription to unpaid/canceled), mark it churned as of the failed period boundary rather than waiting for the final webhook.

2. Read subscription.items.data, ignoring one-off invoice items

Iterate over each active subscription's recurring items.data. For each item, read price.unit_amount (in minor currency units, such as cents), quantity, and price.recurring (interval and interval_count).

Normalize to monthly minor units:

  • month: amount / interval_count
  • year: amount / (12 * interval_count)
  • week: (amount * 52) / (12 * interval_count)
  • day: (amount * 365) / (12 * interval_count)

If you support metered usage billing (usage_type: "metered"), keep metered overages in Variable Usage Revenue instead of committed base MRR unless your customers commit to minimum monthly floors.

3. Strip tax-inclusive VAT/GST

If a price uses tax_behavior === "inclusive", divide out the effective tax rate applied on the customer's latest finalized invoice (or use invoice.total_excluding_tax / invoice.total as the net ratio for that subscription). Never include sales tax or VAT in MRR, ARR, or unit economics; doing so inflates ARPA and distorts CAC payback.

4. Apply discounts accurately

Inspect the subscription's discounts array (and item-level discounts if applicable).

  • Subtract amount_off (normalized to the billing interval) or apply percent_off.
  • Check coupon.duration: apply forever discounts permanently, apply repeating discounts while current_period_start < discount.end, and ignore once setup/first-month promo codes when computing ongoing steady-state MRR after month one (or report Net Cash MRR alongside List MRR if first-month promos are common).

5. Pin multi-currency conversion

If you bill in EUR, GBP, and USD, convert non-home currencies using either the settled balance_transaction.exchange_rate from the latest paid invoice or a fixed month-end FX table. Never silently revalue historical months with today's exchange rate, or last quarter's MRR will change every morning when EUR/USD moves.

6. Classify movements into a five-bucket MRR waterfall

Compare each customer's end-of-day (or end-of-month) MRR snapshot M(t) against M(t-1):

  • New MRR: M(t-1) === 0 and M(t) > 0 with no prior paid history.
  • Expansion MRR: M(t-1) > 0 and M(t) > M(t-1).
  • Contraction MRR: M(t-1) > M(t) > 0.
  • Churned MRR: M(t-1) > 0 and M(t) === 0.
  • Reactivation MRR: M(t-1) === 0 and M(t) > 0 for a customer who previously churned.

Notice how clean this state-diff model is: you never double-count upgrades, prorations, or mid-month plan swaps because only the resulting recurring commitment delta enters the waterfall.

7. Separate gross MRR from Stripe processing fees

Do not subtract Stripe's 2.9% + $0.30 (or European card / SEPA) fees from MRR. MRR is top-line recurring revenue. Stripe fees belong in Cost of Goods Sold (COGS) when computing gross margin for unit economics, which you can model cleanly in the Founder2 Billing Fees calculator and Unit Economics calculator.

To see how quickly small rules diverge, look at a hypothetical worked example of a SaaS account where a naive script sums recent invoice revenue and active items to $14,820, while the clean committed MRR calculation yields $12,680. The $2,140 difference comes entirely from five policy choices, not missing webhooks.

In this hypothetical example, every line item is traceable to a Stripe object ID. Once a founder writes this reconciliation test once, weekly revenue reviews stop turning into debugging sessions.

Hypothetical worked example: reconciling a naive invoice query ($14,820) against clean committed MRR ($12,680).
CriterionReconciliation stepHypothetical ledgerAdjustmentImpactRunning MRRUSD
Naive sum of paid invoices & active itemsStarting raw figure$14,820
Remove 20% inclusive EU VAT on 14 accounts-$680$14,140
Strip one-off mid-month upgrade proration credits/charges-$310$13,830
Subtract 3 past_due subscriptions past 14 days of dunning-$450$13,380
Deduct active 25% annual founder discounts-$520$12,860
Revalue EUR/GBP subscriptions to closing FX rate-$180$12,680

You do not need a heavy data warehouse to keep MRR reproducible. Store immutable snapshots of four Stripe webhook families in Postgres:

  • customer.subscription.created, customer.subscription.updated, customer.subscription.deleted
  • invoice.paid and invoice.payment_failed
  • charge.refunded (for tracking net cash vs. MRR reversals)
  • balance_transaction exchange rates on cross-currency settlements

Pay close attention to API pagination and truncation. When backfilling historical subscriptions from Stripe's /v1/subscriptions endpoint, always paginate through has_more and verify the fetched count matches your expected active total; a snapshot that silently truncates at 100 objects looks identical to a real snapshot until you check the count.

You can download our reference SQL and TypeScript reconciliation checklist inside the Stripe MRR Reconciliation Pack, then plug your verified MRR, churn, and expansion numbers directly into the Founder2 NRR calculator.

  • 4 events

    Core webhook set

    subscription.created/updated/deleted + invoice.paid/payment_failed.

  • 0

    Guessed adjustments

    Every MRR movement maps to a Stripe object ID.

  • 100%

    Reproducible

    Re-running from event log yields identical month-end MRR.

  • 5 buckets

    MRR waterfall

    New, Expansion, Contraction, Churn, Reactivation.

Why does my Stripe MRR not match ChartMogul or Baremetrics?

Each analytics platform uses slightly different defaults for past_due grace windows, once vs. repeating coupons, inclusive taxes, and historical FX revaluation. Neither is necessarily buggy; check their documentation for how they treat failed invoices and prorations, then lock your own canonical policy in code.

Should failed renewals in past_due count toward MRR?

Keep past_due subscriptions in a separate At-Risk MRR figure rather than mixing them into healthy MRR after a short grace window (often 7 days). Counting a failing card as active MRR throughout a 3-to-4-week Stripe Smart Retry cycle delays churn visibility by almost a full month.

How should I normalize annual plans into MRR?

Divide the annual recurring line-item amount (net of recurring discounts and exclusive of VAT or sales tax) by 12. Do not count the full 12-month cash invoice inside a single month's MRR, because that turns MRR into a cash-collection metric and makes subsequent months look like false contraction.

Do Stripe processing fees reduce MRR?

No. MRR measures top-line committed recurring revenue before payment processing fees. Subtract Stripe card, currency conversion, and billing fees inside Cost of Goods Sold (COGS) when calculating gross margin, LTV, and CAC payback.

What happens if a customer upgrades mid-month with proration?

Ignore the one-time proration line item when calculating run-rate MRR. Update the customer's committed MRR to the full new monthly equivalent on the upgrade date so Expansion MRR reflects the true recurring step-up without a temporary spike the following month.

Sources

Checked 22 November 2026.