BR-NL-33

The rule sets below word this rule differently; each wording is shown with its rule set.

warning: reported, still valid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Message

The use of a tax total in accounting currency (cac:TaxTotal/cbc:TaxAmount/@currencyID different than DocumentCurrencyCode) is not recommended

Context
cac:TaxTotal/cbc:TaxAmount[$s]
Test
@currencyID = //cbc:DocumentCurrencyCode

Checked with Netherlands SI-UBL 2.0 Invoice (NLCIUS), Netherlands SI-UBL 2.0 Credit Note (NLCIUS)

Message

The use of a tax total in accounting currency (ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount@currencyID different than InvoiceCurrencyCode) is not recommended

Context
ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[$s]
Test
@currencyID = ../../ram:InvoiceCurrencyCode

Checked with Netherlands NLCIUS Invoice (CII)