BR-DE-23-a: what it means and how to fix it
When the payment means code is a credit transfer (30 or 58), the credit transfer details must be given.
| Rule | BR-DE-23-a |
|---|---|
| Standard | XRechnung 3.0 (the German CIUS of EN 16931, published by KoSIT) |
| Severity | Error (the invoice is not conformant) |
| Concerns | BT-81, BG-17: Payment means type code, Credit transfer |
How to fix it
Add the IBAN (and optionally BIC and account holder).
Where the field is in the XML
| Term | CII (XRechnung-CII, ZUGFeRD, Factur-X) | UBL (XRechnung-UBL, Peppol) |
|---|---|---|
| BT-81 Payment means type code | ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode | cac:PaymentMeans/cbc:PaymentMeansCode |
| BG-17 Credit transfer | ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount | cac:PaymentMeans/cac:PayeeFinancialAccount |
From your code
curl -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/xml" \
--data-binary @invoice.xml "https://agent-data-tools.revmesh2074.workers.dev/einvoice/validate"
The answer lists every broken rule with its number, the field, a message with the figures from your file and the fix. E-invoice API: validate, convert to JSON, and create XRechnung or ZUGFeRD XML from JSON.
Questions
What does BR-DE-23-a mean?
When the payment means code is a credit transfer (30 or 58), the credit transfer details must be given. It is a rule of XRechnung 3.0 (the German CIUS of EN 16931, published by KoSIT).
How do I fix BR-DE-23-a?
Add the IBAN (and optionally BIC and account holder).
Is BR-DE-23-a an error or a warning?
An error: a validator reports the invoice as not conformant, and a recipient that validates incoming e-invoices can reject it.
Does BR-DE-23-a apply to ZUGFeRD and Factur-X too?
Only when the file declares the XRechnung specification identifier (the ZUGFeRD profile "XRECHNUNG" does). Files in the plain EN 16931 profile are checked against the European rules, not the German additions.
Rule numbers are those of XRechnung 3.0 (KoSIT); the explanation is ours. Not tax or legal advice.