BR-DE-25-a: Direct debit group (BG-19) missing
Severity: fatal · Syntax: CII, UBL
Official message
Wenn BT-81 "Payment means type code" einen Schlüssel für Lastschriften enthält (59), muss genau BG-19 "DIRECT DEBIT" übermittelt werden.
What this means
If BT-81 contains the direct-debit code 59, BG-19 DIRECT DEBIT must be transmitted. UBL checks cac:PaymentMandate.
Typical cause
Code 59 is set, and the mandate is missing.
How to fix it
Add the direct-debit mandate. Creditor id and account are checked by BR-DE-30 and BR-DE-31, the IBAN shape by BR-DE-20.
UBL
<cac:PaymentMandate>
<cbc:ID>MANDAT-1</cbc:ID>
<cac:PayerFinancialAccount>
<cbc:ID>DE89370400440532013000</cbc:ID>
</cac:PayerFinancialAccount>
</cac:PaymentMandate>CII
<ram:DirectDebitMandateID>MANDAT-1</ram:DirectDebitMandateID>
Business term
BT-81, BG-19
Related rules
Context and assertion
UBL /ubl:Invoice/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = '59'] | /cn:CreditNote/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = '59']
CII /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans[normalize-space(ram:TypeCode) = '59']
UBL
cac:PaymentMandateCII
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:DirectDebitMandateID or /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:CreditorReferenceID or ram:PayerPartyDebtorFinancialAccount/ram:IBANID
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate
Questions
What does BR-DE-25-a actually check?
If BT-81 contains the direct-debit code 59, BG-19 DIRECT DEBIT must be transmitted. UBL checks cac:PaymentMandate.
How do I fix BR-DE-25-a?
Add the direct-debit mandate. Creditor id and account are checked by BR-DE-30 and BR-DE-31, the IBAN shape by BR-DE-20.
If BR-DE-25-a passes, is the invoice legally compliant?
No. This page helps you read this one Schematron assertion. A pass is not a statement about tax law, portal acceptance, or bank overlays.