VRBL-INV-IT-1p2-170

Basic Info

Rule For Social Security Charges, the Charge Tax Percent must exist within the Charge Group.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
Pattern vrbl-invoice-it-1p2
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:TaxCategory/cbc:Percent

Implementation

(
	not(cbc:AllowanceChargeReasonCode = concat($VRBL-IT-Prefix, 'ZZZ'))
)
or
(
	boolean(cac:TaxCategory/cbc:Percent)
)