VRBL-INV-FR-CIUS-1p0-138
Basic Info
| Rule | If the Seller ID is marked as a FRCTC Routing Code, it must be a code consisting of letters, numbers, the symbols plus, hyphen, underscore, or slash, and it must be at most 100 characters long. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
|
| Pattern | vrbl-invoice-fr-cius-1p0 |
| Severity | warning |
Used Template: VRBL-FR-schemeID-0224
Implementation
not(@schemeID = '0224')
or
(
string-length(.) <= 100
and
string-length(translate(normalize-space(.), concat($AlphabetUpperCase, $AlphabetLowerCase, $Numerics, '+-_/'), '')) = 0
)