Phase 4 part 2: MRR, its movements, NRR and cohorts

Each customer's MRR at each month's end, from the recurring lines of paid
and open invoices: the amount after discounts over the billing interval,
prorations over their part-period. Moves are new, expansion, contraction,
churn and reactivation (sub-dollar noise ignored); NRR monthly and over
12 months; cohorts by first paid month. A start month, suggested when
most of the business appears at once (billing moved to Stripe), makes
those customers the base. Metrics page with a chart, the month table,
cohorts, and each month's customer moves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 12:17:53 -07:00
co-authored by Claude Opus 5.5
parent 2c242d8c94
commit 5e799c7541
11 changed files with 860 additions and 2 deletions
+14
View File
@@ -416,6 +416,20 @@ Throughout, also notice:
reports). Setting a margin and saving keeps it; an empty box shows
the default.
### MRR, movements and NRR
- [ ] Metrics shows MRR today, close to Stripe's own MRR figure (Billing →
Overview). Small differences come from how each counts prorations and
open invoices.
- [ ] The month-by-month table's net change adds up: new + expansion +
reactivation − contraction − churn.
- [ ] Open a month: each customer's move is listed with the MRR before
and after; check two of them against the customer in Stripe.
- [ ] If billing moved to Stripe partway through, the suggestion to count
from that month appears; *Count from …* makes those customers the
starting base, and the suggestion goes away.
- [ ] Cohorts start at 100% in their first month.
## 9. Search
- [ ] Searching for an inventory entry, a fetched item, a post, a prospect