Rules
Basic Info
|
Rule
|
When the Buyer Service Provider Party Legal Entity Company ID is used as a SIREN, the Buyer Service Provider Party Legal Entity Company ID must contain exactly 9 characters. |
|
Context
|
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:ServiceProviderParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
|
|
Pattern
|
vrbl-invoice-fr-cius-1p0 |
|
Severity
|
warning |
Used Template: StringLength
| Parameter |
|
Value |
| probe |
= |
.
|
| length |
= |
9
|
Implementation
(
@schemeID!=''
)
or
(
string-length(normalize-space(.)) = 9
)