One account across sectors
Each engine sends priced charges and its bill section. konto places the sections, derives VAT once per group and seals one bill with one gapless number.
How konto worksOpen source · Rust · for German multi-utilities
Experimental · pre-1.0 · APIs can change between releases
konto is the customer account of a Stadtwerk: electricity, gas, water, broadband and charging on one bill, one ledger and one direct debit. Every bill recomputes from its own inputs, in your browser too.
Zu zahlen
27,71 €
✓ Stimmt auf den Cent.
This is a real sealed bill, shown by the bill screen of konto's Kundenportal. Press Rechnung nachrechnen: your browser recomputes every line, VAT group and total with the same Rust code that sealed it, compiled to WebAssembly. No server is asked.
Then press Change one amount, as a forger would, and recompute again.
Download the same bill as PDF with the e-invoice embedded or as XRechnung, then read how the bill proves itself.
The sector engines rate electricity, telecom and charging under their own law. konto keeps what the customer has with the company: the party, the contract account, the mandate, the ledger, the bill and the dunning.
Each engine sends priced charges and its bill section. konto places the sections, derives VAT once per group and seals one bill with one gapless number.
How konto worksA SHA-256 digest over a published canonical encoding, and a recompute that names the first line that differs. „Was hat sich geändert?“ explains every change in euros.
The billSeller and buyer per § 14 UStG, XRechnung 3.0 in CII or UBL validated before it is written, and one PDF that is archivable, accessible and carries the e-invoice.
Invoices and documentsOpen items per bill and contract, payments allocated by § 366 BGB, a Kontoauszug with a running balance. Decimal money, rounded once.
The ledgerReminders, threats and payment plans follow each sector's own terms. A suspension is a person's decision and the engine's act, never konto's.
CollectionsA React and Tailwind Kundenportal on mako’s design tokens: what is open and by when, what changed, the Verlauf, sign-in with a passkey or your own customer login, the SEPA mandate and every company of a group in one list. Light, dark and high contrast, checked with axe.
Kundenportalrated-charge@1 and their bill sections.The sandbox starts kontod in memory with two household bills and serves the account screen on your machine.
git clone https://github.com/hupe1980/konto
cd konto
just portal # → http://localhost:8080/portal/Or check any bill offline: after cargo install konto, konto check rechnung.json says „Stimmt auf den Cent.“ or names the line that differs.
Pure Rust without I/O, clock or floats. The same code seals in the service and recomputes in the browser.
// cargo add konto-bill konto-render
let bill = konto_bill::seal(&request, number, Some(&previous))?;
assert_eq!(konto_bill::recompute(&bill), konto_bill::Verdict::Matches);
let pdf = konto_render::pdf(&bill, None)?; // PDF/A-3b, e-invoice insideUse the Rust crates