VRBL-INV-PL-B2B-3-94

Basic Info

Rule When Seller Tax Party Tax Scheme Extension Tax Exemption Indicator is set to true, the Seller Tax Party Tax Scheme Extension Exemption Reason must exist within the Seller Tax Party Tax Scheme Extension.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:PartyTaxSchemeExtension
Pattern vrbl-invoice-pl-b2b-3p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:TaxExemptionReason

Implementation

(
	not(boolean(vrbl:TaxExemptionIndicator)) or vrbl:TaxExemptionIndicator!='true'
)
or
(
	boolean(cbc:TaxExemptionReason)
)