VRBL-INV-HR-CIUS-1p0-84

Basic Info

Rule The Payment Due Date must be equal to or later than 1900-01-01.
Context /ubl:Invoice/cac:PaymentMeans/cbc:PaymentDueDate
Pattern vrbl-invoice-hr-cius-1p0
Severity fatal

Used Template: MinimumDate

Parameter Value
probe = .
date = 1900-01-01

Implementation

not(boolean(.))
or
number(
	concat(
		substring(., 1, 4),
		substring(., 6, 2),
		substring(., 9, 2)
	)
)
>=
number(
	concat(
		substring('1900-01-01', 1, 4),
		substring('1900-01-01', 6, 2),
		substring('1900-01-01', 9, 2)
	)
)