VRBL-INV-AE-1p0-134

Basic Info

Rule When Document Level Charge Tax Category Code is 'E', the Document Level Charge Tax Exemption Reason Code must exist within the Document Level Charges.
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)
)