Skip to content
All posts
Blog

Billing Mediation Explained: How Usage Records Become Bills

Alexander Donskoy, Sales Director, Avante10 min readBSS, Telecom, MVNO

Billing mediation is the step between the network and the billing system. It collects the usage records that network equipment produces, converts them to one format, removes errors and duplicates, adds the data that pricing needs, and delivers the result to rating, billing and settlement. In an operator’s stack it runs before any price is applied. If a call or a data session never reaches mediation in usable form, nobody is charged for it.

That makes mediation a revenue question. Most people still treat it as plumbing. This article explains what a mediation system does at each stage, how it differs from rating and charging, why real-time charging has not replaced it, and what a mobile virtual network operator (MVNO) needs from it.

What is billing mediation in telecom?

Billing mediation is the collection and preparation of usage data so that downstream systems can price it. The raw material is the call detail record, or CDR: a record a network element writes when a subscriber makes a call, sends a message or uses data. The term charging data record is used for the same thing in current standards.

The difficulty is variety. A switch, a packet gateway, an SMS centre and a voice-over-LTE platform each write records in their own layout, and equipment from different manufacturers differs again. One voice call can leave partial records on several elements. A long data session is cut into many records. A billing system built to price usage should not also have to understand every dialect the network speaks. Mediation takes on that job and gives billing one clean stream.

The standards body 3GPP describes the surrounding architecture in TS 32.240, which defines how network functions generate charging events and how records travel to the billing domain. TS 32.297 specifies the CDR file format and transfer, and TS 32.298 the fields inside each record. A mediation system is the software that sits at the receiving end of those files and streams.

How a billing mediation system works

A mediation system processes records in seven stages. Vendors name them differently, and some merge two into one, but the work is the same.

Stage What happens What goes wrong without it
Collection Records are pulled or received from each network element, as files or as a stream Usage on one element is never billed
Decoding and normalisation Each vendor format is parsed and mapped to one internal layout Billing needs a custom parser per element
Validation and filtering Malformed, test and non-billable records are removed or parked for correction Bad records reach invoices or are silently dropped
Duplicate control A record received twice is detected and discarded Subscribers are charged twice
Correlation Partial records for one call or session are joined into one chargeable event One call is billed as several, or not at all
Enrichment and aggregation Fields such as billing zone, tariff group or partner are added; fine-grained records are summed to the level billing needs Rating cannot find a price for the record
Distribution Each consumer gets the records it needs in its own format Retail billing, interconnect and revenue assurance work from different numbers

The stages follow common practice built on the 3GPP charging architecture in TS 32.240.

Two properties matter more than the list itself. The first is that nothing is thrown away without trace. Records that fail validation go to an error store, where they can be corrected and reprocessed. The second is an audit trail from every delivered record back to the file it arrived in. When a subscriber or a partner disputes a charge, that trail is the evidence.

Distribution is wider than billing. The same mediated records feed interconnect settlement between operators, roaming clearing, fraud management, revenue assurance and regulatory reporting. Our article on interconnect billing covers the settlement side.

Mediation, rating, charging and billing compared

The four terms are often used as one. They are separate functions, usually in separate systems.

Function Question it answers Works on Typical timing
Mediation What happened on the network, in one clean format? Raw usage records Minutes to hours after the event, or streamed
Rating What does this event cost under this tariff? Mediated records After mediation
Online charging May this session continue, and how much balance does it consume? Live session requests During the event
Billing What does the customer owe for the period? Rated events, fees, discounts, taxes Per bill cycle

Mediation prepares data and does not price it. Rating prices it. Online charging, run by an online charging system (OCS), prices and authorises a session while it is still in progress, which is how prepaid balances work. Billing assembles everything into an invoice.

Why real-time charging has not replaced mediation

An OCS authorises and charges sessions as they happen, so it is reasonable to ask whether a prepaid operator needs mediation at all. It does, for four reasons.

Postpaid and hybrid plans are one. Usage that is billed after the fact is still rated from records.

Wholesale is another. An operator pays its host network, its interconnect partners and its roaming partners on the basis of traffic records, and those partners send their own figures. Roaming usage arrives in the GSMA’s Transferred Account Procedure (TAP) files or through its newer Billing and Charging Evolution process. Someone has to turn those into the same shape as the operator’s own records before the two can be compared.

Reconciliation is the third. The OCS says what it charged. The network’s records say what was carried. Comparing the two is how an operator finds sessions that were delivered and never charged.

Retention is the fourth. Regulators decide how long billing and usage records must be kept, and a dispute raised months later is settled from those records, not from a balance log.

The 5G core changes the transport and keeps the need. In 5G, a Charging Function (CHF) handles online and offline charging through one service-based interface, specified in 3GPP TS 32.290, and it still writes CDRs. Mediation collects them, alongside the files from the 4G, 3G and fixed elements that most operators will run for years.

Telecom mediation architecture

A mediation system has three layers and a control plane.

