Rules / IBR-168-AE
IBR-168-AE error
Document level allowances as 'Exempt from VAT' must have a Document level allowance VAT…
Document level allowances (IBG-20) with Document level allowance VAT category code (IBT-095) as 'Exempt from VAT' must have a Document level allowance VAT exemption reason code (IBT-196).
Fails when this is false
not(cac:TaxCategory/cbc:ID = "E" and not(exists(cbc:AllowanceChargeReasonCode)))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.