VRBL-INV-PT-2p1-274

Basic Info

Rule When the Invoice Line Tax Percent is zero, the Invoice Line Tax Exemption Reason Code and the Invoice Line Tax Exemption Reason 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)
)