Investigate bills and review proposals
Explain a charge from retained evidence, approve a credit or tariff change in the Desk, and follow the execution or delivery receipt.
A customer asks where their €20 top-up went. A support assistant can cite the €5 spent and €15 still available. If the customer disputes the charge, the assistant can prepare a credit. A named reviewer decides the proposed amount. Finance records the resulting adjustment.
An operator can connect its own assistant over MCP or REST. billd validates claims against retained evidence and records each proposal. The Desk works with those records independently of the assistant or model provider.
Investigate a fibre bill
On the invoice, Bruttodifferenz shows how the previous total becomes the current total. For net tariffs, the calculation adds the change in VAT. For gross tariffs, the position amounts already include VAT. Equal and opposite position changes remain visible even when the bill total stays the same.
Open Rechnungen und Prüffälle to see each changed position and its source lines. Abweichung untersuchen asks the assistant to inspect one position. You can leave and return to the invoice or stop a running investigation. A VAT-only change is explained immediately.
The optional investigator compares the immediately preceding month on the same billing account. It can identify an expired discount when the prior charge traces show the final month. A measured change without this evidence keeps its cause open. First bills, cancellations, incompatible price bases and expired source evidence require manual review.
For the local sample, start Ollama with a model installed and run AGENTD_MODEL=qwen3:8b just dev. Seed the estate with just seed. Investigation API
Explain a charge
- Open a contact with an idempotent
PUT /agent/contacts/{id}on billd. Send the billing account in{"account":"<uuid>"}. Reuse the same contact throughout the conversation. - Capture evidence with
POST /billing-accounts/{id}/agent-evidence. Supply{"kind":"wallet"}or{"kind":"bill","bill":"<uuid>"}. The service returns the observation and typed facts. - Send the evidence ID, contact ID and selected claims to
POST /billing-accounts/{id}/agent-answers. For a balance claim, use a field such as{"field":"available","value":"15,00","unit":"eur"}. The service checks the field, value and unit together. Each published sentence carries its evidence reference. Copy the disclosure and provenance along with the text when forwarding a draft. - Retrieve the retained answer with
GET /billing-accounts/{id}/agent-answers/{answer}. When the evidence cannot support a claim, capture the relevant source or hand the contact to support.
Decide and verify a remedy
- Open Vorschläge → Offen and select a proposal. Its URL takes another authorized reviewer to the same record.
- Check the requested effect against its source. For a dispute reply, Quellen und geprüfte Angaben shows the field, value and unit behind each sentence. Follow the invoice link or check the date of the wallet snapshot.
- Enter a decision reason. A tariff-switch approval also needs the reference to the customer’s consent.
| Remedy | Review before approval | Evidence of completion |
|---|---|---|
| Credit | Invoice, cited line, requested EUR amount and remaining eligible receivable | accountingd journal reference |
| Plan switch | Current tariff, target quote, subscription, effective date and reference to the customer’s consent | contractd change receipt |
| Dispute reply | Exact disclosed text, contact, cited observations and recipient | Delivery adapter’s acknowledgement and reference |
Keep the proposal open after approval to follow execution, or reopen it under Alle. A changed or expired proposal requires fresh evidence and review. A failed delivery retains its recorded outcome.
Connect a proposing assistant
Use POST /agent/proposals or the scoped MCP tools at /agent/mcp. Supply a unique proposal ID, account, contact, reason and action. Reuse the ID on retry. Link reviewers to /vorschlaege/{id} on their Desk.
Delivery adapters poll GET /agent/dispatches and send the approved message. Deduplicate at the delivery provider by proposal ID. Acknowledge the recipient, outcome and delivery reference with PUT /agent/dispatches/{id}/ack.
Configure reviewer identities
Assign one named reviewer key per authorized person. The Desk edge uses the operator credential for ordinary work. For a decision, Caddy calls the deployment’s DESK_REVIEW_AUTH at /review-session. The adapter authenticates the signed-in session and supplies X-Telco-Reviewer-Authorization: Bearer <personal reviewer key> on success. Deny unrecognized sessions. Keep the adapter and billd on trusted transport, expose only the Desk to the browser and protect the whole Desk with operator sign-in. For a single-user loopback development Desk, set TELCO_DESK_REVIEWER_TOKEN to that developer’s named reviewer credential. A proposer:<account-uuid> credential can prepare remedies for one billing account. Assign a separate reply-delivery credential to the delivery adapter.
The generated answer identifies AI assistance in German. Its response records deterministic rendering and the source of each statement. A deployment using a model must assess provider and deployer obligations for its generator, check how its customer channel presents that disclosure on first exposure, and retain applicable machine-readable marking through delivery. EU AI Act, Article 50
Measure confirmed resolutions
A customer confirms a retained answer using PUT /agent/contacts/{id}/outcome with {"outcome":"confirmed","account":"<uuid>","answer":"<uuid>"}. Use handoff or reopened with the account for subsequent escalation. Every proposal records a handoff. The Desk reports by the month the contact opened. Seven calendar days after confirmation a contact counts as self-service if it has had no handoff, human decision or reopening. Reopening revises the original cohort. Open contacts include contacts awaiting confirmation and reopened contacts. Outcome counts overlap. The percentage uses all distinct eligible contacts as the denominator and rounds down to whole percent.
For a tariff comparison or a customer-supplied calculation, use the anonymous checks. Public tariff receipts