VRBL-INV-PT-2p1-274

Basic Info

Rule When the Invoiced Item Tax Rate is zero, the Tax Exemption Reason Code and the Tax Exemption Reason Text must be filled.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory
Pattern vrbl-invoice-pt-2p1
Severity fatal

Implementation

not(cbc:Percent = 0)
or
(
	boolean(cbc:TaxExemptionReasonCode)
	and
	boolean(cbc:TaxExemptionReason)
)