VRBL-INV-IT-1p2-169

Basic Info

Rule For Social Security Charges, the Charge Tax ID 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:ID

Implementation

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