VRBL-INV-FR-CIUS-1p0-43
Basic Info
|
Rule
|
The Invoice Line Actual Delivery Date must be equal to or earlier than 2099-12-31. |
|
Context
|
/ubl:Invoice/cac:InvoiceLine/cac:Delivery/cbc:ActualDeliveryDate
|
|
Pattern
|
vrbl-invoice-fr-cius-1p0 |
|
Severity
|
warning |
Used Template: MaximumDate
| Parameter |
|
Value |
| probe |
= |
.
|
| date |
= |
2099-12-31
|
Implementation
not(boolean(.))
or
number(
concat(
substring(., 1, 4),
substring(., 6, 2),
substring(., 9, 2)
)
)
<=
number(
concat(
substring('2099-12-31', 1, 4),
substring('2099-12-31', 6, 2),
substring('2099-12-31', 9, 2)
)
)