EBI61-0017

Der angegebene Wert ist ungültig. Das Datum des Skontoeintrages (…) muss vor dem Fälligkeitsdatum/Zahlungsziel der Rechnung (…) liegen.

In English The date of a discount for early payment must be before the due date.

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/*:PaymentConditions/*:Discount
Test
not(../*:DueDate) or xs:date(*:PaymentDate) lt xs:date(../*:DueDate)

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