SDI-00460

Importo totale superiore al limite previsto per le fatture semplificate ai sensi del DPR 633/72, art. 21 bis

In English The total of a simplified invoice is over 400 euros, the limit of art. 21-bis DPR 633/72; only sellers in the RF19 or RF20 regime, and corrections of an invoice already issued, may go over it.

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
/s:FatturaElettronicaSemplificata/FatturaElettronicaBody
Test
sum(for $i in DatiBeniServizi/Importo return it:dec($i)) le 400 or $header/CedentePrestatore/RegimeFiscale = ('RF19', 'RF20') or DatiGenerali/DatiFatturaRettificata

Checked with FatturaPA simplified 1.0.2