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
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1552 |
| Technical Name |
usage_based_metered_billing |
| License | OPL-1 |
| Website | https://pokutsoft.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module