# EBI61-0017

Source: https://xmlvalid.com/rules/EBI61-0017

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

- Level: error
- Rule sets: e-Rechnung.gv.at checks (ebInterface) Fehlerliste, October 2026
- Context: `/*:Invoice/*:PaymentConditions/*:Discount`
- Test: `not(../*:DueDate) or xs:date(*:PaymentDate) lt xs:date(../*:DueDate)`

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

Validate a document against these rules: https://xmlvalid.com/validate
