SDI-00414

2.1.1.7.7 <Natura> presente a fronte di 2.1.1.7.5 <AliquotaIVA> diversa da zero

In English Natura (2.1.1.7.7) is given on a pension fund contribution whose VAT rate (2.1.1.7.5) is not zero.

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/DatiGenerali/DatiGeneraliDocumento/DatiCassaPrevidenziale
Test
$rate = 0 or not(Natura)

Checked with FatturaPA 1.2.3