SDI-00411Errore 00411 SdI
2.1.1.5 <DatiRitenuta> non presente a fronte di almeno un blocco 2.2.1 <DettaglioLinee> con 2.2.1.13 <Ritenuta> uguale a SI
In English DatiRitenuta (2.1.1.5) is missing although a line has Ritenuta (2.2.1.13) SI.
error: the document is invalid
Codici di errore SdI della fattura elettronica →
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($lines/Ritenuta = 'SI') or $doc/DatiRitenuta
Checked with FatturaPA 1.2.3