Rules / ALIGNED-IBRP-048
ALIGNED-IBRP-048 error
Each VAT breakdown, except if the Invoice is not subject to VAT or Exempt from Tax
Each VAT breakdown (ibg-23) must have a VAT category rate (ibt-119), except if the Invoice is not subject to VAT or Exempt from Tax.
Fails when this is false
exists(cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:Percent) or (cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/normalize-space(cbc:ID)=('O','E'))The schematron test, verbatim. Context: cac:TaxSubtotal
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.