VRBL-INV-US-DBNA-1p0-50
Basic Info
|
Rule
|
The value of the Seller Party ID Scheme ID must be contained in Party Identification Scheme ID [VRBL-CL-US-PartyIdentification-SchemeID]. Allowed values: 0060, 0088, 0199, 9959. |
|
Context
|
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
|
|
Pattern
|
vrbl-invoice-us-dbna-1p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
@schemeID
|
| codeList |
= |
$VRBL-CL-US-PartyIdentification-SchemeID
|
| showValues |
= |
true
|
Implementation
not(boolean(@schemeID))
or
(
(
not(
contains(
normalize-space(@schemeID),
substring($VRBL-CL-US-PartyIdentification-SchemeID, 1, 1)
)
)
and
contains(
$VRBL-CL-US-PartyIdentification-SchemeID,
concat(
substring($VRBL-CL-US-PartyIdentification-SchemeID, 1, 1),
normalize-space(@schemeID),
substring($VRBL-CL-US-PartyIdentification-SchemeID, 1, 1)
)
)
)
)