VRBL-INV-IT-1p2-179

Basic Info

Rule For Social Security Charges, the Charge Tax Percent must not be lower than 1, except if it is exactly 0.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cac:TaxCategory/cbc:Percent
Pattern vrbl-invoice-it-1p2
Severity fatal

Implementation

not(
	../../cbc:AllowanceChargeReasonCode = concat($VRBL-IT-Prefix, 'ZZZ')
)
or
(
	. = 0 or . >= 1
)