Rules
VRBL-INV-FR-CIUS-1p0-B2G-3
Basic Info
|
Rule
|
For B2G, the Seller Party ID with an allowed Private Identification Scheme ID must exist within the Invoice. |
|
Context
|
/ubl:Invoice
|
|
Pattern
|
vrbl-invoice-fr-cpro-b2g |
|
Severity
|
warning |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[contains($VRBL-CL-FR-CPRO-AllowedPrivateIDScheme, concat(' ', @schemeID, ' '))]
|
| displayName_probe |
= |
%{cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID} with an allowed Private Identification Scheme ID
|
Implementation
(
not($isB2G)
)
or
(
boolean(cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[contains($VRBL-CL-FR-CPRO-AllowedPrivateIDScheme, concat(' ', @schemeID, ' '))])
)