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