VRBL-INV-FR-1p0-2
Basic Info
|
Rule
|
If the Seller Endpoint ID is a SIRET-CODE, both the Seller Group and the Buyer Group must be identified by a SIRET-CODE. |
|
Context
|
/ubl:Invoice
|
|
Pattern
|
vrbl-invoice-fr-1p0 |
|
Severity
|
fatal |
Implementation
not(boolean(cac:AccountingSupplierParty/cac:Party/cbc:EndpointID[@schemeID = '0009']))
or
(
boolean(cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = '0009'])
and
boolean(cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID = '0009'])
)