EBI61-0019
Der angegebene Wert ist ungültig. Der Prozentsatz für den Skontoeintrag mit dem späteren Datum darf nicht größer sein, als der Prozentsatz für den Skontoeintrag mit dem früheren Datum.
In English A discount for early payment with a later date may not have a higher percentage than one with an earlier date.
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.
/*:Invoice/*:PaymentConditions
every $a in $discounts[*:Percentage], $b in $discounts[*:Percentage] satisfies not(xs:date($b/*:PaymentDate) gt xs:date($a/*:PaymentDate) and at:dec($b/*:Percentage) gt at:dec($a/*:Percentage))
Checked with Austria e-Rechnung.gv.at (ebInterface 6.1), Austria e-Rechnung.gv.at (ebInterface 6.0)