VRBL-INV-AE-1p0-84

Basic Info

Rule When the Tax Point Date is present, it MUST be before the Issue Date.
Context /ubl:Invoice
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

not(cbc:TaxPointDate)
or
(number(translate(cbc:TaxPointDate, '-', '')) < number(translate(cbc:IssueDate, '-', '')))