VRBL-INV-IT-1p2-141
Basic Info
| Rule | When used for Drivers License ID, the allowed maximum number of characters for the Carrier Person Identity Document Reference ID is 20. |
| Context |
/ubl:Invoice/cac:Delivery/cac:CarrierParty/cac:Person/cac:IdentityDocumentReference/cbc:ID
|
| Pattern | vrbl-invoice-it-1p2 |
| Severity | fatal |
Used Template: MaximumStringLength
| Parameter | Value | |
|---|---|---|
| probe | = |
.
|
| length | = |
20
|
Implementation
(
not(../cbc:DocumentTypeCode = '40')
)
or
(
string-length(normalize-space(.)) <= 20
)