XRechnung 2.0.0 · CIIStored validation assertion
PEPPOL-EN16931-R054
XRechnung 2.0.0 · CII
warningformat
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.
count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID != $documentCurrencyCode]) = (if (ram:TaxCurrencyCode) then 1 else 0)