XRechnung 2.0.0 · CII

BR-DE-24-a

XRechnung 2.0.0 · CII

fatalcountry

Original rule text

[BR-DE-24-a] 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.

Stored validation assertion
ram:ApplicableTradeSettlementFinancialCard

What this rule requires

The rule requires that, whenever the payment means type code (cbc:PaymentMeansCode in UBL, ram:TypeCode in CII) is one of the card payment codes 48, 54, or 55, the payment means element must include the payment card information group (cac:CardAccount in UBL, ram:ApplicableTradeSettlementFinancialCard in CII). A document fails when such a payment means does not contain the required card account child element.

How to fix

In the relevant cac:PaymentMeans element with cbc:PaymentMeansCode = 48, 54, or 55, add a child cac:CardAccount element. In CII, add a child ram:ApplicableTradeSettlementFinancialCard under ram:SpecifiedTradeSettlementPaymentMeans when ram:TypeCode is 48, 54, or 55.

Guidance on this rule. The original text above is authoritative.