SDI-00413

2.1.1.7.7 <Natura> non presente a fronte di 2.1.1.7.5 <AliquotaIVA> pari a zero

In English Natura (2.1.1.7.7) is missing on a pension fund contribution whose VAT rate (2.1.1.7.5) is 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 Natura

Checked with FatturaPA 1.2.3