VRBL-INV-CORE-657

Basic Info

Rule The Seller Tax Extensions Group must not contain VRBL extensions of other elements.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cec:UBLExtensions
Pattern vrbl-invoice-core
Severity fatal

Used Template: UBLExtensions_2

Implementation

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