SDI-00430
2.2.2.2 <Natura> presente a fronte di 2.2.2.1 <AliquotaIVA> diversa da zero
In English A summary (2.2.2) with a VAT rate that is not zero has a Natura; only a TD16 document may have both.
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/DatiRiepilogo
Test
$rate = 0 or not(Natura) or $type = 'TD16'
Checked with FatturaPA 1.2.3