Rules / IBR-169-AE
IBR-169-AE error
Document level charge as 'Exempt from VAT' must have a Document level charge VAT…
Document level charge (IBG-21) with Document level charge VAT category code (IBT-102) as 'Exempt from VAT' must have a Document level charge VAT exemption reason code (IBT-198).
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 = true()]
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.