Billing Intelligence

Rating Engine

The computational core of every billing system. Determining exactly what your customers owe, based on what they actually used.

Talk to an Expert Explore OCS Features

What Is a Rating Engine?

The billing industry relies heavily on the rating engine for all billing computations. It acts as the central processing unit of the billing engine , the component that determines what a customer owes based on their actual service usage.

The job of a rating engine isn't basic arithmetic. It goes far beyond multiplying a price by a quantity. For example, a customer on a mobile plan is charged per-minute once the free calls for the first 500 minutes are used. The engine needs to know which tier applies, what discounts exist, what time of day it is, and more.

EarnBill's rating engine uses pricing models and usage-based charging to determine appropriate charges based on customer data (subscription plans), usage details (minutes talked, data consumed), time-based rates (peak and off-peak hours), and route-based rates (rate cards). It also applies applicable discounts, taxes, late fees, penalties, and prior credits. So the final invoice is accurate and reflects every detail of that customer's service usage.

EarnBill's plugin-based rating engine is powerful yet flexible enough to serve diverse use cases across different business sectors. It helps businesses try different ratings through simple configuration changes for new ideas or approaches in billing computations and decide on the right strategy that keeps customers engaged in a competitive market.

EarnBill Rating Engine architecture diagram showing inputs including company rules, subscription data, customer info, mediation, routing rules, and rate cards flowing into the EarnBill Rating Engine, which connects to Pricing Strategies and Rating Configurations, then outputs to the Billing Engine
EarnBill Rating Engine, input sources, pricing strategies, and output to billing engine

Inside the EarnBill Rating Engine

The EarnBill rating engine performs complex logic on actual consumption (usage) data using algorithms. Pricing models, to arrive at charges. EarnBill's customizable framework supports its rating engine to serve the most complex billing use cases and scenarios for all sizes of businesses.

A good example is utility sector companies. Electricity and water providers, and how they handlerating and charging. They combine a basic fee (monthly subscription) with a tiered pricing strategy based on actual consumption. Smart meters with IoT-embedded devices are installed at the customer end to track usage and transmit data to a server for billing purposes.

Rating engine diagram for utilities. Smart meter sends usage data to the cloud, which flows into EarnBill's centralized UDR server, mediation layer, rating engine with plug-in pricing strategies, and outputs final charges
Utility billing with IoT smart meters, usage data flows through EarnBill's mediation and rating pipeline

For instance, a water utility company uses tiered pricing per usage per month for domestic consumers:

Tiered Rating Model 0–100 liters  = $0 (free)
100–130 liters = $0.25 per liter
131–200 liters = $0.50 per liter

For a customer consuming 180 liters of water in a billing cycle:

Usage Calculation, 180 liters Total Consumption = 180
1st tier is free  = 100 – 100 = 0 chargeable units
2nd tier charges  = 30 liters × $0.25 = $7.50
3rd tier charges  = 50 liters × $0.50 = $25.00
Total Charges = $32.50

The EarnBill system stores usage from day one. Even if the usage initially falls under the free tier. The IoT device keeps sending usage data, so the system knows when consumption reaches the free limit and enters the chargeable tier. The rating engine performs all computations on actual usage per the applicable tier using a defined pricing strategy.

Rating Engine Across Industries

Different industries have different billing complexity. The EarnBill rating engine is designed to adapt to all of them through its plugin-based architecture, without requiring changes to the core system.

SaaS rating engine diagram showing usage data, per-user data, and API calls flowing into EarnBill's centralized UDR, through mediation, into the rating engine with tiered pricing, per-user pricing, usage-based pricing, and more
SaaS billing, multiple data streams handled by plug-in pricing strategies in EarnBill's rating engine

SaaS companies use various rating models depending on their use cases and business objectives. The most preferred billing model is subscription-based, along with rating strategies like freemium, tiered, per-user, usage-based, and flat rate.

Flat-rate charging is simple, everyone pays the same price regardless of features and consumption. Per-user charging means the system charges a flat rate per user for accessing the software, which works well for team-based applications where the cost is driven by the number of users.

Furthermore, SaaS businesses are dealing with feature-packed higher plans and usage-based charging approaches, which require more complex calculations using a tiered pricing strategy. Consider a company offering various subscription plans based on features, coupled with storage space on the cloud. Charges are calculated based on the amount of storage space utilized. EarnBill's rating engine empowers companies to scale rating and charging capabilities for future requirements with its flexible, out-of-the-box features.

ISP burstable bandwidth billing diagram showing traffic load over time, burst size, bandwidth limit, and how the rating engine ignores peak bursts, feeding into EarnBill's centralized UDR, mediation, and rating engine with burstable pricing strategy
ISP burstable bandwidth billing, the rating engine ignores top 5% traffic peaks and bills on 95th percentile usage

Burstable bandwidth billing is a cost-effective way to support increased traffic load by scaling bandwidth automatically as needed. The rating engine uses a complex charging method to calculate charges based on 95% usage. A customer gets a short period of high bandwidth to support traffic load or fluctuations, provided the burst does not continue for a long duration (as per the allowed quota in hours for a given monthly billing cycle).

To charge burstable use cases, EarnBill keeps track of the bandwidth utilization and the burst period, then ignores the top 5% of utilization peaks (large bursts) and calculates charges based on 95% usage to bill the customer. The rating engine charges the entire usage if it crosses the permissible limit (above 5%). EarnBill enables businesses to implement complex use cases based on company rules using its plugin-based framework. Without affecting the system's operations.

Rating Models by Industry

📡

Telecom

Per-minute, per-SMS, data tiers, roaming rates, and time-of-day pricing, all within a single rating pipeline.

🌐

ISP / Network

Burstable bandwidth, 95th percentile billing, and flat-rate plans handled with configurable burst rules.

☁️

SaaS & Cloud

Tiered, per-seat, usage-based, and freemium models. Each configurable without touching core billing logic.

Utilities

Smart meter integration with tiered consumption pricing, peak/off-peak rates, and demand charges.

🔌

IoT

High-volume event streaming from IoT devices rated in real time with mediation-to-billing pipelines.

🏢

Enterprise

Multi-entity billing, complex discount stacking, and contract-based rate cards for large accounts.

Built for the Complexity You Actually Face

In today's environment of evolving technologies and intense competition, a billing system needs to be flexible enough to accommodate every business scenario. Knowing that usage patterns are dynamic and consumers are looking for cost-effective pricing.

To overcome these challenges and establish a future-proof charging system, EarnBill offers a highly flexible rating engine with numerous built-in pricing strategies, rating configurations, and customizable options to meet unique needs, so you stay on top of the competition.

Plugin-Based Architecture

No core changes needed

Try new pricing strategies through configuration. EarnBill's plugin-based framework lets you add, swap, or modify pricing logic without disrupting the rest of your billing operations.

Mediation-to-Billing Pipeline

100% data accuracy

Raw usage data records (UDRs) are extracted, normalized, and converted into unified billing entities before reaching the rating engine. Ensuring complete accuracy at every step.

Discounts, Taxes & Credits

Fully automated

The rating engine applies discounts, taxes, late fees, penalties, and prior credits automatically. So the final invoice reflects every detail of a customer's usage with full transparency.

Flexible Rate Cards

Route & volume based

Support for flat-rate, tiered, volume, per-unit, and route-based rate cards. Rate plans can vary by customer, product, geography, and time window, all managed in one place.

Need a Rating Engine That Handles Your Complexity?

Talk to our billing experts about your pricing models, industry requirements, and how EarnBill's rating engine can be configured to fit.

Get in Touch Explore Billing Features