ibr-077
Tax accounting currency code (ibt-006) MUST be different from invoice currency code (ibt-005) when provided.
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.
cbc:TaxCurrencyCode
not(normalize-space(text()) = normalize-space(../cbc:DocumentCurrencyCode/text()))
Checked with PINT SG Invoice, PINT SG Credit Note, PINT JP Invoice, PINT A-NZ Invoice, PINT A-NZ Credit Note, PINT MY Invoice, PINT MY Credit Note