Fixed-line itemisation
Issue a private Einzelverbindungsnachweis for a sealed voice bill and expire call details after dispatch.
An Einzelverbindungsnachweis (EVN) lets a customer check individual calls against a bill. For each eligible outbound call, usaged combines the elected destination display, start time and actual seconds with the billed seconds, EUR amount and invoice positions frozen by billd. Customers can read the statement online or download a separate PDF. TKG § 65
Record the customer's choice
An operator records the subscription holder's text-form declaration and keeps the original under its archive reference. For a household line, the declaration covers informing all current and future users. For a business line, it also covers informing employees and any required involvement of their representatives. Enable itemisation before the billing month it should cover. TDDDG § 11
Send an operator-authenticated PUT /evn/preferences/{subscription} to usaged.
{
"mode": "shortened",
"declaration": "household_informed",
"evidence_ref": "6c16176f-eeff-40ba-9764-cab41c4e0247",
"include_bundled": false
}Choose full or shortened as elected by the holder. Shortening removes the last three digits before storage. Set include_bundled only on request. For a business declaration use workforce_informed_and_representatives_involved. The response gives the first effective day of the next calendar month. Sending {"mode":"off"} stops capture for calls dated today or later.
Refresh protected destinations
Supply the operator's current Bundesnetzagentur list in a private TOML file named by TELCO_EVN_PROTECTED_FILE. Record the date of the actual review in reviewed_on as a quoted ISO date and supply the numbers as a nonempty destinations array. Retrieve the list every quarter, apply updates promptly and restart usaged after replacing the file. TDDDG § 11 (5)–(6)
For Compose, mount the operator’s file read-only and point usaged at the mounted path. The demo has no protected-number list.
services:
usaged:
environment:
TELCO_EVN_PROTECTED_FILE: /run/telco/protected.toml
volumes:
- ./protected.toml:/run/telco/protected.toml:roA listed call can still generate a charge. Its destination and call details are omitted from the statement. When the list changes, a shortened number whose visible prefix matches a listed number is suppressed as well. If the list is missing or comes from a different calendar quarter, eligible imports return 503 so the switch can retry after refresh. Imports for subscriptions without an active election continue.
Read the statement
For a signed-in customer, request GET /api/v1/portal/bills/{bill}/itemisation. Append ?format=pdf to download the statement. The JSON uses zero-based invoice line indexes. The PDF displays numbered positions starting at one. An invoice without viewable call details returns 404. Keep these responses out of shared caches, analytics and application logs. Portal integration
Dispatch, objections and deletion
Record actual dispatch in billd with an operator-authenticated PUT /invoice-dispatches/{bill} and {"dispatched_on":"2026-11-23","reference":"<delivery receipt>"}. The date can follow sealing. A seal alone supplies no dispatch date. Keep the reference stable for retries. At month close, compare these proofs with the delivery provider’s handoffs. Reconcile invoice dispatch
Usaged reconciles call details with billd at startup and hourly. Operators can run the same pass immediately with POST /evn/purge. The sweep reports deleted itemisation and classified billing records separately, plus calls awaiting an invoice or dispatch evidence. After deletion, each owner keeps an opaque replay key. Retransmitting a call under another batch identifier cannot restore its detail or charge it again. A dispatch date starts the six-calendar-month window. For a dispatch on 31 August, the last day is 28 February in a non-leap year. An objection on 28 February is timely and an unheld record expires on 1 March. An unresolved, timely objection to the corresponding invoice position keeps its evidence available. Record final resolution in billd with PUT /billing-objections/{id}/resolution and {"reference":"<final decision or withdrawal receipt>"}. Sending the customer an answer leaves the hold in place until resolution. Once the hold is released, the next pass deletes expired detail. A customer read enforces expiry even between passes. Missing dispatch evidence leaves the expiry undetermined, so monitor actual dispatch acknowledgements as part of invoice delivery. BGB § 188 · TDDDG § 10 (2)