VRBL-INV-FR-CIUS-1p0-236
Basic Info
|
Rule
|
If the Seller Service Provider Party Legal Entity Company ID is marked as a SIREN-CODE, it must be 9 digits. |
|
Context
|
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:ServiceProviderParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
|
|
Pattern
|
vrbl-invoice-fr-cius-1p0 |
|
Severity
|
warning |
Used Template: VRBL-FR-schemeID-0002
Implementation
not(@schemeID = '0002')
or
(
string-length(normalize-space(.)) = 9
and
string-length(translate(normalize-space(.), $Numerics, '')) = 0
)