Rules
VRBL-DPA-RS-1p0-25
Basic Info
| Rule | When Seller Party Identification Scheme ID is 'VRBL:RS:JBKJS', the Seller Party Identification ID MUST consist of exactly 5 digits. |
| Context |
/ubl:DespatchAdvice/cac:DespatchSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
|
| Pattern | vrbl-despatchadvice-rs-1p0 |
| Severity | fatal |
Implementation
not(@schemeID = 'VRBL:RS:JBKJS')
or
(
string-length(normalize-space(.)) = 5
and
translate(normalize-space(.), '0123456789', '') = ''
)