VRBL-INV-SA-1p2-142

Basic Info

Rule When the Invoice Line Tax ID is "S"- "Standard rated", the Invoice Line Tax Percent must be limited to one of the following values (5 or 15).
Context /ubl:Invoice/cac:InvoiceLine/cac:Item
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

not(contains( ' S ',cac:ClassifiedTaxCategory/cbc:ID)) or cac:ClassifiedTaxCategory/cbc:Percent = 5 or cac:ClassifiedTaxCategory/cbc:Percent = 15