telco

Charge explanations

Read the tariff version, measured units, rounding and usage IDs behind a customer’s bill line.

A bill that cannot say why it is what it is gets disputed. Every Charge carries:

FieldExample
trace.ruleplan.glasfaser-1000.usage.calls-mobile
trace.book_version, trace.book_hash2026-11, sha256:fe9f…
trace.days16 of 31 (prorated)
trace.units_raw, trace.units_rounded754 → 780 seconds
trace.allowance25 GB from data
trace.tiertier 2
trace.usagethe usage record ids
trace.discount_monthmonth 2 of 3
explanation„Anrufe in Mobilfunknetze“: 1 Vorgang, gemessen 12:34 Min., im 60/60-Takt gerundet auf 13 Min.; berechnet 13 Min. zu 0,19 € je Minute. Preisbuch 2026-11.

The book hash changes when any priced value changes and does not change with file order, comments or formatting, so a charge always names exactly the prices that made it.

No destination numbers. A usage record has an id, a kind, a date and a quantity — and deliberately no field for a phone number. A record that carries one is refused when deserialized. Traces and explanations therefore cannot leak traffic data into logs or terminals. The itemised bill, which does need numbers, is built by usaged from its own call records (Fixed-line itemisation).

Download Markdown