Telecom Billing Software (BSS/OSS) Explained
December 5, 2026 · 10 min read

Every mobile call, gigabyte of data, broadband line and TV subscription must be measured, priced and billed accurately, often in real time and across millions of customers. Billing errors cost operators revenue and customer trust, while slow systems stop them launching new plans quickly. Telecom billing software rates usage against customers' plans, applies allowances, discounts and taxes, produces bills and collects payments, and sits within the wider business and operations support systems known as BSS and OSS. This guide explains BSS and OSS, how telecom billing works from usage record to invoice, key features, a tested rating example with a mid-month plan change, real-time charging, billing for 5G, IoT and partners, modernisation with TM Forum's Open Digital Architecture, building versus buying and indicative costs.
BSS and OSS Explained
| Layer | Main systems | What they do |
|---|---|---|
| BSS (business support) | Product catalogue, CRM, ordering, charging, billing, payments, partner settlement | Everything to do with customers, products and money |
| OSS (operations support) | Inventory, provisioning, network monitoring, service assurance, field service | Everything to do with running the network and services |
| Mediation | Collecting and cleaning usage records from network elements | Turns raw network events into billable records |
| Charging (OCS / CCS) | Real-time rating and balance management | Decides in milliseconds whether a session may continue and what it costs |
BSS and OSS are tightly connected. When a customer orders a new plan, the BSS records the order and price, the OSS provisions the service on the network, and usage then flows back through mediation into charging and billing. Weak integration between them is a common cause of billing errors, such as services that work but are never billed.
How Telecom Billing Works
- Usage capture: network elements record events such as data sessions, calls and messages as usage records, often called CDRs.
- Mediation: records are collected, deduplicated, validated and normalised.
- Rating: each event is priced according to the customer's plan, time, location and allowances.
- Charging: balances and allowances are updated, in real time for prepaid and many postpaid plans.
- Billing: at the end of the cycle, recurring charges, usage, one-off fees, discounts and taxes are combined into an invoice.
- Payments and collections: payments are taken and overdue accounts managed.
- Revenue assurance: checks confirm that everything delivered was billed correctly.
Key Features
| Capability | Why it matters |
|---|---|
| Product catalogue | Launch new plans, bundles and offers without code changes |
| Real-time charging | Prepaid balances, spending caps and instant notifications |
| Convergent billing | Mobile, broadband, TV and devices on one bill |
| Rating and discounts | Allowances, overage, roaming, family plans and promotions |
| Invoicing and tax | Accurate bills with correct VAT or sales tax by location |
| Payments and collections | Direct debit, cards, dunning and payment plans |
| Partner settlement | Revenue sharing with content partners, roaming partners and resellers |
| B2B and IoT billing | Many SIMs per account, pooled data and usage-based enterprise pricing |
| Self-service | Apps and portals for usage, bills, upgrades and add-ons |
Example: Rating Usage With a Mid-Month Upgrade
Billing logic is full of edge cases. The tested Python example below uses SQLite (MySQL works the same way) to rate one customer's month. The customer starts on a 10 GB plan at £10 and upgrades on day 16 to a 25 GB plan at £20. Rental and allowance are pro-rated by day, usage is drawn from the allowance first, overage uses the rate of the plan active on that day, EU usage counts like home usage under the plan's terms, US roaming is charged per megabyte, and VAT is added. Prices are illustrative.
# Telecom charging and billing in SQL (SQLite here; MySQL works the same):
# usage records (CDRs) are rated against the customer's plan, bundle
# allowances are drawn down first, overage and roaming are priced, a mid-cycle
# plan upgrade is pro-rated by day, and VAT is added. Prices are illustrative.
import sqlite3
db = sqlite3.connect(":memory:")
db.executescript("""
CREATE TABLE plan (code TEXT PRIMARY KEY, monthly_pence INTEGER, data_mb INTEGER, overage_pence_per_mb REAL);
INSERT INTO plan VALUES ('S10', 1000, 10240, 1.0), ('M25', 2000, 25600, 0.8);
CREATE TABLE cdr (msisdn TEXT, day INTEGER, kind TEXT, zone TEXT, amount REAL);
""")
ROAM_PENCE_PER_MB = {"home": 0, "eu": 0, "us": 5.0} # EU roam-like-at-home; US charged per MB
db.executemany("INSERT INTO cdr VALUES (?,?,?,?,?)", [
("447700900001", 3, "data", "home", 6000), ("447700900001", 12, "data", "home", 5000),
("447700900001", 18, "data", "eu", 9000), ("447700900001", 26, "data", "us", 300),
("447700900001", 27, "data", "home", 2000)])
DAYS, UPGRADE_DAY = 30, 16 # moves from S10 to M25 on day 16
def plan(code):
return db.execute("SELECT monthly_pence, data_mb, overage_pence_per_mb FROM plan WHERE code=?", (code,)).fetchone()
s10, m25 = plan("S10"), plan("M25")
f1, f2 = (UPGRADE_DAY - 1) / DAYS, (DAYS - UPGRADE_DAY + 1) / DAYS
rental = s10[0] * f1 + m25[0] * f2 # pro-rated monthly charges
allowance = s10[1] * f1 + m25[1] * f2 # pro-rated data allowance
used = overage = roaming = 0.0
for day, zone, mb in db.execute("SELECT day, zone, amount FROM cdr WHERE kind='data' ORDER BY day"):
roaming += mb * ROAM_PENCE_PER_MB[zone]
if zone == "us":
continue # rated separately, not from the bundle
in_bundle = max(0.0, min(mb, allowance - used)); used += mb
rate = s10[2] if day < UPGRADE_DAY else m25[2]
overage += (mb - in_bundle) * rate
net = rental + overage + roaming
print(f"plan rental (15 days S10 + 15 days M25): £{rental/100:.2f}")
print(f"allowance {allowance/1024:.1f} GB, used {used/1024:.1f} GB in home/EU -> overage £{overage/100:.2f}")
print(f"US roaming 300 MB -> £{roaming/100:.2f}")
print(f"net £{net/100:.2f} + VAT 20% £{net*0.2/100:.2f} = total £{net*1.2/100:.2f}")
Output:
plan rental (15 days S10 + 15 days M25): £15.00
allowance 17.5 GB, used 21.5 GB in home/EU -> overage £32.64
US roaming 300 MB -> £15.00
net £62.64 + VAT 20% £12.53 = total £75.17
Fifteen days on each plan gives £15.00 of rental and a pro-rated allowance of 17.5 GB. The customer uses 21.5 GB at home and in the EU, so about 4 GB is charged as overage at the higher plan's rate, giving £32.64. The 300 MB used in the US is charged separately at £15.00. Net charges of £62.64 plus 20 per cent VAT give £75.17. A customer receiving a bill like this would be surprised, which is why good billing systems send real-time alerts as allowances run low, offer data add-ons and let customers set spending caps. In production, rating runs on millions of records, with each step tested against agreed scenarios and reconciled by revenue assurance.
Real-Time Charging
Prepaid services, spending caps and instant usage alerts need decisions in milliseconds. Online charging systems reserve units from a balance before a session starts, update them as usage continues and stop or redirect the session when funds or allowances run out. 5G standalone networks use a converged charging system that handles both prepaid and postpaid in one platform. Real-time charging also enables modern offers such as day passes, add-ons bought in an app and instant top-ups.
Billing for 5G, IoT and Enterprise
New services bring new billing models. Enterprises buying private 5G networks may pay per site, per device, per gigabyte or for guaranteed performance on a network slice. IoT providers bill thousands of SIMs per account with pooled data, low monthly fees and usage spikes. eSIM makes it easier to sell travel data and secondary lines digitally; our guide to eSIM explains the impact. Communication platforms that sell SMS, voice and video through APIs need usage-based billing per message and minute, as described in our guide to CPaaS.
Partner and Content Billing
Operators increasingly bundle streaming services, music, cloud storage and devices with plans. That requires partner settlement: tracking which customers have which bundled service and paying partners their share. Our guide to building an app like Spotify touches on bundles from the streaming side. Roaming between operators also needs wholesale settlement, with records exchanged and reconciled between networks.
Modernising BSS With TM Forum ODA
Many operators run old billing systems that are expensive to change and slow to launch new products. TM Forum's Open Digital Architecture provides a blueprint for modular, cloud-native systems connected through standard Open APIs. In a TM Forum survey of more than 200 IT executives at 117 operators, one in three said ODA was the core guiding principle for their transformation, and a further 55 per cent had embedded elements of it. Modernisation usually proceeds in stages: a new product catalogue and digital channels first, then charging and billing, with careful customer migration and parallel running to compare bills before switching over.
Accuracy, Compliance and Customer Trust
- Revenue assurance: reconcile network usage, orders and bills to find leakage.
- Tax: calculate VAT or sales tax correctly by customer location and service type.
- Consumer rules: clear contract information, price change notices and fair handling of disputes, which regulators enforce.
- Data protection: usage records reveal location and behaviour, so protect them and keep them only as long as necessary.
- Security: strong access controls and audit trails for billing changes and API access.
This article is general information, not legal or tax advice.
Build Versus Buy
Large operators typically buy BSS platforms from specialist vendors and integrate them. Smaller providers, such as mobile virtual network operators, IoT connectivity providers, fibre networks, private network providers and communication platforms, have more choice: SaaS billing platforms work well for standard models, while custom rating and billing makes sense for unusual pricing, deep integration with your own product or very high volumes where per-subscriber fees become expensive. Many projects combine both, using a SaaS platform for invoicing and payments with custom rating logic or self-service apps.
The MySQL Technology Stack
- MySQL: transactional storage for plans, subscriptions, rated usage and invoices, with partitioning by billing period.
- Streaming pipeline: message queues for usage records feeding rating in near real time.
- Rating service: stateless workers that apply plan rules and write rated events.
- Billing runs: scheduled jobs that close cycles, generate invoices and send them.
- Self-service: web and mobile apps showing live usage, bills and add-ons.
- Integrations: payment gateways, tax engines, CRM and network provisioning through APIs.
Common Mistakes
- Hard-coding prices and plans so every offer needs a developer.
- Skipping parallel bill runs when migrating customers to a new system.
- Ignoring revenue assurance until leakage becomes visible in results.
- Failing to warn customers before large overage or roaming charges.
Indicative Costs
The figures below are indicative estimates, not quotes.
| Option | What is included | Indicative estimate |
|---|---|---|
| SaaS billing for an MVNO or IoT provider | Catalogue, rating, invoicing, payments, portal | Monthly fees per subscriber; setup from USD 20,000 |
| Custom billing for a niche provider | Rating engine, invoicing, tax, payments, integrations (MySQL) | USD 80,000 to 250,000 |
| Operator BSS transformation | Catalogue, charging, CRM, migration, ODA-aligned integration | Millions, delivered over multiple years |
Frequently Asked Questions
What is telecom billing software?
Software that rates usage against customers' plans, applies allowances, discounts and taxes, produces bills and collects payments for telecom services.
What is the difference between BSS and OSS?
BSS handles customers, products, orders and billing, while OSS handles network inventory, provisioning and service assurance.
What is a CDR in telecom billing?
A call or usage detail record describing a network event, such as a data session or call, used for rating and billing.
What is real-time charging?
Deciding the cost of usage and updating balances in milliseconds, so prepaid services, caps and alerts work instantly.
What is TM Forum ODA?
The Open Digital Architecture, a blueprint for modular, cloud-native telecom IT systems connected through standard Open APIs.
Should a small telecom provider build its own billing?
Usually start with a SaaS platform, and build custom components only for unusual pricing, deep integration or very high volumes.
Get Your Telecom Billing Software Right
Reliable telecom billing software protects revenue, keeps customers informed and lets you launch new offers quickly. Our team builds MySQL rating and billing engines, real-time usage alerts, self-service portals, IoT and B2B billing, partner settlement and integrations with BSS, OSS and payment platforms. This article is general information, not legal or tax advice, and costs are indicative estimates. Contact us to discuss your telecom billing software.