Rules
Basic Info
|
Rule
|
For Receipt Advice Seller Party Identification Scheme ID equal to VRBL:TR:VKN, the Receipt Advice Seller Party Identification ID must contain exactly 10 characters. |
|
Context
|
/ubl:ReceiptAdvice/cac:DespatchSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
|
|
Pattern
|
vrbl-receiptadvice-tr-1p2 |
|
Severity
|
fatal |
Used Template: StringLength
| Parameter |
|
Value |
| length |
= |
10
|
| probe |
= |
.
|
Implementation
(
not(@schemeID=concat($VRBL-TR-Prefix, 'VKN'))
)
or
(
string-length(normalize-space(.)) = 10
)