VRBL-INV-FR-CIUS-1p0-32

Basic Info

Rule The Invoice Document Reference Issue Date must be equal to or later than 2000-01-01.
Context /ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:IssueDate
Pattern vrbl-invoice-fr-cius-1p0
Severity warning

Used Template: MinimumDate

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

Implementation

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