VRBL-INV-PL-B2B-3-81

Basic Info

Rule When the Invoice Line Tax Percent is 0, the Invoice Line Tax Exemption Reason Code must exist within the Invoice Line Tax Group.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory
Pattern vrbl-invoice-pl-b2b-3p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:TaxExemptionReasonCode

Implementation

(
	not(number(cbc:Percent) = 0)
)
or
(
	boolean(cbc:TaxExemptionReasonCode)
)