AF-0031

Der angegebene Wert ist ungültig. Für den angegebenen Steuerprozentsatz …% (…) wurde keine passende Rechnungszeile gefunden.

In English The tax summary has a VAT rate that no line has.

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/*:Tax/*:TaxItem
Test
$lines or $invoice/*:ReductionAndSurchargeDetails/*/*:TaxItem[at:key(.) = $key]

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