VRBL-INV-CORE-654
Basic Info
| Rule | The Invoice Document Reference Extensions Group must not contain more than one VRBL extension. |
| Context |
/ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cec:UBLExtensions
|
| Pattern | vrbl-invoice-core |
| Severity | fatal |
Used Template: UBLExtensions
Implementation
count(
cec:UBLExtension/cec:ExtensionContent/*[
namespace-uri() = 'urn:vertexinc:vrbl:ExtensionComponent:1'
and
local-name() = concat(local-name(../../../..), 'Extension')
]
)
<=
1