Rules
VRBL-REA-TR-1p2-28
Basic Info
| Rule | For %{@schemeID} equal to VRBL:TR:TCKN, the Receipt Advice Buyer Party Identification ID must contain exactly 11 characters. |
| Context |
/ubl:ReceiptAdvice/cac:DeliveryCustomerParty/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
)