AF-0100

Der angegebene Wert ist ungültig. Der Prozentsatz eines Skontoeintrages ist nicht eindeutig.

In English Two discounts for early payment have the same percentage.

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 $p in $discounts/*:Percentage return at:dec($p))) = count($discounts/*:Percentage)

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