VRBL-INV-AE-1p0-26
Basic Info
| Rule | The Invoice Line Tax Percent must be greater than 0, when the Invoice Line Tax ID equal "S". |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Implementation
not(cac:Item/cac:ClassifiedTaxCategory[cac:TaxScheme/cbc:ID = 'VAT']/cbc:ID = 'S')
or
number(cac:Item/cac:ClassifiedTaxCategory[cac:TaxScheme/cbc:ID = 'VAT' and cbc:ID = 'S']/cbc:Percent) > 0