E-invoice rule explained · XRechnung
BR-DE-23-b: Credit transfer also carries card or direct debit details
Official message
Wenn BT-81 "Payment means type code" einen Schlüssel für Überweisungen enthält (30, 58), dürfen BG-18 und BG-19 nicht übermittelt werden.
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BT-81, BG-18, BG-19
What does BR-DE-23-b mean?
A payment means with a credit transfer code (30 or 58 in BT-81) must not also contain payment card information (BG-18) or direct debit information (BG-19). In UBL the check looks inside that payment means; in CII it also fails if the invoice anywhere carries a mandate reference, a creditor identifier (BT-90) or a debited account IBAN, because CII keeps those outside the payment means.
Usual causes
- A template fills in card or mandate fields for every invoice, whatever the payment means.
- The invoice offers several ways to pay but puts them all into one payment means.
- In CII, a creditor identifier or mandate reference from a direct debit customer was left in a credit transfer invoice.
How do I fix BR-DE-23-b?
- Remove cac:CardAccount and cac:PaymentMandate from the credit transfer cac:PaymentMeans (UBL).
- In CII, remove ram:ApplicableTradeSettlementFinancialCard, ram:PayerPartyDebtorFinancialAccount, ram:CreditorReferenceID and ram:DirectDebitMandateID when you are paid by transfer.
- If the buyer can choose, give each way of paying its own payment means with its own code.
Corrected XML (minimal example we wrote)
UBL
<cac:PaymentMeans> <cbc:PaymentMeansCode>58</cbc:PaymentMeansCode> <cac:PayeeFinancialAccount> <cbc:ID>DE02120300000000202051</cbc:ID> </cac:PayeeFinancialAccount></cac:PaymentMeans>
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)