XRechnung 2.3.0 · CII

PEPPOL-EN16931-R054

XRechnung 2.3.0 · CII

fatalformat

Original rule text

Only one tax total amount must be provided where currency id equals tax currency code, if tax currency code (BT-6) is provided.

Stored validation assertion
                     count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID != $documentCurrencyCode]) = (if (ram:TaxCurrencyCode) then                         1                     else                         0)