VRBL-INV-AE-1p0-108

Basic Info

Rule When Allowance Tax ID is 'E', the Allowance Tax Exemption Reason Code must exist within the Allowance Group.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']
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)
)