AF-0077

Der angegebene Wert ist ungültig. Die angegebene Nettosumme (…) stimmt nicht mit der Summe aller relevanten Rechnungszeilen überein (…).

In English The taxable amount in the tax summary does not match the sum of the lines with that VAT rate.

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
$invoice/*:ReductionAndSurchargeDetails or not($lines) or abs(at:dec(*:TaxableAmount) - $lineSum) le 0.01

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