VRBL-INV-PEPPOL-RCM-36
Basic Info
|
Rule
|
The value of the Invoice Period Description Code must be contained in MIMEMediaType [VRBL-CL-PEPPOL-UNTDID-2005]. |
|
Context
|
/ubl:Invoice/cac:InvoicePeriod/cbc:DescriptionCode
|
|
Pattern
|
vrbl-invoice-peppol-bis3p0-reduced-codesmodel |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
.
|
| codeList |
= |
$VRBL-CL-PEPPOL-UNTDID-2005
|
Implementation
not(boolean(.))
or
(
(
not(
contains(
normalize-space(.),
substring($VRBL-CL-PEPPOL-UNTDID-2005, 1, 1)
)
)
and
contains(
$VRBL-CL-PEPPOL-UNTDID-2005,
concat(
substring($VRBL-CL-PEPPOL-UNTDID-2005, 1, 1),
normalize-space(.),
substring($VRBL-CL-PEPPOL-UNTDID-2005, 1, 1)
)
)
)
)