SDI-00420

2.2.2.2 <Natura> con valore di tipo N6 a fronte di 2.2.2.7 <EsigibilitaIVA> uguale a S (scissione pagamenti)

In English A summary (2.2.2) has a reverse charge Natura (N6.x) together with EsigibilitaIVA S (split payment): the two cannot be combined.

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
not(EsigibilitaIVA = 'S' and starts-with(Natura, 'N6'))

Checked with FatturaPA 1.2.3