Home / Documentation / Refusals Refusals Every stable refusal code: when it happens and what to do.On this page
Every error is a Refusal with a stable code, a message, and where available at (file:line:column, a key path, or a usage id) and fix. Codes never change meaning; match on them, not on messages.
Code When Fix book.parseA file is not UTF-8 or not valid TOML The message names line and column book.unknown-keyA key the format does not define The fix names the nearest valid key book.missingbook.toml, the [book] header or a required key is missingAdd it book.invalid-valueAn amount, date, quantity, Takt or currency has the wrong form Amounts are strings with a decimal point: "49.99" book.duplicateAn id is defined twice, a kind is priced twice or draws on two allowances Keep one book.referenceA plan, kind, tax schedule or recurring item that is not defined Define it or fix the name book.measure-mismatchKinds of different measures in one charge or allowance Split the charge book.negative-priceA negative amount outside a discount Use a discount book.limitToo many files, plans or tiers, a file over 1 MiB, an amount over 10¹² Split the book book.eu-capAn intra-EU call or SMS price above Regulation (EU) 2015/2120 Art. 5a (rule EU-2015-2120-5a-cap) Price at most 0,19 €/min or 0,06 €/SMS excluding VAT
Code When rate.unknown-planThe subscription's plan is not in the book rate.unknown-kindA usage kind the book does not define rate.unpriced-kindA usage kind the plan neither prices nor includes rate.outside-periodA usage record dated outside the month or the contract rate.duplicate-usageTwo usage records with the same id in one call rate.empty-idA usage record without an id rate.out-of-orderA batch earlier than the previous batch of the period rate.no-tax-rateNo VAT rate is valid on a date rate.overflowAn amount or quantity exceeds the representable range rate.invalid-subscriptionThe contract ends before it starts
Code When Rule contract.term-too-longA consumer contract binds for more than 24 months DE-TKG-56-1-termcontract.notice-too-longA consumer's notice before the end of the initial term exceeds one month DE-BGB-309-9-c-noticecontract.invalid-termsA term over 120 months or a notice over 24 months — contract.addon-extends-termAn add-on would extend the term without the customer's express consent DE-TKG-66-3-addonsubscription.transitionA lifecycle step that is not allowed (e.g. restricting an ordered subscription) —
A refusal that a law decided carries the rule id in rule.
Code When bill.unknown-bookA plan assignment pins a price-book version that is not loaded; the account's bill is held bill.mixed-pricesOne account's subscriptions use gross and net books
Code When document.issuer-invalidThe operator's data lacks a field a bill must carry (§ 62 Abs. 1 TKG, § 14 Abs. 4 UStG) or has an invalid IBAN, BIC or creditor id; at names the field document.payment-invalidA direct debit without mandate reference, with an invalid IBAN, or without the operator's creditor id letter.not-applicableThe renewal notice is asked for a business contract, a contract that does not renew, a terminated one, or after the last day to cancel
Code When totals.mixed-booksCharges from another book were totalled with this one input.invalidA period string or a date has the wrong form
Download Markdown