PEPPOL-EN16931-R053Test expression rewrittenTax total currency rule now permits "0" matching amounts
The condition changed from requiring exactly one tax total amount with currency matching "$documentCurrencyCode" to requiring at most one. The rule message already says "No more than one tax total amount must be provided where currency id equals document currency code." A count of "0" matching tax total amounts is now allowed; before the change it was a violation because the required count was "1".
Original rule text: No more than one tax total amount must be provided where currency id equals document currency code.
PEPPOL-EN16931-R053 rule detailsBefore · 2.0.0
count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID = $documentCurrencyCode]) = 1After · 2.0.1
count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID = $documentCurrencyCode]) <=1