AF-0047

Der angegebene Wert ist ungültig. Das angegebene bis-Datum (…) muss nach dem von-Datum (…) sein.

In English The end of the delivery period is before its start.

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/*:Invoice/*:Delivery | /*:Invoice/*:Details/*:ItemList/*:ListLineItem/*:Delivery
Test
not(*:Period) or xs:date(*:Period/*:ToDate) ge xs:date(*:Period/*:FromDate)

Checked with Austria e-Rechnung.gv.at (ebInterface 6.1), Austria e-Rechnung.gv.at (ebInterface 6.0)