BR-DE-24-a XRechnung: card details missing
For a card payment (code 48, 54 or 55), an XRechnung must include exactly one set of card details.
What the rule says
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.
The rule's official wording (CEN / KoSIT). The German XRechnung rules are published in German.
Why it happens
The payment method is a card payment (BT-81 = 48, 54 or 55), but the invoice has no payment card group (BG-18), or more than one.
How to fix it
Add the card details: the last 4 digits of the card number, never the full number.
Applies to
XRechnung only (German rules by KoSIT).
More about BR-DE-24-a
XRechnung checks that the payment details match the payment method code (BT-81): a transfer comes with bank account details for the payee (BG-17), a card payment with card details (BG-18), a direct debit with mandate details (BG-19), and each method with its own group only.
For card payments, the invoice should never contain the full card number (BT-87): card security standards allow at most the first 6 and last 4 digits, and most invoices show only the last 4. Filekin asks for the last 4 digits when you choose card payment for an XRechnung.
The fields involved
- BT-81 Payment means type code
- CII
ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode - UBL
cac:PaymentMeans/cbc:PaymentMeansCode - BG-18 Payment card information
- CII
ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard - UBL
cac:PaymentMeans/cac:CardAccount - BT-87 Payment card primary account number
- CII
ram:ApplicableTradeSettlementFinancialCard/ram:ID - UBL
cac:CardAccount/cbc:PrimaryAccountNumberID
Typical situations
- The invoice was marked "paid by card" without any card details.
- The software writes the card group once per payment.
Example
A card payment with the last digits, in CII:
<ram:SpecifiedTradeSettlementPaymentMeans>
<ram:TypeCode>48</ram:TypeCode>
<ram:ApplicableTradeSettlementFinancialCard>
<ram:ID>4242</ram:ID>
</ram:ApplicableTradeSettlementFinancialCard>
</ram:SpecifiedTradeSettlementPaymentMeans>