VRBL-INV-FR-CIUS-1p0-25

Basic Info

Rule The Invoice Line Invoice Document Reference ID must have less than 35 characters and consist of only letters, numbers, plus, hyphens, underscores and slashes.
Context /ubl:Invoice/cac:InvoiceLine/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID
Pattern vrbl-invoice-fr-cius-1p0
Severity warning

Used Template: VRBL-FR-ID-Format

Parameter Value
probe = .

Implementation

(string-length(.) <= 35)
and
(string-length(translate(., concat($AlphabetUpperCase, $AlphabetLowerCase, $Numerics, '+-_/'), '')) = 0)