Billing implementation • Energy

Developing a Billing System for Four Energy Companies in Western Ukraine

ZOE, ZEZ, VOE, and VEZ are four energy sector companies across two regions of Western Ukraine, employing over 1,000 people combined. Our team built a billing system from the ground up for calculating and tracking electricity consumption across both industrial and residential sectors, including debt accrual and consumer settlement management.

⚡ Established accounting

for over 10,000 industrial electricity consumers

🏠 Established accounting

for over 1 million residential electricity consumers

🗺️ Deployed the system

across four companies in two regions of Western Ukraine

Situation Before the Project

The four companies served millions of electricity consumers through 15 branches in each of the two regions, with several hundred users working in the system simultaneously.

Energy legislation, tariffs, and calculation methodologies changed regularly, while the existing accounting system didn’t allow for quickly adapting calculation mechanisms to these changes.

Generating monthly and quarterly reports for regulatory authorities required strict adherence to established rules and standards, while the available tools didn’t provide the speed needed to consolidate operational results.

The companies served millions of residential and tens of thousands of industrial consumers at once, requiring a system capable of both bulk and individual calculation to process accruals and offsets efficiently.

The previous accounting system belonged to a third-party provider, limiting the companies’ ability to independently develop and refine functionality to meet their own needs.

Migrating balances from the previous system required significant time, and the accrual and calculation process itself couldn’t be paused for a single day — any delay in issuing consumer invoices risked fines from regulatory authorities.

Scope and Critical Requirements

The client’s request called for building a billing system covering consumption calculation, debt accrual, reporting, and data exchange with third-party services. Implementation was phased, starting from an MVP, with no disruption to ongoing operations.

1. Calculation Using Different Methodologies for Residential and Industrial Consumers

Business documents icon

Implement mechanisms for calculating electricity consumption volumes across different services in accordance with legislative standards, separately for residential and industrial sectors, taking into account the presence or absence of meter readings and the possibility of recalculation.

2. Tracking Consumption and Generation Readings

Receipt document icon

Enable the entry of meter readings — both bulk and individual — from various sources and metering types across both sectors, with the ability to modify already-entered data across different zones and services.

3. Calculating Debt, Payments, and Offsets

Diamond engagement ring icon

Implement debt calculation across different service types for residential and industrial consumers, payment entry and allocation, and mutual settlements and debt offsetting.

4. Data History and Consumer Personal Accounts

Computer workstation icon

Record all consumer-related operations while preserving historical data — including changes to readings, metering devices, recalculations of prior periods, and contracts.

5. Phased Implementation from MVP Without Stopping Processes

Chain link icon

Launch with a minimum viable product and progressively expand the system’s functionality, maintaining continuity of accruals and calculations throughout the transition.

What Our Team Did and How

Consumption Volume Calculation

We built a system for calculating electricity consumption and generation volumes for industrial and residential consumers, using different calculation methods tailored to each type of service. This included calculating and allocating equipment and transformer losses to determine consumption volumes for the billing period.

We built the calculation methodology entirely on current legislative and code standards, developing the system from scratch. The main challenge was recalculating volumes for prior periods whenever input data or readings changed, a mechanism we had to work through separately for each calculation method.

As a result, the system supports both bulk and individual consumption calculations across different service types and methodologies, in full compliance with legislation.

Debt Accrual and Offsetting

Building on the calculated consumption and generation volumes, we implemented debt calculation for consumers using different methods and tariffs across various services, accounting for potential mid-month changes to input data and the corresponding splitting of amounts into sub-periods.

The most complex part was recalculating debts for prior periods whenever already-calculated volumes and amounts changed: the system had to correctly revise historical accruals retroactively without compromising data integrity.

The companies can now calculate consumer debt using different methods and tariffs, and manage the offsetting of payments and debts.

Management and Regulatory Reporting

We enabled the generation of regulatory reports for monthly and quarterly submissions to oversight authorities, along with management reports based on data recorded in the system: consumption volumes, calculations, payments, readings, and equipment. We built the reporting on a data composition system, from scratch, based on current legislative and code requirements.

The complexity lay in certain large reports that aggregated data from multiple sources simultaneously across different dimensions. The companies now have a complete set of regulatory reports built into the system for reporting to oversight authorities.

Integration With Other Systems

We implemented data exchange with third-party resources, including DataHub, the consumer personal account portal, chatbots, and client banking systems, through a REST API, as well as file-based exchange in CSV, XLSX, and XML formats.

The large volume of data exchanged simultaneously, particularly during periods of mass consumer billing, placed significant load on the server and slowed the system down, requiring additional performance optimization. This gave the companies a ready-made exchange system for connecting various services, both existing and new.

Financial calculations with calculator and laptop

Equipment and Consumption Reading Accounting

We implemented a system for tracking equipment and related operations, as well as managing readings from metering devices across different zones and services. The companies can now track equipment operations, including meters, transformers, and other devices, along with readings from various instruments, within a single system.

Collaboration with the Client’s Team

On the CBPM side, the project team consisted of three developers, four analysts, and two administrators, with the involvement of the commercial and operations departments and two account managers. On the client side, key users were assigned to the project on a full-time basis, while several dozen employees completed training in both online and offline formats.

Collaboration between the teams was organized through regular internal and external meetings, in-person sessions, email, phone calls, and Microsoft Teams.

A key factor in the project’s success was the joint effort of both the implementation team and the client: clearly defined responsibilities and deadlines, along with regular project status meetings. System support and further enhancements continue on an ongoing basis after the launch.

Business consultation with clients

What the Client Can Do Now That They Couldn't Before

Develop the system independently or with the involvement of various contractors, without dependency on a single vendor.

Business analytics bar chart icon

Report to regulatory authorities promptly, in line with established standards and deadlines.

Document archive box icon

Perform bulk and individual consumption calculations simultaneously for millions of consumers.

Business documents icon

Accurately recalculate debt for prior periods whenever input data changes.

Payroll automation icon

Exchange data with DataHub, the consumer personal account portal, and other services through a single system.

Process speed and automation icon

Results

System Transition

Computer workstation icon

The client fully transitioned to the new accounting and calculation system and now operates it around the clock.

Autonomy

Cardboard shipping box icon

Reduced dependency risk on the external provider, the former owner of the previous system, increasing the companies’ independence in developing functionality.

Accounting Scale

Business finance and payments icon

Enabled accounting for over 10,000 industrial and over 1 million residential consumers simultaneously across four companies in two regions.

Reporting

Business documents icon

Delivered a complete set of regulatory reports for monthly and quarterly submissions to oversight authorities.

Integrations

Retail shopping bags icon

A ready-made data exchange system allows new third-party services to be connected without additional rework of core functionality.

Have a Similar Request?

Tell us about your situation — we’ll discuss what a solution could look like for your case.

Book a 30-Minute Consultation
  • Data and business logic preservation

  • Parallel operation of both systems during migration

  • Team training included

Similar projects

View All Case Studies

Tell Us About Your Project

    We respond within
    24 hours on business days

    1. Inquiry

    Leave your contact details and briefly describe your situation, including your current system, number of users, and the issues you would like to resolve.

    2. Introductory Call with a Manager

    A 30-minute conversation to discuss your pain points, timeline expectations, and the project delivery approach so we can select the right team for your needs.

    3. Pre-Project Discovery

    A technical audit of your IT architecture, definition of the project scope and boundaries, development of the system concept, and preparation of a preliminary roadmap.

    4. Proposal

    A detailed document outlining the scope of work, timeline for each project stage, and estimated cost.