VRBL-INV-AE-1p0-134

Basic Info

Rule When Charge Tax ID is 'E', the Charge Tax Exemption Reason Code must exist within the Charge Group.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
Pattern vrbl-invoice-AE-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:TaxCategory/cbc:TaxExemptionReasonCode

Implementation

(
	not(cac:TaxCategory/cbc:ID = 'E')
)
or
(
	boolean(cac:TaxCategory/cbc:TaxExemptionReasonCode)
)