VRBL-INV-AE-1p0-10

Basic Info

Rule An Line Tax Information with Invoiced Item Tax Scheme Codethat contains Invoiced Item Tax Category Code = 'AE', shall contain the Invoiced Item Tax Rate greater or equal to 0.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

not(
(cac:TaxScheme/cbc:ID = 'VAT') and (cbc:ID = 'AE')
)
or
(
number(cbc:Percent) >= 0
)