VRBL-INV-PT-2p1-64
Basic Info
|
Rule
|
The value of the Seller Party Legal Entity Company ID Scheme ID must be contained in ISO 6523 ICD [VRBL-CL-PT-IdentificationSchemeID]. |
|
Context
|
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
|
|
Pattern
|
vrbl-invoice-pt-2p1 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
@schemeID
|
| codeList |
= |
$VRBL-CL-PT-IdentificationSchemeID
|
Implementation
not(boolean(@schemeID))
or
(
(
not(
contains(
normalize-space(@schemeID),
substring($VRBL-CL-PT-IdentificationSchemeID, 1, 1)
)
)
and
contains(
$VRBL-CL-PT-IdentificationSchemeID,
concat(
substring($VRBL-CL-PT-IdentificationSchemeID, 1, 1),
normalize-space(@schemeID),
substring($VRBL-CL-PT-IdentificationSchemeID, 1, 1)
)
)
)
)