Rules / IBR-111-AE
An Invoice line where the VAT category code is 'Standard rate additional VAT' the Invoiced item VAT rate should not be zero
An Invoice line (IBG-25) where the VAT category code (IBT-151) is 'Standard rate additional VAT' the Invoiced item VAT rate (IBT-152) should not be zero.
Fails when this is false
(cac:Item/cac:ClassifiedTaxCategory/cbc:ID="N" and cac:Item/cac:ClassifiedTaxCategory/cbc:Percent > 0) or not(cac:Item/cac:ClassifiedTaxCategory/cbc:ID="N")The schematron test, verbatim. Context: cac:InvoiceLine | cac:CreditNoteLine
Fix
Change the data so the condition below holds. It reads cac:ClassifiedTaxCategory, cac:Item, cbc:ID, cbc:Percent. Paste the invoice into the validator to see the exact element that fails.