Documentation
Run konto, bill across sectors, keep the ledger and embed the account screen. Guides for operators, integrators and Rust developers.
Start here
- Get startedRun the sandbox with two household bills, check a bill in your browser, run the tests, and find your way into the crates and the service.
- How konto worksAccounts, not contracts: what konto keeps for every sector, what it leaves to the sector engines, and how the crates and the service fit together.
The bill
- A bill that proves itselfHow konto composes and seals a bill, what its digest covers, how anyone recomputes it to the cent, and how „Was hat sich geändert?“ explains a change.
- Invoices and documentsA legal German invoice per § 14 UStG: an EN 16931 e-invoice (XRechnung 3.0 where the buyer can receive one) in CII and UBL, one PDF that is PDF/A-3b, PDF/UA-1 and ZUGFeRD, and an accessible HTML bill.
Money
- The ledgerOpen items per bill and contract, payments allocated in the statutory order of § 366 BGB, review-then-confirm, and the Kontoauszug with a running balance.
- CollectionsReminders, threats, suspension proposals and payment plans that follow each sector's own collection terms, with a person deciding every suspension.
Run kontod
- Run kontodConfigure and run the kontod service: database, review key, tokens and roles, the creditor's invoicing profile, tenancy and how bookings are persisted.
- Deliver chargesSend rated-charge@1 and bill-section@1 documents to kontod, then preview, review and confirm the bill konto assembles from them.
- Deliver billsHow sealing queues a bill's delivery, how a courier sends it by e-mail or post and reports back, and how consent for electronic invoices is recorded.
- Customer sign-inCustomers sign in with a passkey or with the operator's own customer login, no customer number typed, and share their account read-only with a partner or a Betreuer until a date.
- Payment and deliverykonto keeps the SEPA direct debit mandate and how bills reach the holder: the customer grants a mandate and chooses e-mail in the portal, a clerk records a paper mandate, every change is logged.
- Several companiesA Stadtwerk and its fibre subsidiary: each company keeps its own invoices, mandate and books; the customer signs in once and sees what is open with whom.
Embed and integrate
- Kundenportalkonto's reference customer portal in React and Tailwind: sign-in with a passkey or the operator's login, the accounts of every company, the bill that recomputes itself, sharing, payment and delivery. Serve it, theme it, check it.
- Recompute in the browserkonto's bill recompute compiled to WebAssembly: three functions over the module's memory, JSON in and out, the same code that sealed the bill, and how to call it from JavaScript or Node.
- Use the Rust cratesSeal, recompute and render bills, keep the books and assess collections in your own Rust program, with pure crates that need no I/O, clock or floats.
Reference
- HTTP APIEvery kontod route with the roles that may call it, the problem format of errors, status codes and the OpenAPI document.
- Command lineThe konto command: check a bill to the cent, render it as PDF, XRechnung or HTML, and explain what changed between two bills.
- Refusal codesEvery refusal konto gives: its stable code, HTTP status, when it happens and what a clerk does about it.
- Legal requirementsThe German rules konto implements for invoices, e-invoices, electronic delivery, payment allocation, archiving and accessibility, each with its primary source.
- SecurityHow konto protects tenants, money and personal data, the limits it states openly, and how to report a vulnerability.