Our Expert in Italy
No results available
The Italy e-invoice XML format governs every electronic invoice that passes through the Sistema di Interscambio (SdI), and the FatturaPA specification v1.9.1, effective 15 May 2026, introduces changes that finance teams and ERP integrators must address immediately. The update tightens SdI validation controls, modifies the behaviour of TD29 rejection responses, and reinforces the 12‑day issuance-to-transmission deadline that already catches many businesses off-guard. Italy invoice requirements now extend to virtually all B2B, B2C, and B2G transactions, meaning any XML structural error risks outright rejection by SdI and potential administrative penalties. This guide walks through the precise XML elements, SdI validation flows, TD29 remediation, and the timing rules that AP and AR teams need to get right in 2026.
E-invoicing is mandatory in Italy for nearly all taxable persons. The obligation, which first applied to B2G transactions and was extended to B2B and B2C supplies, now covers resident businesses, self-employed individuals, and, with limited exceptions for the smallest micro-enterprises under the flat-rate regime, virtually the entire Italian economy. The Agenzia delle Entrate administers the system through SdI, the centralised exchange hub.
Key Italy e-invoicing 2026 changes under spec v1.9.1 include:
Finance and accounts-payable teams that need to issue an e-invoice in Italy online should follow this six-step workflow to ensure SdI acceptance and legal compliance.
| Action | Responsible party |
|---|---|
| XML generation and field mapping | ERP / billing system administrator |
| Digital signature application | Finance controller or automated signing service |
| SdI channel management and monitoring | IT infrastructure / integration team |
| Error triage and resubmission | AP/AR staff with IT support |
| Legal conservation and archiving | Compliance / records-management function |
| Accounting reconciliation | Finance / accounting team |
The FatturaPA XML format is the only accepted structured format for SDI invoices in Italy. It is an XML schema defined by the Agenzia delle Entrate and published as an XSD on the official FatturaPA documentation portal. The schema organises every invoice into two principal blocks: the header (FatturaElettronicaHeader) and the body (FatturaElettronicaBody), wrapped inside a root <FatturaElettronica> element with the versione attribute set to the applicable format code (FPR12 for private-sector invoices, FPA12 for public-administration invoices).
The header contains three mandatory groups:
<CodiceDestinatario> element is a seven-character alphanumeric code (or “0000000” when PEC is used instead).<IdFiscaleIVA>), tax code (<CodiceFiscale>), registered name, and registered-office address.The body contains the invoice data proper:
<TipoDocumento>, e.g., TD01 for a standard invoice, TD04 for a credit note, TD29 for self-billing regularisation), document number, issue date, currency, and total amounts.<Natura>) where a VAT exemption applies.The annotated XML snippet below shows the minimum fields SdI requires in the header block. Missing or malformed entries in any of these elements will trigger an immediate scarto under the v1.9.1 validation rules.
<FatturaElettronica versione="FPR12">
<FatturaElettronicaHeader>
<DatiTrasmissione>
<IdTrasmittente>
<IdPaese>IT</IdPaese>
<IdCodice>01234567890</IdCodice>
</IdTrasmittente>
<ProgressivoInvio>00001</ProgressivoInvio>
<FormatoTrasmissione>FPR12</FormatoTrasmissione>
<CodiceDestinatario>ABC1234</CodiceDestinatario>
</DatiTrasmissione>
<CedentePrestatore>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>IT</IdPaese>
<IdCodice>01234567890</IdCodice>
</IdFiscaleIVA>
<Anagrafica>
<Denominazione>Supplier S.r.l.</Denominazione>
</Anagrafica>
<RegimeFiscale>RF01</RegimeFiscale>
</DatiAnagrafici>
<Sede>
<Indirizzo>Via Roma 1</Indirizzo>
<CAP>00100</CAP>
<Comune>Roma</Comune>
<Nazione>IT</Nazione>
</Sede>
</CedentePrestatore>
<CessionarioCommittente>
<DatiAnagrafici>
<IdFiscaleIVA>
<IdPaese>IT</IdPaese>
<IdCodice>09876543210</IdCodice>
</IdFiscaleIVA>
<Anagrafica>
<Denominazione>Buyer S.p.A.</Denominazione>
</Anagrafica>
</DatiAnagrafici>
<Sede>
<Indirizzo>Piazza Duomo 5</Indirizzo>
<CAP>20100</CAP>
<Comune>Milano</Comune>
<Nazione>IT</Nazione>
</Sede>
</CessionarioCommittente>
</FatturaElettronicaHeader>
</FatturaElettronica>
SdI validates <IdPaese> and <IdCodice> against the Anagrafe Tributaria database. An incorrect VAT number will return a rejection immediately. The <CodiceDestinatario> must be a registered SdI code, submitting an unregistered code is one of the most common SdI code errors encountered in Italy.
Several elements are technically optional in the XSD but are required in practice for certain transaction types:
The Sistema di Interscambio performs validation in two phases. The first is a synchronous check at the point of file receipt: SdI verifies the XML well-formedness, XSD compliance, digital signature validity, and basic field-level consistency. If the file passes, SdI returns a Ricevuta di consegna (delivery receipt). If it fails, SdI returns a Notifica di scarto containing one or more error codes that identify the exact validation failure.
The second phase is asynchronous processing, during which SdI attempts to deliver the invoice to the recipient. Delivery failure, for example, because the recipient’s SdI channel is offline, results in a Mancata consegna (failed delivery) notification. The invoice is still considered issued but must be made available to the recipient through the Agenzia delle Entrate portal.
Below are ten of the most frequently encountered SdI error codes, along with symptoms and practical fixes:
| SdI error code | Symptom / description | Fix |
|---|---|---|
| 00001 | File name does not conform to the naming convention | Rename the file to the required pattern: IT + VAT number + _ + progressive 5-char alphanumeric + .xml (or .xml.p7m if CAdES-signed). |
| 00002 | File size exceeds the SdI limit | Ensure the single XML file does not exceed the allowed size. For batch lots, use a ZIP archive within the size cap. |
| 00100 | Digital signature verification failed | Re-sign the file with a valid, unexpired qualified certificate. Check the certificate chain and CRL/OCSP status. |
| 00200 | XML not well-formed or not valid against the XSD | Validate locally against the official v1.9.1 XSD before submission. Common culprits: unclosed tags, illegal characters, or incorrect namespace. |
| 00301 | IdFiscaleIVA of CedentePrestatore not found in Anagrafe Tributaria | Verify the supplier VAT number is active and correctly formatted (11-digit numeric for IT entities). |
| 00305 | CodiceDestinatario is not a registered SdI address | Confirm the seven-character recipient code with the buyer. If the buyer uses PEC, set CodiceDestinatario to “0000000” and populate PECDestinatario. |
| 00400 | TipoDocumento value is not valid or is inconsistent with other fields | Ensure the TipoDocumento code (TD01, TD04, TD29, etc.) matches the transaction and that dependent fields are populated accordingly. |
| 00403 | Natura element missing where VAT rate is zero | Add the appropriate Natura code (N1–N7 sub-codes) whenever Aliquota is 0.00. |
| 00411 | ImponibileImporto or Imposta calculation mismatch | Recalculate line-item totals. The sum of DatiBeniServizi line amounts multiplied by the VAT rate must match the stated Imposta within a ±1 cent tolerance. |
| 00444 | DatiRitenuta present but TipoRitenuta or ImportoRitenuta missing | Complete all mandatory sub-elements of the DatiRitenuta block: TipoRitenuta, ImportoRitenuta, AliquotaRitenuta, and CausalePagamento. |
TD29 is the <TipoDocumento> code used for self-billing invoices (autofattura) that a buyer issues to regularise a supplier’s failure to issue or transmit a compliant invoice. Under the previous FatturaPA specification, SdI performed only basic structural checks on TD29 submissions. Under v1.9.1, SdI now cross-references the <DatiFattureCollegate> block within TD29 documents against its database of invoices received from the cited supplier.
Industry observers expect this change to significantly reduce the number of speculative or incorrect TD29 filings. The practical effect is that AP teams must now include accurate and verifiable references to the original missing invoice, specifically the supplier’s VAT number, the expected invoice number (if known), and the date of the original supply. A mismatch or omission in these reference fields triggers an enhanced scarto with a specific error sub-code tied to the TD29 cross-check.
To avoid TD29 rejections under the updated rules:
<IdDocumento> and <Data> in the <DatiFattureCollegate> group with the best-known reference to the original supply.<IdFiscaleIVA> in the <CedentePrestatore> block matches the entity that failed to invoice.Italian law requires that an invoice be issued no later than 12 days after the taxable event (the supply of goods or completion of services). For SdI purposes, “issuance” means the invoice must be transmitted to and received by SdI within that 12-day window. The clock starts on the date of the supply, not the date the XML file is generated internally.
Counting is done in calendar days, not business days. If the supply occurs on 1 June, the invoice must reach SdI by 13 June at the latest. Weekends and public holidays do not extend the deadline. A late transmission does not result in an automatic SdI rejection, the invoice may still be accepted, but it exposes the issuer to administrative penalties from the Agenzia delle Entrate, which can assess fines based on the delay and the VAT amount involved.
Early indications suggest that the Agenzia delle Entrate is now cross-referencing the <Data> element in <DatiGeneraliDocumento> against the SdI receipt timestamp more systematically during audit cycles, making late issuance easier to detect and penalise.
| Entity type | Trigger for invoice issue | 12‑day rule application / notes |
|---|---|---|
| B2B (resident businesses) | Supply of goods or completion of services, or as contract terms specify | Invoice must be transmitted to SdI within 12 calendar days of the supply date. No extension for weekends or holidays. |
| B2C (consumers) | Point of sale or as agreed | Typically handled via electronic receipts (scontrino elettronico). Where a formal invoice is requested or required, the 12‑day rule applies identically. |
| B2G (public administration) | Supply completion or contract milestone | Strict compliance required. SdI acceptance is a prerequisite for the PA’s payment process, a rejected or late invoice delays payment and may trigger contractual penalties. |
When issuing an e-invoice to a foreign (non-Italian) client, the supplier must still transmit the invoice through SdI for domestic reporting purposes. The <CodiceDestinatario> is set to “XXXXXXX” (seven Xs) to indicate a non-resident recipient, and the buyer’s country code and tax identifier are populated in the <CessionarioCommittente> block using the appropriate <IdPaese> (e.g., “DE” for Germany, “FR” for France).
The European Commission’s eInvoicing framework recognises Italy’s FatturaPA as compliant with the EN 16931 core invoice model through a Country-Specific Italian Use Specification (CIUS). For cross-border B2G invoices within the EU, the buyer’s administration may require a Peppol BIS or UBL-format invoice in addition to the FatturaPA file. In such cases, businesses typically generate both a FatturaPA XML for SdI and a parallel EN 16931-conformant document for the recipient’s access point.
For VAT-registered businesses operating under the One Stop Shop (OSS) regime, invoicing obligations for intra-EU B2C supplies differ, the Italy e-invoice XML format obligation applies to the SdI submission, while the buyer may receive the invoice through other channels.
ERP integrators and IT teams connecting to SdI should observe the following checklist to minimise rejection rates and ensure the Italy e-invoice XML format is correctly implemented:
IT + 11-digit VAT number + _ + 5-character progressive alphanumeric identifier + .xml (or .xml.p7m for CAdES-signed files).Italian law requires electronic invoices to be retained for at least ten years from the date of issuance, in a conservazione sostitutiva (legally substitutive digital conservation) system that meets the technical standards set by the Agenzia per l’Italia Digitale (AgID). The conservation process must preserve the integrity and authenticity of the original signed XML file, apply a reference timestamp (marca temporale), and maintain an audit trail linking the conserved document to its SdI delivery receipt.
Businesses can delegate conservation to the Agenzia delle Entrate’s free conservation service or use an accredited third-party provider. Whichever approach is chosen, the conserved invoice package must include the original XML, the digital signature, the SdI notification messages, and any annexes. Anti-fraud systems operated by the Agenzia delle Entrate use SdI data to cross-check reported transactions in real time, making accurate and timely filing critical not just for compliance but for avoiding audit triggers.
When an SdI rejection (Notifica di scarto) arrives, AP teams should follow this triage sequence to resolve the issue and resubmit as quickly as possible:
<Errore> elements with numeric codes and descriptions. Cross-reference these against the SdI error-code table (above) or the official list on the Agenzia delle Entrate portal.<Natura> when the VAT rate is zero, <DatiRitenuta> when withholding applies, and <CIG>/<CUP> for B2G invoices.<CodiceDestinatario> with the buyer or switch to PEC delivery by setting the code to “0000000” and populating <PECDestinatario>.The FatturaPA v1.9.1 specification raises the bar for every business that issues or receives electronic invoices through SdI. Understanding the precise Italy e-invoice XML format, the updated TD29 validation logic, the 12-day issuance rule, and the most common SdI error codes is essential for finance teams that want to avoid rejections, penalties, and payment delays. Businesses operating in Italy, or invoicing Italian counterparts from abroad, should validate their XML generation processes against the current XSD, audit their SdI transmission timelines, and review their digital conservation arrangements. For a tailored compliance review, contact Global Law Experts to connect with an accounting advisory specialist experienced in Italian e-invoicing requirements.
This article was produced by Global Law Experts. For specialist advice on this topic, contact Franco Alessio at STUDIO ALESSIO, a member of the Global Law Experts network.
posted 22 minutes ago
posted 47 minutes ago
posted 56 minutes ago
posted 1 hour ago
posted 2 hours ago
posted 2 hours ago
posted 3 hours ago
posted 3 hours ago
posted 4 hours ago
posted 4 hours ago
posted 5 hours ago
posted 5 hours ago
No results available
Find the right Legal Expert for your business
Send welcome message