VRBL-INV-AU-1p0-61
Basic Info
| Rule | The Invoice Line Tax Percent must not exist, when the Invoice Line Tax ID equal "O". |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-au-1p0 |
| Severity | fatal |
Implementation
not(boolean(cac:Item/cac:ClassifiedTaxCategory[cac:TaxScheme/cbc:ID = 'GST']/cbc:ID = 'O'))
or
not(boolean(cac:Item/cac:ClassifiedTaxCategory[cac:TaxScheme/cbc:ID = 'GST']/cbc:Percent))