SDI-00437Errore 00437 SdI

2.1.1.8.2 <Percentuale> e 2.1.1.8.3 <Importo> non presenti a fronte di 2.1.1.8.1 <Tipo> valorizzato

In English A document discount or surcharge (2.1.1.8) has a Tipo but neither Percentuale nor Importo.

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/DatiGenerali/DatiGeneraliDocumento/ScontoMaggiorazione
Test
Percentuale or Importo

Checked with FatturaPA 1.2.3