VRBL-INV-MX-1p0-72
Basic Info
|
Rule
|
The value of the Seller Party Identification Scheme ID must be contained in ISO 6523 ICD [VRBL-CL-IdentificationSchemeID] or be contained in MX Identification scheme ID [VRBL-CL-MX-IdentificationSchemeID] (prefixed by 'VRBL:MX:'). For more information visit: https://docs.peppol.eu/poacc/billing/3.0/2025-Q4/codelist/ICD/ |
|
Context
|
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
|
|
Pattern
|
vrbl-invoice-mx-1p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
@schemeID
|
| codeList |
= |
$VRBL-CL-IdentificationSchemeID or $VRBL-MX-Prefix:$VRBL-CL-MX-IdentificationSchemeID
|
Implementation
not(boolean(@schemeID))
or
(
(
not(
contains(
normalize-space(@schemeID),
substring($VRBL-CL-IdentificationSchemeID, 1, 1)
)
)
and
contains(
$VRBL-CL-IdentificationSchemeID,
concat(
substring($VRBL-CL-IdentificationSchemeID, 1, 1),
normalize-space(@schemeID),
substring($VRBL-CL-IdentificationSchemeID, 1, 1)
)
)
)
)
or
(
(
substring(normalize-space(@schemeID), 1, string-length($VRBL-MX-Prefix)) = $VRBL-MX-Prefix
and
not(
contains(
substring-after(normalize-space(@schemeID), $VRBL-MX-Prefix),
substring($VRBL-CL-MX-IdentificationSchemeID, 1, 1)
)
)
and
contains(
$VRBL-CL-MX-IdentificationSchemeID,
concat(
substring($VRBL-CL-MX-IdentificationSchemeID, 1, 1),
substring-after(normalize-space(@schemeID), $VRBL-MX-Prefix),
substring($VRBL-CL-MX-IdentificationSchemeID, 1, 1)
)
)
)
)