VRBL-INV-FR-1p0-4
Basic Info
| Rule | If the Buyer Party Identification ID is marked as a SIRET-CODE, it must be 14 digits. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID
|
| Pattern | vrbl-invoice-fr-1p0 |
| Severity | fatal |
Used Template: VRBL-FR-schemeID-0009
Implementation
not(@schemeID = '0009')
or
(
string-length(normalize-space(.)) = 14
and
string-length(translate(normalize-space(.), $Numerics, '')) = 0
)