VRBL-INV-FR-CIUS-1p0-276
Basic Info
| Rule | If the Seller Party ID is marked as a SIREN-CODE, it must be 9 digits. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
|
| 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
)