VRBL-INV-CORE-618

Basic Info

Rule The Withholding Tax Subtotal Extensions Group must not contain VRBL extensions of other elements.
Context /ubl:Invoice/cac:WithholdingTaxTotal/cac:TaxSubtotal/cec:UBLExtensions
Pattern vrbl-invoice-core
Severity fatal

Implementation

count(
	cec:UBLExtension/cec:ExtensionContent/*[
		namespace-uri() = 'urn:vertexinc:vrbl:ExtensionComponent:1'
		and
		local-name() != 'WithholdingTaxSubtotalExtension'
	]
)
=
0