VRBL-INV-AE-1p0-127

Basic Info

Rule When the Allowance Tax ID is 'S' (Standard rated), the Allowance Tax Percent must be exactly 5%.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cac:TaxCategory
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

not(cbc:ID = 'S')
or
number(cbc:Percent) = 5