New billing for 2.1M accounts and not a single lost charge
Replacing the in-house billing system of a federal operator: tariff plan builders, instalments and discounts, OSS/BSS integration and the migration of 2.1M subscriber accounts under parallel calculation.
A tariff plan took a quarter to ship
Billing had been written in-house over ten years: charging rules lived in stored procedures, and any change to commercial terms turned into a quarterly release with manual regression testing.
A system that processes thousands of charging operations per second can only be replaced without stopping it: billing downtime is not just lost revenue, it is a conversation with the regulator.
Charging as configuration, plus parallel calculation
Charging rules moved out of code into declarative tariff plans: the product team assembles a plan from bundles, thresholds and discounts in the interface, and every change is replayed against historical data before it is published.
The core runs on Go: usage events flow through Kafka, charging scales horizontally, and call detail records land in ClickHouse so a subscriber's statement renders in seconds.
For three months the system calculated in parallel with the old one on live traffic, and every per-account discrepancy was investigated down to zero. Only then were charges switched over to the new platform — subscribers noticed nothing.
«“We handed the contractor the scariest system in the company. A year later marketing launches a tariff in two weeks without asking engineering for permission — that is the result.”»