VRBL-INV-HU-1p0-29
Basic Info
|
Rule
|
The value of the Payment Means Payment Means Code must be contained in Payment Means Code [VRBL-CL-HU-PaymentMeansCode]. Allowed values: 1, 10, 30, 31, 58. |
|
Context
|
/ubl:Invoice/cac:PaymentMeans/cbc:PaymentMeansCode
|
|
Pattern
|
vrbl-invoice-hu-1p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
.
|
| codeList |
= |
$VRBL-CL-HU-PaymentMeansCode
|
| showValues |
= |
true
|
Implementation
not(boolean(.))
or
(
(
not(
contains(
normalize-space(.),
substring($VRBL-CL-HU-PaymentMeansCode, 1, 1)
)
)
and
contains(
$VRBL-CL-HU-PaymentMeansCode,
concat(
substring($VRBL-CL-HU-PaymentMeansCode, 1, 1),
normalize-space(.),
substring($VRBL-CL-HU-PaymentMeansCode, 1, 1)
)
)
)
)