E-invoice rule explained · XRechnung
BR-DE-31: Direct debit without the debited account
Official message
Wenn "DIRECT DEBIT" BG-19 vorhanden ist, dann muss "Debited account identifier" BT-91 übermittelt werden.
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BG-19, BT-91
What does BR-DE-31 mean?
When the invoice contains direct debit information (BG-19), it must give the debited account identifier (BT-91), the buyer's account the amount will be collected from. In UBL that is cac:PayerFinancialAccount/cbc:ID inside cac:PaymentMandate; in CII ram:IBANID in ram:PayerPartyDebtorFinancialAccount.
Usual causes
- Only the mandate reference was exported, not the buyer's IBAN.
- The buyer's IBAN was placed in the payee account instead of the payer account.
- The software leaves the IBAN out for privacy and refers to the mandate instead.
How do I fix BR-DE-31?
- Take the buyer's IBAN from the signed SEPA mandate.
- Add it as cac:PayerFinancialAccount/cbc:ID inside cac:PaymentMandate (UBL) or ram:PayerPartyDebtorFinancialAccount/ram:IBANID in the payment means (CII).
- If you do not collect by direct debit, remove the mandate details and use the code for the real payment method.
Corrected XML (minimal example we wrote)
UBL
<cac:PaymentMeans> <cbc:PaymentMeansCode>59</cbc:PaymentMeansCode> <cac:PaymentMandate> <cbc:ID>MANDAT-2026-001</cbc:ID> <cac:PayerFinancialAccount> <cbc:ID>DE02120300000000202051</cbc:ID> </cac:PayerFinancialAccount> </cac:PaymentMandate></cac:PaymentMeans>
CII
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>59</ram:TypeCode> <ram:PayerPartyDebtorFinancialAccount> <ram:IBANID>DE02120300000000202051</ram:IBANID> </ram:PayerPartyDebtorFinancialAccount></ram:SpecifiedTradeSettlementPaymentMeans>
Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.
Check your file for free
The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.
In development — early access
Fix-and-explain for accountants and invoicing teams
A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access
Source
Rule id and official message from the KoSIT XRechnung Schematron, v2.6.0 (for XRechnung 3.0) (Apache-2.0), compiled from upstream commit 7e3ddbe. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. KoSIT XRechnung Schematron v2.6.0 (for XRechnung 3.0)