SDI-00474Errore 00474 SdI
Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> non sono ammesse linee di dettaglio con l'elemento 2.2.1.12 <AliquotaIVA> contenente valore zero
In English In a TD21 document (self-invoice for exceeding the plafond) no line may have a zero VAT rate.
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
/p:FatturaElettronica/FatturaElettronicaBody
$type != 'TD21' or not($lines[it:dec(AliquotaIVA) = 0])
Checked with FatturaPA 1.2.3