---
name: stripe-mrr-audit
description: Audit a SaaS billing codebase or Stripe export for MRR calculation bugs: proration inflation, annual normalization, VAT inclusion, past_due dunning masks, coupon discounts, and NRR/GRR cohort math.
---

# Stripe MRR & Churn Audit Skill

Use this skill when inspecting billing sync code, MRR dashboards, or subscription analytics queries against Stripe data.

## Audit Checklist
1. Verify annual and weekly intervals divide into monthly equivalents cleanly (never count upfront annual invoice cash as Month 1 MRR).
2. Confirm proration invoice items (`proration === true`) and one-off setup charges are excluded from recurring MRR.
3. Confirm tax-inclusive prices strip VAT/GST before computing MRR, gross profit, and LTV.
4. Check `past_due` handling: cap inclusion at a strict grace window (7–14 days) and separate involuntary card-failure churn from voluntary cancellations.
5. Verify NRR excludes New Logo MRR (`(start + expansion - contraction - churn) / start`) and GRR excludes both New and Expansion MRR.
6. Flag any discrepancy against the Stripe Billing dashboard with the exact subscription IDs responsible.
