Usage-Based Metered Billing
Metering, rating and tiered/overage invoicing engine for consumption-based subscriptions (API calls, seats, GB).
Usage-Based Metered Billing A true consumption-billing engine for businesses that charge by usage: API calls, seats, gigabytes, transactions, minutes. Odoo subscriptions stop at a fixed recurring price; this app adds the metering and rating layer that turns raw usage events into rated invoice lines.
Key Features
Billing Run
Billing Run. Tracks Reference, Subscription, Period Start, Period End, Rated Lines. One-click rate, post, cancel, view usage.
Subscription Credit
Subscription Credit. Tracks Reference, Subscription, Granted Amount, Remaining Balance, Consumed. One-click expire, topup.
Metered Feature
Metered Feature. Tracks Feature Name, Technical Code, Unit, Color Index, Used In Plan Lines.
Usage Rate Plan
Usage Rate Plan. Tracks Currency, Recurring Platform Fee, Prorate Recurring Fee, Rated Features.
Metered Subscription
Metered Subscription. Tracks Reference, Customer, Rate Plan, Start Date, End Date. One-click activate, suspend, cancel, set reset to draft, generate billing run.
Usage Record
Usage Record. Tracks Subscription, Feature, Quantity, Event Time, Idempotency Key. One-click void.
Use Cases
Screenshots
Credits
Metered Features
Rate Plans
Usage Records
Billing Runs
Subscriptions
Why Choose This Module
Highlights Usage ingestion with idempotency keys so retried event pushes never double-count. A single ``ingest_usage`` API dedupes and buffers events. Metered features with per-feature units and aggregation windows (sum, max, last-value, unique-count) over the billing period. A real rating engine: flat per-unit, graduated tiered, volume, package/block and stair-step pricing, each with included allowances so only the overage is charged. Prepaid credits and minimum-spend commitments with automatic true-up. Mid-cycle proration of recurring platform fees by active days. Rated-usage to billing-line generation: one billing run per period aggregates usage, rates every feature, applies commitments and credits, and produces an auditable rated document.
Specifications
- Compatible: Odoo 18.0 / 19.0
- License: OPL-1
- Languages: 35+
- Author: Pokutsoft
- Dependencies: base, mail
- Support: support@pokutsoft.com
- Update date: 2026-07-18