VRBL-INV-AE-1p0-105

Basic Info

Rule When the Invoice Line Tax ID is 'O' (Not Subject to VAT), the Invoice Line Tax Amount) MUST be zero.
Context /ubl:Invoice/cac:InvoiceLine
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

not(cac:Item/cac:ClassifiedTaxCategory/cbc:ID = 'Z' and cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme/cbc:ID = 'VAT')
or
number(cac:TaxTotal/cbc:TaxAmount) = 0