SDI-00424

The rule sets below word this rule differently; each wording is shown with its rule set.

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.

Message

2.2.1.12 <AliquotaIVA> o 2.2.2.1 <AliquotaIVA> o 2.1.1.7.5 <AliquotaIVA> non indicata in termini percentuali

Context
/p:FatturaElettronica/FatturaElettronicaBody/DatiBeniServizi/DettaglioLinee
Test
$rate = 0 or $rate ge 1

Checked with FatturaPA 1.2.3

Message

2.2.1.12 <AliquotaIVA> o 2.2.2.1 <AliquotaIVA> o 2.1.1.7.5 <AliquotaIVA> non indicata in termini percentuali

Context
/p:FatturaElettronica/FatturaElettronicaBody/DatiGenerali/DatiGeneraliDocumento/DatiCassaPrevidenziale
Test
$rate = 0 or $rate ge 1

Checked with FatturaPA 1.2.3

Message

2.2.1.12 <AliquotaIVA> o 2.2.2.1 <AliquotaIVA> o 2.1.1.7.5 <AliquotaIVA> non indicata in termini percentuali

Context
/p:FatturaElettronica/FatturaElettronicaBody/DatiBeniServizi/DatiRiepilogo
Test
$rate = 0 or $rate ge 1

Checked with FatturaPA 1.2.3

Message

2.2.3.2 <Aliquota> non indicata in termini percentuali

Context
/s:FatturaElettronicaSemplificata/FatturaElettronicaBody/DatiBeniServizi
Test
not($rate) or it:dec($rate) = 0 or it:dec($rate) ge 1

Checked with FatturaPA simplified 1.0.2