VRBL-INV-SA-1p2-113

Basic Info

Rule An Invoice line where the Invoice Line Tax ID is "Not subject to VAT", the Invoice Line Tax Percent must be 0 (zero), if exist.
Context /ubl:Invoice/cac:InvoiceLine
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

not(cac:Item/cac:ClassifiedTaxCategory/cbc:ID = 'O') or cac:Item/cac:ClassifiedTaxCategory/cbc:Percent = 0 or count(cac:Item/cac:ClassifiedTaxCategory/cbc:Percent)=0