VRBL-INV-MY-1p0-52
Basic Info
|
Rule
|
The value of the Buyer Party Identification Scheme ID must be contained in ISO 6523 ICD [VRBL-CL-IdentificationSchemeID] or be contained in MY Party Identification Scheme ID [VRBL-CL-MY-PartyIdentificationSchemeID] (prefixed by 'VRBL:MY:'). For more information visit: https://docs.peppol.eu/poacc/billing/3.0/2025-Q4/codelist/ICD/ |
|
Context
|
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID
|
|
Pattern
|
vrbl-invoice-my-1p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
@schemeID
|
| codeList |
= |
$VRBL-CL-IdentificationSchemeID or $VRBL-MY-Prefix:$VRBL-CL-MY-PartyIdentificationSchemeID
|
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-MY-Prefix)) = $VRBL-MY-Prefix
and
not(
contains(
substring-after(normalize-space(@schemeID), $VRBL-MY-Prefix),
substring($VRBL-CL-MY-PartyIdentificationSchemeID, 1, 1)
)
)
and
contains(
$VRBL-CL-MY-PartyIdentificationSchemeID,
concat(
substring($VRBL-CL-MY-PartyIdentificationSchemeID, 1, 1),
substring-after(normalize-space(@schemeID), $VRBL-MY-Prefix),
substring($VRBL-CL-MY-PartyIdentificationSchemeID, 1, 1)
)
)
)
)