VRBL-INV-CORE-333

Basic Info

Rule When Charge Tax ID is not 'O', the Charge Tax Percent must exist within the Charge Tax Category Group.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cac:TaxCategory
Pattern vrbl-invoice-core
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:Percent

Implementation

(
	cbc:ID = 'O'
)
or
(
	boolean(cbc:Percent)
)