VRBL-INV-AE-1p0-25
Basic Info
| Rule | An Invoice that contains Invoiced Item Tax Category Code or Allowance Charge Tax ID equal to "S" shall contain at least one Tax Subtotal with the Tax Subtotal Category ID equal to "S". |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Implementation
not(
cac:AllowanceCharge/cac:TaxCategory/cbc:ID = 'S'
or
cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:ID = 'S'
)
or
(
(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cbc:ID = 'S'])
)