VRBL-STM-PMT-CORE-10
Basic Info
|
Rule
|
The Statement Line Invoice Document Reference Extensions Group must not contain more than one VRBL extension. |
|
Context
|
/ubl:Statement/cac:StatementLine/cac:BillingReference/cac:InvoiceDocumentReference/cec:UBLExtensions
|
|
Pattern
|
vrbl-payments-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