PintLint

Rules / IBR-077

IBR-077 error

Tax accounting currency code when provided

Tax accounting currency code (ibt-006) must be different from invoice currency code (ibt-005) when provided.

Fails when this is false

not(normalize-space(text()) = normalize-space(../cbc:DocumentCurrencyCode/text()))

The schematron test, verbatim. Context: cbc:TaxCurrencyCode

Fix

Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check an invoice