Rules / ALIGNED-IBRP-032
ALIGNED-IBRP-032 error
Each Document level allowance
Each Document level allowance (ibg-20) must have a Document level allowance VAT category code (ibt-095).
Fails when this is false
not(parent::ubl:Invoice|parent::cn:CreditNote) or exists(cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID)The schematron test, verbatim. Context: cac:AllowanceCharge[cbc:ChargeIndicator = false()][not(ancestor::cac:Price)]
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.