Documentation
Run a local billing system, connect a switch or carrier, or embed the Rust rating engine in your own application.
Operate the services
- Contract lawEnd of term, last day to cancel, termination dates, renewal and the bill's contract block — computed from the terms, each naming the rule that decided.
- Monthly billingTrace advance charges, usage and corrections through invoice sealing and ledger posting.
- Invoice documentsRetrieve the sealed invoice as accessible HTML, PDF, XRechnung or ZUGFeRD.
- Build on the customer portal APIUse one account-scoped API to show a bill, submit a line objection, retrieve the answer and acknowledge the document.
- Host the fibre customer portalEmbed accessible account components, let customers check a sealed invoice and provide a public cancellation form with a durable receipt.
- Quotes and signupQuote a plan, submit an order once, and follow the contract events using the original order reference.
- Run the operator servicesStart the services, configure credentials, and inspect their HTTP APIs, events and error codes.
- Reconcile invoice dispatchFind missing, extra or conflicting transport receipts for every original and final invoice sealed in a month.
- Reconcile bank paymentsMatch booked EUR transfers to invoices, explain an outstanding balance and investigate unapplied receipts.
- Operate prepaid accountsEnroll metered subscriptions, fund a EUR wallet from settled bank credits and reconcile monthly spend controls with the ledger and network.
- Investigate bills and review proposalsExplain a charge from retained evidence, approve a credit or tariff change in the Desk, and follow the execution or delivery receipt.
- Resolve a missed appointmentRecord field evidence, resolve responsibility, approve compensation and trace the credit to the account journal.
- Export a month to DATEVReconcile every original and supplemental DATEV batch against the adviser’s posted turnover and retain the evidence for month close.
- Reserve and settle online quotaConnect a network client to chargingd, reserve prepaid bytes or API calls, settle usage and reconcile mediation copies in the Desk.
- Operator DeskFind accounts, review invoices, reconcile payments and resolve missed service appointments in the operator Desk.
- Rehearse a recoveryRestore a closed billing month in isolation, reconcile the journal and check which call details a customer can still retrieve.
- Review metered billing accuracyPrepare, sign and independently verify a fixed-line billing evidence pack across a change of tariff, collector or billing system.
- Prepare a complaint procedureReview complaint coverage across case owners, calculate four average handling times and prepare a German HTML draft.
- Migration package v1Map legacy account, tariff, invoice and finance records into a versioned EUR billing rehearsal.
- Connect fibre service status and cancellationSupply dated network evidence, acknowledge cost-control requests and confirm public cancellation receipts for a fibre operator.
- Rehearse a billing migrationValidate a legacy export, re-bill closed cycles locally and trace differences between legacy invoices and telco in the Desk.
- Cut over to the first live invoiceApprove a rehearsed legacy snapshot, import opening receivables once, continue invoice numbers and resume safely after interruption.
Connect systems
- TMF678 customer billsUse an account-scoped credential to retrieve a partner’s sealed invoices and credits.
- Open-access provisioningFollow a carrier's S/PRI new-line order through to its first wholesale bill.
- Fixed-line voice importsReconcile outbound switch calls against sealed invoices.
- Reconcile mobile usageImport measured mobile sessions, resolve held rating groups, check the customer’s data allowance and reconcile TMF635 product usage with a sealed invoice.
- Fixed-line itemisationIssue a private Einzelverbindungsnachweis for a sealed voice bill and expire call details after dispatch.
- Billing, contract and usage eventsSubscribe to signed CloudEvents and decode each payload with the event schemas or Rust types.
- Rate roaming and verify spending controlsClassify mobile service at the event date, assess roaming fair use and commission the serving network’s data spending limit.
- Webhook deliveryRegister an endpoint, verify signatures, inspect delivery attempts and replay missed events.
- Check a public tariff receiptQuote published telecom prices and verify the first two bills against a pinned tariff using billd’s anonymous MCP endpoint.
Build and test tariffs
- Getting startedInstall the crate, compile a price book, rate a month and print the bill lines with their explanations.
- Write a price bookDefine recurring charges, one-off fees, usage, allowances and discounts in a versioned TOML tariff.
- Rate a monthApply a price book to a subscription and carry allowance and tier usage across batches.
- Golden testsA tariff author's statement of the bill lines a case must produce — checked on every change, failing on the first cent.
- CLI referenceCheck and compare price books, explain a bill, inspect event schemas or listen for signed deliveries.
Understand the billing core
- Lines, totals and VATHow charges become bill lines rounded once, and how VAT is extracted from gross totals or added to net totals so the bill matches what the customer was promised.
- Charge explanationsRead the tariff version, measured units, rounding and usage IDs behind a customer’s bill line.
- RefusalsEvery stable refusal code: when it happens and what to do.
- Design principlesWhy the crate is pure, exact and deterministic, and what it deliberately leaves to other layers.
- Validate sample invoicesCheck sample invoices with veraPDF, KoSIT and Mustang, and reproduce the document hashes.