Rules / IBR-053
IBR-053 error
If the Tax accounting currency code must be provided
If the Tax accounting currency code (ibt-006) is present, then the Invoice total Tax amount in accounting currency (ibt-111) must be provided.
Fails when this is false
every $taxcurrency in cbc:TaxCurrencyCode satisfies exists(//cac:TaxTotal/cbc:TaxAmount[@currencyID=$taxcurrency])The schematron test, verbatim. Context: /ubl:Invoice | /cn:CreditNote
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.