Validation rules

BR-DE-31 — XRechnung rule

Direct-debit information (BG-19) is present but the debited account identifier (BT-91) is missing.

Rule
BR-DE-31 — official EN 16931 / XRechnung rule
Severity
error
Business term
BT-91 — Debited account IBAN
Field in your JSON
invoice.payment.debited_iban

How to fix it

Set invoice.payment.debited_iban to the IBAN that will be charged.

BR-DE-31 auf Deutsch — was bedeutet der Fehler?

Lastschriftangaben (BG-19) sind vorhanden, aber die Kennung des belasteten Kontos (BT-91) fehlt.

So beheben Sie den Fehler

Setzen Sie invoice.payment.debited_iban auf die IBAN, die belastet werden soll.

Related rules

  • BR-DE-30 — Direct-debit information (BG-19) is present but the creditor identifier (BT-90) is missing.
  • BR-DE-28 — The seller contact email (BT-43) does not look like an email address — exactly one @, at least two…
  • BR-DE-27 — The seller contact phone number (BT-42) should contain at least three digits.
  • BR-DE-26 — A corrected invoice (type_code 384) should reference the invoice it corrects (BT-25).
  • BR-DE-22 — Two embedded attachments share the same filename — every attached document's filename must be unique within…
  • BR-DE-21 — The specification identifier (BT-24) is not syntactically an XRechnung customization id.

Official sources

Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.

Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.