BR-DE-24-a: Card payment without PAYMENT CARD INFORMATION (BG-18)
Severity: fatal · Syntax: CII, UBL
Official message
Wenn BT-81 "Payment means type code" einen Schlüssel für Kartenzahlungen enthält (48, 54, 55), muss genau BG-18 "PAYMENT CARD INFORMATION" übermittelt werden.
What this means
If BT-81 contains a card code (48, 54 or 55), BG-18 must be transmitted. UBL checks cac:CardAccount. CII checks ram:ApplicableTradeSettlementFinancialCard.
Typical cause
The code says card, and the card block is missing.
How to fix it
Add the card information the group BG-18 requires.
UBL
<cac:CardAccount>
<cbc:PrimaryAccountNumberID>1234</cbc:PrimaryAccountNumberID>
<cbc:NetworkID>VISA</cbc:NetworkID>
</cac:CardAccount>CII
<ram:ApplicableTradeSettlementFinancialCard>
<ram:ID>1234</ram:ID>
</ram:ApplicableTradeSettlementFinancialCard>
Business term
BT-81, BG-18
Related rules
Context and assertion
UBL /ubl:Invoice/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = ('48','54','55')] |/cn:CreditNote/cac:PaymentMeans[normalize-space(cbc:PaymentMeansCode) = ('48','54','55')]
CII /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans[normalize-space(ram:TypeCode) = ('48','54','55')]
UBL
cac:CardAccountCII
ram:ApplicableTradeSettlementFinancialCard
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate
Questions
What does BR-DE-24-a actually check?
If BT-81 contains a card code (48, 54 or 55), BG-18 must be transmitted. UBL checks cac:CardAccount. CII checks ram:ApplicableTradeSettlementFinancialCard.
How do I fix BR-DE-24-a?
Add the card information the group BG-18 requires.
If BR-DE-24-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.