Collectors sit closest to the network. Each one knows a transport, such as file transfer or a streaming interface, and a record format. Adding a network element should mean configuring a collector, not rebuilding the system.

The processing layer applies rules in order: decode, validate, deduplicate, correlate, enrich, aggregate. Rules are configuration, held outside the code, because tariffs, zones and partner lists change more often than software releases. This layer needs to scale horizontally, since record volume grows with data traffic and not with subscriber count.

Distributors format and deliver output per consumer, with a guarantee that each record is delivered once.

The control plane shows the state of every collection and processing job, raises alarms when a source goes quiet, and holds the error store and the audit trail. A silent source is the failure that costs most, because nothing looks broken until the bill run comes up short.

Billing mediation for MVNOs and MVNEs

How much mediation an MVNO runs depends on its operating model.

A reseller or light MVNO owns no charging or billing. The host or a mobile virtual network enabler (MVNE) mediates and rates on its behalf, and the MVNO receives reports. An MVNO that runs its own BSS takes usage record feeds from the host and mediates them itself. A full MVNO with its own core elements also collects from its own equipment. Our operating-models page sets out the three.

For any MVNO with its own BSS, the practical payoff of mediation is the wholesale invoice. The host bills for the traffic it carried. An MVNO with its own mediated records can check that invoice line by line. One without them pays what it is told.

Regulators are starting to write this down. The Nigerian Communications Commission’s draft MVNO Business Rules of 2026, not yet in force, would require billing records, CDRs, traffic summaries, bundle usage and settlement reports to be kept in a form that supports reconciliation and independent verification by the Commission. We cover the draft in a separate article.

The number of streams grows with the proposition. VENTAmobile, the Latvian MVNO that runs on Avante’s platform, sells sponsored roaming, machine-to-machine connectivity and wholesale voice and SMS transit next to retail service. Each of those is a separate usage stream with its own counterparty.

An MVNE has the same problem multiplied. It mediates for many brands on one platform and has to keep each brand’s records, rules and outputs apart.

How to choose a billing mediation system

Mediation is sold two ways. Specialists and large suite vendors, among them DigitalRoute, Nokia and CSG, offer it as a product in its own right. BSS vendors, Avante included, ship it as a module of the billing stack. A standalone product suits an operator with several billing systems to feed. A module suits an operator that wants one supplier accountable for the path from network record to invoice.

Six questions separate the options in either case.

  • Which network elements and record formats are supported today, and how long does a new one take to add?
  • Can your own staff change filtering and enrichment rules, or does each change need the vendor?
  • What happens to a rejected record, and can it be corrected and reprocessed?
  • Can a new element be tested against live data before its records reach billing?
  • Does the system alert when a source stops sending?
  • Can every output record be traced back to its input file?

For a wider view of the stack, see our guide on how to choose telecom billing software.

Where Avante fits

Avante Mediation is the prebilling layer of the Avante BSS. It collects usage statistics from distributed devices of different manufacturers, then filters, unifies and enriches the records under configurable rules, with error and duplicate control and aggregation to the level billing requires. Rules and collection sets are configured through an interface on the central unit, which also shows their status. New network elements can be tested before they go live, and the main components are health-monitored with alerts to administrators. Processing is multi-threaded for large volumes.

Its output feeds Avante Billing, Avante IBS for interconnect settlement, and the rest of Avante MVNx Suite for MVNO, MVNE and MVNA deployments. The same module is used outside telecom, for bank transactions and utility meter data.

To see how your network elements would map to it, contact our team.

Frequently asked questions

What is mediation in telecom billing?

Mediation is the step that collects usage records from network equipment and prepares them for pricing. It converts each vendor’s format to one layout, removes invalid and duplicate records, joins partial records into single events, adds fields such as billing zone, and delivers the result to rating, billing and settlement systems.

What is the difference between mediation and rating?

Mediation prepares usage data and rating prices it. A mediation system answers what happened on the network and outputs clean, complete records. A rating engine takes those records and applies the tariff to work out what each event costs. Billing then combines rated events with fees, discounts and taxes into an invoice.

What is a CDR in billing mediation?

A CDR, short for call detail record or charging data record, is the record a network element writes when a subscriber uses a service. It holds who used what, when, for how long or how much. 3GPP TS 32.298 defines the fields. CDRs are the input a mediation system collects and converts.

Is mediation still needed with an online charging system?

Yes. An online charging system authorises and charges sessions in real time, which covers prepaid balances. Mediation still handles postpaid usage, wholesale and roaming records from partners, reconciliation between what the network carried and what was charged, and record retention for regulators. Most operators run both.

Do MVNOs need their own mediation system?

It depends on the operating model. A reseller relies on the host or an MVNE. An MVNO that runs its own billing needs mediation to process the host’s usage feeds and to check the host’s wholesale invoice against its own records. A full MVNO with its own core elements also collects records from that equipment.

Let’s discussyour project

Launching an MVNO or evolving your BSS? Let’s start with what you want to achieve.

Our team will review your request and email you to discuss the next steps.

Prefer email?info@avantebss.com