VRBL-INV-FR-CIUS-1p0-259
Basic Info
| Rule | If the Invoice Line Manufacturer Party Legal Entity Company ID is marked as a SIREN-CODE, it must be 9 digits. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ManufacturerParty/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
)