Skip to main content
BSS/OSS Academy
💰
Section 6.4

Rating & Charging

Last updated 14 Oct 2026

01

At a glance

Rating works out what an event or a subscription period is worth. Charging applies that value: to a balance now (prepaid) or to the account for the next invoice (postpaid). The Online Charging System does both during the session and can refuse it. Rating executes catalog rules against Install Base context; it does not decide prices.

02

The picture

Rating determines the value; charging applies it. Online, the decision is made while the session waits.

1 · Request

Online

Credit-control request: 500 MB quota for a data session

Gy (4G) · Nchf (5G)

Offline

A prepared usage event from mediation, after the session

2 · Context

Subscriber
Account ACC-1001, home network
Product held
Mobile 10 GB plan (Install Base)
Tariff
Out-of-bundle rate per MB (catalog)
Balance
10 GB allowance, 9.5 GB left

3 · Decision

  • Consume from allowance
  • Charge out of bundle
  • Deny: credit exhausted

500 MB granted; 9.0 GB left once used

4 · Applied

Prepaid

Balance or allowance deducted now

Postpaid

Posted to the account for the next invoice

An online quota request (or an offline usage event) is rated against subscriber, product, tariff and balance; one outcome is taken and applied to a balance or to the account. Example plan and figures.
03

How it works

Three functions

FunctionWhat it doesOutput
MediationPrepares usage (6.3)A clean usage event with no price
RatingDetermines value from the product, tariff and discountsA rated event: a price, or an allowance consumption
Charging / OCSApplies the value; online, also controls the sessionA balance deduction, an invoice line, or a refusal

An event is rated once but may be charged in different ways depending on the billing model. In 3GPP mobile networks the network asks the OCS for quota over Diameter Gy (4G) or asks the CHarging Function (CHF), part of the converged charging system, over Nchf (5G). The OCS is required for prepaid and is also used for postpaid spend caps and fair-use control.

What a charging decision needs

1
Usage or session request
Mediation / network

Offline: a prepared usage event from mediation. Online: a credit-control request at session start and during it.

2
Subscriber
Subscriber / account data

Which account and subscription, and where (home or roaming).

3
Product
Product Inventory / Subscription Mgmt

Which product instances the customer holds: plan, add-ons, roaming pass. This is the Install Base view.

4
Tariff
Product Catalog

Rate per unit, time bands, destination zones and discounts for that product.

5
Balance / allowance
Balance management

What is left: a 10 GB allowance with 9.5 GB remaining, a €5 prepaid balance, a spend cap.

6
Decision
OCS / CHF

Grant quota and continue, consume from the allowance, charge out of bundle, or deny because credit is exhausted. Written to the balance and, for postpaid, to the account.

Charge types

Charge typeTriggerRating inputExample
RecurringBilling cycleSubscription from SLM, price from catalogMonthly plan fee
Usage-basedEach call, session or SMSUsage event from mediation, tariff from catalog12 min at €0.05/min = €0.60
One-timeActivation, installation or order eventOrder completion, fee from catalogSIM activation fee
Penalty / adjustmentContract breach, manual correctionContract terms, SLA breach dataEarly termination fee

Real time, near real time, batch

  • Batch: usage collected over the period and rated in bulk at bill run. Hours to days of latency, no in-session control; the customer sees charges only on the invoice.
  • Real time (OCS): each event rated and charged immediately. Balance checks, spending limits, quota management and in-session policy. Required for prepaid; increasingly used for postpaid spend visibility.
  • Near real time: rated within minutes, without in-session blocking. Used for postpaid spend alerts and threshold notifications.

Most operators run more than one of these, which is where integration complexity comes from.

Standards alignment
TMF654 (Prepay Balance Management) covers real-time balance operations and TMF678 (Customer Bill Management) bill-level operations. 3GPP TS 32.296 defines the OCS architecture used in mobile networks.
04

Who owns what

EntitySystem of RecordSystem of EngagementSystem of ReferenceNotes
Tariffs, discounts and charge typesProduct Catalog—Rating / OCSTMF620. Rating executes them; a local copy in the rating engine drifts.
Products held by the subscriberProduct Inventory / Subscription Management—Rating / OCSTMF637. Decides which tariff and allowance apply.
Balances, allowances and quota reservationsBalance management (OCS / CHF)Self-care app, top-up channels—TMF654 for prepay balances. Updated during the session.
Rated eventsRating—Billing, Revenue AssurancePostpaid rated events become invoice lines at bill run.
05

In practice

Rating, charging and the OCS need not be separate products. A convergent charging platform may do all three. A legacy estate may run a prepaid IN platform, a separate postpaid rating engine and a billing system that rates recurring charges itself.

Map functions before products
When comparing vendors or designing a target state, map the functions first and the products second. "We have an OCS" can hide the question of who rates postpaid usage.
Legacy reality
Most billing disputes trace back to catalog or SLM data, not to rating engine bugs. If the catalog has the wrong price, or SLM shows the wrong plan, rating produces the wrong charge for every customer on it. In older estates tariffs are often configured directly in the rating engine, so the catalog and the rating engine each hold a version of the price.
06

The trade-off

What it solves

Separating value calculation from its application lets one tariff serve prepaid and postpaid, and lets the OCS control spending while the session runs.

What it does not solve

  • Wrong prices or wrong holdings upstream, which rating applies faithfully at scale.
  • Usage that mediation lost or delayed before rating saw it.
  • Disagreement between the price a customer was quoted and the tariff rating applies.

What it adds

  • Real-time charging is in the call path: its latency and availability affect service, not just revenue.
  • Running batch and real-time rating side by side means two configurations of the same tariff unless they share one engine.
  • Allowances, shared pools and spend caps need balance state that every rating path reads consistently.

Architecture decision

Should postpaid usage be rated in real time?

  • Batch at bill run

    Choose when there are no spend caps, no shared allowances and no customer need to see usage before the invoice.

  • Near real time

    Choose when customers or regulation require spend alerts or usage visibility, but the service is never stopped mid-session.

  • Online through the OCS

    Choose when postpaid plans have hard caps, fair-use control or allowances shared with prepaid, so the session must be controlled as it runs.

Breaks if the same tariff is configured separately in a batch engine and an OCS. The two drift, and the customer sees one figure in the app and another on the invoice.

07

Takeaways

Key Takeaways

  • Rating determines value; charging applies it to a balance or an account; the OCS does both during the session
  • A charging decision needs the usage or request, the subscriber, the product held, the tariff and the balance
  • Four charge types: recurring, usage-based, one-time and penalty or adjustment
  • Batch, near-real-time and real-time rating suit different needs, and most operators run more than one
  • Rating executes catalog and SLM data: most billing disputes start there, not in the rating engine

Check yourself

  • A prepaid customer's data session stops mid-stream although they topped up an hour ago. Which component made that decision, and which record would you check?Show answer

    The OCS (or CHF in 5G) denied quota. Check the balance in balance management: whether the top-up was applied to the right balance, and whether the product held gives access to it.

  • A whole tariff plan is overcharged by the same amount. Is the rating engine broken?Show answer

    Probably not. Rating applies the price it is given; a consistent error across a plan points to the catalog price or the plan recorded in SLM.