# SdI checks (FatturaPA ordinary invoice) Specifiche tecniche 1.9.1

Source: https://xmlvalid.com/rules/sets/it-sdi-ordinaria

> 38 rules by xmlvalid, after the checks Agenzia delle Entrate lists for the SdI (MIT). Source: https://www.agenziaentrate.gov.it/portale/specifiche-tecniche-versione-1.9.1-%C2%A0-utilizzabili-dal-15-maggio-2026-

- [SDI-00313](https://xmlvalid.com/rules/SDI-00313.md) (error): L'elemento 1.1.4 <CodiceDestinatario> può essere valorizzato con "XXXXXXX" per comunicare i dati di fatture emesse esclusivamente verso soggetti non residenti (1.4.1.1 <IdFiscaleIVA> deve essere valorizzato e 1.4.1.1.1 <IdPaese> deve essere diverso da "IT")
- [SDI-00400](https://xmlvalid.com/rules/SDI-00400.md) (error): 2.2.1.14 <Natura> non presente a fronte di 2.2.1.12 <AliquotaIVA> pari a zero
- [SDI-00401](https://xmlvalid.com/rules/SDI-00401.md) (error): 2.2.1.14 <Natura> presente a fronte di 2.2.1.12 <AliquotaIVA> diversa da zero
- [SDI-00403](https://xmlvalid.com/rules/SDI-00403.md) (error): 2.1.1.3 <Data> successiva alla data di ricezione
- [SDI-00409](https://xmlvalid.com/rules/SDI-00409.md) (error): Fattura duplicata nel lotto
- [SDI-00411](https://xmlvalid.com/rules/SDI-00411.md) (error): 2.1.1.5 <DatiRitenuta> non presente a fronte di almeno un blocco 2.2.1 <DettaglioLinee> con 2.2.1.13 <Ritenuta> uguale a SI
- [SDI-00413](https://xmlvalid.com/rules/SDI-00413.md) (error): 2.1.1.7.7 <Natura> non presente a fronte di 2.1.1.7.5 <AliquotaIVA> pari a zero
- [SDI-00414](https://xmlvalid.com/rules/SDI-00414.md) (error): 2.1.1.7.7 <Natura> presente a fronte di 2.1.1.7.5 <AliquotaIVA> diversa da zero
- [SDI-00415](https://xmlvalid.com/rules/SDI-00415.md) (error): 2.1.1.5 <DatiRitenuta> non presente a fronte di 2.1.1.7.6 <Ritenuta> uguale a SI
- [SDI-00417](https://xmlvalid.com/rules/SDI-00417.md) (error): 1.4.1.1 <IdFiscaleIVA> e 1.4.1.2 <CodiceFiscale> non valorizzati
- [SDI-00418](https://xmlvalid.com/rules/SDI-00418.md) (error): 2.1.1.3 <Data> antecedente a 2.1.6.3 <Data>
- [SDI-00419](https://xmlvalid.com/rules/SDI-00419.md) (error): 2.2.2 <DatiRiepilogo> non presente in corrispondenza di almeno un valore di 2.1.1.7.5 <AliquotaIVA> o 2.2.1.12 <AliquotaIVA>
- [SDI-00420](https://xmlvalid.com/rules/SDI-00420.md) (error): 2.2.2.2 <Natura> con valore di tipo N6 a fronte di 2.2.2.7 <EsigibilitaIVA> uguale a S (scissione pagamenti)
- [SDI-00421](https://xmlvalid.com/rules/SDI-00421.md) (error): 2.2.2.6 <Imposta> non calcolato secondo le regole definite nelle specifiche tecniche
- [SDI-00422](https://xmlvalid.com/rules/SDI-00422.md) (error): 2.2.2.5 <ImponibileImporto> non calcolato secondo le regole definite nelle specifiche tecniche
- [SDI-00423](https://xmlvalid.com/rules/SDI-00423.md) (error): 2.2.1.11 <PrezzoTotale> non calcolato secondo le regole definite nelle specifiche tecniche
- [SDI-00424](https://xmlvalid.com/rules/SDI-00424.md) (error): 2.2.1.12 <AliquotaIVA> o 2.2.2.1 <AliquotaIVA> o 2.1.1.7.5 <AliquotaIVA> non indicata in termini percentuali
- [SDI-00425](https://xmlvalid.com/rules/SDI-00425.md) (error): 2.1.1.4 <Numero> non contenente caratteri numerici
- [SDI-00427](https://xmlvalid.com/rules/SDI-00427.md) (error): 1.1.4 <CodiceDestinatario> di 7 caratteri a fronte di 1.1.3 <FormatoTrasmissione> con valore FPA12 o 1.1.4 <CodiceDestinatario> di 6 caratteri a fronte di 1.1.3 <FormatoTrasmissione> con valore FPR12
- [SDI-00428](https://xmlvalid.com/rules/SDI-00428.md) (error): 1.1.3 <FormatoTrasmissione> non coerente con il valore dell'attributo VERSION
- [SDI-00429](https://xmlvalid.com/rules/SDI-00429.md) (error): 2.2.2.2 <Natura> non presente a fronte di 2.2.2.1 <AliquotaIVA> pari a zero
- [SDI-00430](https://xmlvalid.com/rules/SDI-00430.md) (error): 2.2.2.2 <Natura> presente a fronte di 2.2.2.1 <AliquotaIVA> diversa da zero
- [SDI-00437](https://xmlvalid.com/rules/SDI-00437.md) (error): 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
- [SDI-00438](https://xmlvalid.com/rules/SDI-00438.md) (error): 2.2.1.10.2 <Percentuale> e 2.2.1.10.3 <Importo> non presenti a fronte di 2.2.1.10.1 <Tipo> valorizzato
- [SDI-00443](https://xmlvalid.com/rules/SDI-00443.md) (error): Non c'è corrispondenza tra i valori indicati nell'elemento 2.2.1.12 <AliquotaIVA> o 2.1.1.7.5 <AliquotaIVA> e quelli dell'elemento 2.2.2.1 <AliquotaIVA>
- [SDI-00444](https://xmlvalid.com/rules/SDI-00444.md) (error): Non c'è corrispondenza tra i valori indicati nell'elemento 2.2.1.14 <Natura> o 2.1.1.7.7 <Natura> e quelli dell'elemento 2.2.2.2 <Natura>
- [SDI-00445](https://xmlvalid.com/rules/SDI-00445.md) (error): Non è più ammesso il valore generico N2, N3 o N6 come codice natura dell'operazione
- [SDI-00471](https://xmlvalid.com/rules/SDI-00471.md) (error): Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> il cedente/prestatore non può essere uguale al cessionario/committente
- [SDI-00472](https://xmlvalid.com/rules/SDI-00472.md) (error): Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> il cedente/prestatore deve essere uguale al cessionario/committente
- [SDI-00473](https://xmlvalid.com/rules/SDI-00473.md) (error): Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> il valore presente nell'elemento 1.2.1.1.1 <IdPaese> non è ammesso
- [SDI-00474](https://xmlvalid.com/rules/SDI-00474.md) (error): Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> non sono ammesse linee di dettaglio con l'elemento 2.2.1.12 <AliquotaIVA> contenente valore zero
- [SDI-00475](https://xmlvalid.com/rules/SDI-00475.md) (error): Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> deve essere presente l'elemento 1.4.1.1 <IdFiscaleIVA> del cessionario/committente
- [SDI-00476](https://xmlvalid.com/rules/SDI-00476.md) (error): Gli elementi 1.2.1.1.1 <IdPaese> e 1.4.1.1.1 <IdPaese> non possono essere entrambi valorizzati con codice diverso da IT
- [XV-IT-01](https://xmlvalid.com/rules/XV-IT-01.md) (error): The transmitter's code 1.1.1.2 <IdCodice> is neither a partita IVA nor a codice fiscale with a valid check digit; the SdI rejects it with 00300.
- [XV-IT-02](https://xmlvalid.com/rules/XV-IT-02.md) (error): The seller's partita IVA 1.2.1.1.2 <IdCodice> is not eleven digits with a valid check digit; the SdI rejects it with 00301.
- [XV-IT-03](https://xmlvalid.com/rules/XV-IT-03.md) (error): The partita IVA of a tax representative (1.3.1.1.2 or 1.4.4.1.2 <IdCodice>) is not eleven digits with a valid check digit; the SdI rejects it with 00303.
- [XV-IT-04](https://xmlvalid.com/rules/XV-IT-04.md) (error): The buyer's partita IVA 1.4.1.1.2 <IdCodice> is not eleven digits with a valid check digit; the SdI rejects it with 00305.
- [XV-IT-05](https://xmlvalid.com/rules/XV-IT-05.md) (error): The buyer's codice fiscale 1.4.1.2 <CodiceFiscale> has no valid check character; with no partita IVA for the buyer, the SdI rejects it with 00306.
