SDI-00445Errore 00445 SdI
The rule sets below word this rule differently; each wording is shown with its rule set.
In English The general Natura codes N2, N3 and N6 (N2 and N3 in a simplified invoice) are no longer allowed since 1 January 2021: use a detailed code.
Why it fails
- The invoicing software still writes the codes in use before 2021.
How to fix it
Replace N2 with N2.1 or N2.2, N3 with N3.1 to N3.6 and N6 with N6.1 to N6.9, as the transaction requires, on the lines and in the summaries.
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
Non è più ammesso il valore generico N2, N3 o N6 come codice natura dell'operazione
/p:FatturaElettronica/FatturaElettronicaBody/DatiBeniServizi/DettaglioLinee
not(Natura = ('N2', 'N3', 'N6'))
Checked with FatturaPA 1.2.3
Non è più ammesso il valore generico N2, N3 o N6 come codice natura dell'operazione
/p:FatturaElettronica/FatturaElettronicaBody/DatiGenerali/DatiGeneraliDocumento/DatiCassaPrevidenziale
not(Natura = ('N2', 'N3', 'N6'))
Checked with FatturaPA 1.2.3
Non è più ammesso il valore generico N2, N3 o N6 come codice natura dell'operazione
/p:FatturaElettronica/FatturaElettronicaBody/DatiBeniServizi/DatiRiepilogo
not(Natura = ('N2', 'N3', 'N6'))
Checked with FatturaPA 1.2.3
Non è più ammesso il valore generico N2 o N3 come codice natura dell'operazione
/s:FatturaElettronicaSemplificata/FatturaElettronicaBody/DatiBeniServizi
not(Natura = ('N2', 'N3'))
Checked with FatturaPA simplified 1.0.2