aligned-ibr-jp-05

If Tax accounting currency (ibt-006) is present, it shall be coded using JPY in ISO code list of 4217 a-3.

error: the document is invalid

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.

Context
/ubl:Invoice | /cn:CreditNote
Test
not(exists(cbc:TaxCurrencyCode)) or cbc:TaxCurrencyCode = 'JPY'

Checked with PINT JP Invoice