Making charging data more dependable for financial reporting

How checks at the data-ingestion boundary separated recoverable meter readings from records that could not support a trustworthy correction.

Client
Go Zero
Date
Service
Focused delivery
Role
Data engineering and reporting controls

What changed

  • Cross-checked booking energy against charging-transaction evidence.
  • Recorded correction reasons and original values alongside the result.
  • Rejected impossible recoveries before they entered the relevant reporting calculations.

Context

A charging record can look precise and still be wrong. A missing starting reading can turn a session into a charger’s cumulative energy total. A booking record can also mistake the meter’s absolute reading for the energy delivered in that session.

Go Zero’s reporting pipeline needed to distinguish those errors from legitimate readings before using the data in revenue and settlement calculations.

My remit

I implemented energy checks in the ingestion paths, with correction provenance and changes to the relevant reporting queries. The constraint was to recover what the evidence supported without introducing a different error into valid sessions.

Decisions and delivery

  • Distinguished cumulative-meter resets from chargers that legitimately start each session’s reading at zero.
  • Used transaction deltas or prior cumulative readings to form a candidate correction, while retaining the original values and correction reason.
  • Added a further power-and-duration check after an incomplete meter history exposed a recovery that was smaller but still physically impossible.
  • Preferred the charging transaction’s own start and stop times when assessing booking energy.
  • Excluded records classified as unrecoverable from the relevant revenue and settlement queries, while retaining supported corrections.

Outcome

The pipeline gained an explicit distinction between a supported correction and a reading it could not safely recover. A repeatable before-and-after regression demonstrates the important boundary: the earlier implementation accepted an impossible recovery, while the follow-up rejected it.