VRBL-INV-NL-1p0-7
Basic Info
|
Rule
|
When the Seller Group is from the Netherlands, the value of the Payment Means Payment Means Code must be contained in NL UNCL 4461 [VRBL-CL-NL-UNCL-4461]. Allowed values: 30, 48, 49, 57, 58, 59. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/ |
|
Context
|
/ubl:Invoice/cac:PaymentMeans/cbc:PaymentMeansCode
|
|
Pattern
|
vrbl-invoice-nl-1p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
.
|
| codeList |
= |
$VRBL-CL-NL-UNCL-4461
|
| showValues |
= |
true
|
Implementation
(
not($NLSupplierCountry = 'NL')
)
or
(
not(boolean(.))
or
(
(
not(
contains(
normalize-space(.),
substring($VRBL-CL-NL-UNCL-4461, 1, 1)
)
)
and
contains(
$VRBL-CL-NL-UNCL-4461,
concat(
substring($VRBL-CL-NL-UNCL-4461, 1, 1),
normalize-space(.),
substring($VRBL-CL-NL-UNCL-4461, 1, 1)
)
)
)
)
)