VRBL-INV-FR-CIUS-1p0-147

Basic Info

Rule When there are multiple Note of type BAR, their values must be equal.
Context /ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:Note
Pattern vrbl-invoice-fr-cius-1p0
Severity warning

Implementation

not(@code = 'BAR')
or
. = ../vrbl:Note[@code = 'BAR'][1]