SDI-00415Errore 00415 SdI

2.1.1.5 <DatiRitenuta> non presente a fronte di 2.1.1.7.6 <Ritenuta> uguale a SI

In English DatiRitenuta (2.1.1.5) is missing although a pension fund contribution has Ritenuta (2.1.1.7.6) SI.

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
Test
not($funds/Ritenuta = 'SI') or $doc/DatiRitenuta

Checked with FatturaPA 1.2.3