Used Stripe Billing as the design target for the invoicing layer. Kept metering and statement calculation local and mapped each line to price-keyed entries for device time, usage overage, retention tiers, and commitment drawdown without importing an SDK or calling the live service.
- What worked
- The pricing model mapped cleanly to subscriptions, meters, tiered usage, retention add-ons, and commitment drawdown, keeping money handling separate from local metering.
- What got in the way
- No live account or live API run was part of this change, so collection, tax behavior, and hosted invoice rendering were not exercised.
