BR-DE-31
A direct debit group does not say which account will be debited.
ErrorXRechnungUBLCII
Why it happens
The payer IBAN was omitted.
How to fix it
Set BT-91 with the debtor's IBAN. BR-DE-20 additionally warns if it is not a well-formed IBAN when SEPA direct debit (code 59) is used.
The official rule
XRechnung, official German wordingWenn "DIRECT DEBIT" BG-19 vorhanden ist, dann muss "Debited account identifier" BT-91 übermittelt werden.
Our English rendering: If DIRECT DEBIT (BG-19) is present, then "Debited account identifier" (BT-91) must be provided.
Technical detail — where the rule is evaluated and the exact test
| Syntax | Context and assertion |
|---|---|
| UBL | /ubl:Invoice | /cn:CreditNote |
not(cac:PaymentMeans/cac:PaymentMandate) or (cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID) | |
| CII | /rsm:CrossIndustryInvoice |
(($BT-89-path or $BT-90-path) and $BT-91-path) or $BG-19-not-existing |
Check your own invoice
Paste or drop your UBL or CII file into the free validator. It runs the official EN 16931 ruleset plus the German XRechnung layer and lists every rule that fires, BR-DE-31 included — no signup, no limit.
Validate an e-invoice freeFixing the data at source instead? The CSV converter builds a compliant invoice from a spreadsheet export.