In brief
A billing migration at a telecom operator is protected by a parallel run: for several cycles the same usage records go to the old and the new system, and an automated comparison checks the bills line by line. Every difference gets a category and an owner, and customers move to the new system in waves, only once the differences left in their group are explained and accepted. Without this, customers find the first defects for you, in complaints.
What has to move besides the customer list
The customer and their contract are the easy part of the migration. The trouble comes from data describing a state that is "in progress":
| Data | Migration trap | How to check |
|---|---|---|
| Time-limited discounts | a 12-month discount of which the customer has used 7 months | the number of remaining months is the same after migration as before |
| Device installments | an installment partly paid, a schedule tied to a different cycle day | sum of remaining installments and the date of the last one |
| Balances and overpayments | an overpayment from the previous bill, a deposit, a prepaid account balance | every account balance before and after, to the cent |
| Allowances and counters | gigabytes used in the current cycle, a spending cap | counter values at the moment of cutover |
| Billing cycle | different cycle closing days, proration for a partial period | the date of the first bill from the new system |
| Bill history | corrections, complaints in progress, disputes | whether a pre-migration bill can be corrected after migration |
Each row needs a migration rule and a test on real data. General principles of migration testing (reconciling counts, totals and samples) are covered in data migration testing, and the structure of rating itself in telecom billing.
Parallel billing: how to set it up
In a parallel run, the old system keeps issuing the real bills while the new one calculates the same thing in the shadow. You need three things:
- The same usage stream. Mediation sends records to both systems, or production records are copied to the new billing environment with the same delay. Reconcile record counts on both sides every day, through files or a usage API (for example TMF635). A file missing in one system produces hundreds of false differences.
- The same customer data. Same-day contract changes (new tariff, bundle, discount) reach the new system in real time or in a nightly sync before cycle closing.
- The same calendar. The new system closes the cycle on the same day as the old one, otherwise you compare different periods.
A parallel run usually lasts several cycles, to cover mid-period tariff changes, first and last bills, post-vacation roaming and seasonal bundles. One cycle with no differences does not prove that everything works.
Comparing bills at three levels
| Level | What is compared | What it is for |
|---|---|---|
| Bill total | gross and net amount per customer | a quick filter: how many customers have any difference at all |
| Bill line | recurring fee, installments, usage, discounts, tax | showing which part of the rating differs |
| Rated event | rate and amount for a single usage record | finding the tariff rule that behaves differently |
Lines have to be paired first, because the new system names and groups them differently. That is the job of a line mapping table (old line name, new line name, type) prepared by a billing analyst. If both systems expose bills through an API (for example compliant with TMF678), the comparison can be automated without parsing PDF files.
Classifying differences
Every difference goes into one category, and every category has an owner and a decision:
| Category | Example | Decision |
|---|---|---|
| New system defect | discount not applied after a tariff change | fix before the wave goes live |
| Data migration defect | wrong discount end date after transfer | fix the migration rule and migrate again |
| Old system defect | the old billing charges one fee twice | business decision: fix it in the new system, inform customers |
| Intended difference | new rounding, a different line layout | written acceptance |
| Comparison artifact | a record missing in the copied stream | fix the comparison process, no change to the systems |
The wave exit criterion is defined on this basis, for example: zero open differences in the "new system defect" and "data migration defect" categories, and intended differences accepted. Poland's Electronic Communications Law gives customers 12 months from delivery of the bill to complain about an incorrectly calculated charge (Article 378(2)), so a defect that reaches production keeps coming back long after cutover.
Waves and cutover
Customers are split into waves by risk: first a simple group (one offer, one number, no installments), then customers with devices, businesses with many numbers, and finally unusual offers. Waves follow billing cycle days, so that cutover falls right after the cycle closes in the old system.
Each wave has a night plan: a change freeze for its customers, export, load, reconciliation of counts and balances, post-cutover tests and a rollback decision point. Such cutovers usually happen in night and weekend windows, described in night work and maintenance windows at an operator. The first bills from the new system for each wave are reviewed on a sample before they are sent, and the call center gets a list of expected differences. A team working night and weekend shifts while customers moved to a new billing system is described in the BSS migration case study.
Reconciliation reports
The bill comparison produces a lot of data, but the management board and the auditor need a few numbers: the share of customers with no differences in each wave, the number of differences per category and the trend between cycles, the total amount of differences, and the list of open issues with owners. These reports should come from one comparison database with one definition of "difference", otherwise two teams will show two different numbers. B2Bnetwork engineers build this kind of data and reporting layer with reconciliation rules as part of the Data and reporting service.
Questions and answers
How long should a parallel run last in a billing migration?
As many cycles as it takes to cover all typical events: a mid-period tariff change, first and last bills, installments, roaming and seasonal bundles. That usually means at least two or three full cycles for each customer group. The decision is based on the trend of differences, not on the project calendar.
Should you compare all customers' bills or is a sample enough?
All of them is better. An automated comparison of totals costs little, and defects in rare offers affect small groups that a random sample will miss. A detailed comparison of lines and events is then done for customers whose totals differ and for selected risk groups.
What if the new billing is correct and the old one had a defect?
That is a decision for the business and the legal team, not for the migration team. Count how many customers the defect affects and in which direction it changes their bills, prepare a message for customers and the call center, and record the decision. The new system should not reproduce a known defect just to make the comparison look clean.
When can the old billing system be switched off?
Once all waves are through, the period in which customers complain about bills from the old system has passed, and the data needed for corrections, archives and legal obligations is available in the new system or in an archive. The old system often stays in read-only mode for a longer time.