SDI-00443

Non c'è corrispondenza tra i valori indicati nell'elemento 2.2.1.12 <AliquotaIVA> o 2.1.1.7.5 <AliquotaIVA> e quelli dell'elemento 2.2.2.1 <AliquotaIVA>

In English A VAT rate on a line (2.2.1.12) or a pension fund contribution (2.1.1.7.5) is not among the rates of the summaries (2.2.2.1).

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
/p:FatturaElettronica/FatturaElettronicaBody/DatiBeniServizi/DettaglioLinee
Test
some $s in $summaries/AliquotaIVA satisfies it:dec($s) = $rate

Checked with FatturaPA 1.2.3

Context
/p:FatturaElettronica/FatturaElettronicaBody/DatiGenerali/DatiGeneraliDocumento/DatiCassaPrevidenziale
Test
some $s in $summaries/AliquotaIVA satisfies it:dec($s) = $rate

Checked with FatturaPA 1.2.3