Message

When TAX category code is "Standard rated" (S) the TAX rate SHALL be greater than zero.

Context
cac:TaxCategory | cac:ClassifiedTaxCategory
Test
not(normalize-space(cbc:ID)='S') or (cbc:Percent) > 0
Usage
/ ubl:Order / cac:AllowanceCharge / cac:TaxCategory / cbc:Percent
/ ubl:Order / cac:OrderLine / cac:LineItem / cac:Item / cac:ClassifiedTaxCategory / cbc:Percent