EBI61-0018

Der angegebene Wert ist ungültig. Das Zahlungsdatum des Skontoeintrages wurde bereits in einem vorherigen Skontoeintrag verwendet.

In English Two discounts for early payment have the same 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
Test
count(distinct-values(for $d in $discounts/*:PaymentDate return xs:date($d))) = count($discounts)

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