VRBL-INV-HU-1p0-46

Basic Info

Rule When Invoice Line Tax ID is O, the Invoice Line Tax Exemption Reason Code and the Invoice Line Tax Exemption Reason must be provided.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory
Pattern vrbl-invoice-hu-1p0
Severity fatal

Implementation

not(cbc:ID='O')
or(
	boolean(cbc:TaxExemptionReasonCode)
	and
	boolean(cbc:TaxExemptionReason)
)