Skip to main content
SDI Code for Buyers Outside Italy: XXXXXXX, 0000000, PEC
Blog

SDI Code for Buyers Outside Italy: XXXXXXX, 0000000, PEC

4 min readReviewed: September 9, 2026
Share
Markdown export

Italy introduced mandatory electronic invoicing for most transactions between residents and businesses established in Italy on January 1, 2019. Invoices are exchanged through the Sistema di Interscambio (SDI), the tax authority’s delivery and validation platform.

For finance, ERP, and tax teams operating in Italy or billing Italian customers, compliance means generating XML that follows the official FatturaPA schema, checking the required tax data, and sending the file to SDI with the recipient’s Codice Destinatario or PEC details.

Key Architecture: How Italy’s SDI Works

Interactive route

Choose how the recipient is addressed, then tap a stop. Every in-scope invoice passes through the Sistema di Interscambio.

Recipient address
Invoice: FatturaPA
Invoice routeLookup, report or receipt

Sistema di Interscambio

Run by

Agenzia delle Entrate

What happens here

Checks the XML structure and the required data, then delivers the file to the address written in it.

What the sender needs

A FatturaPA file: SDI does not accept UBL or CII. Checks can take up to five days in busy periods.

Italy: the supplier submits a FatturaPA XML file to the Sistema di Interscambio (SDI) of the Agenzia delle Entrate. SDI checks it and either rejects it with a Notifica di Scarto or delivers it to the address in the file and returns a Ricevuta di Consegna. The address is a 7-character Codice Destinatario or a PEC address. With 0000000 and no PEC, the invoice waits in the buyer’s reserved area of the tax portal. XXXXXXX marks a buyer without residence, establishment or VAT ID in Italy; SDI does not deliver to that buyer. Based on our Italy SDI guide and the FatturaPA specifications (fatturapa.gov.it). Status: October 2026. Invoice-Converter.com creates and checks invoice files. It is not part of these networks and does not send invoices.
  • Centralized exchange: In-scope domestic electronic invoices must pass through the Agenzia delle Entrate’s Sistema di Interscambio (SDI). A PDF or other copy sent directly to the buyer does not replace the XML invoice delivered through SDI.
  • FatturaPA XML Format: Invoices must adhere to the XML Schema FatturaPA (current version 1.2.x), containing buyer/seller tax IDs, line item breakdowns, and specific tax category codes.
  • Routing identifiers: The recipient’s electronic address is either a 7-character Codice Destinatario or a certified email address (PEC, Posta Elettronica Certificata). If no address is provided, the issuer uses 0000000 and SDI makes the invoice available in the recipient’s reserved tax portal.
  • Cross-border reporting: The separate periodic Esterometro filing ended on 1 July 2022. For in-scope cross-border transactions, reporting continues through invoice XML sent to SDI for each transaction; exceptions apply. FatturaPA document types such as TD17, TD18, and TD19 identify common purchase and reverse-charge scenarios.

FatturaPA XML Requirements & Document Types

The FatturaPA format supports various transaction scenarios using standardized document types (TipoDocumento). Common codes include TD01 (Standard Invoice), TD02 (Advance/Prepayment), TD04 (Credit Note), and TD24 (Deferred Invoice).

Each XML invoice needs the applicable Italian VAT number (Partita IVA) or tax code (Codice Fiscale), the correct Natura code for non-taxable or reverse-charge items, and the other mandatory fields for the transaction. A digital signature is not a general requirement for ordinary invoices sent through SDI, although special channels or document types may have additional rules.

SDI Delivery Rules & Status Notifications

  1. Transmission: Invoices are submitted to SDI via web service API, SFTP, PEC, or the Agenzia delle Entrate web portal.
  2. Validation: SDI checks the XML structure and required data, then sends a Notifica di Scarto when the file fails its controls. Checks and delivery can take up to five days during periods of high volume.
  3. Delivery: If validation succeeds, SDI sends the invoice to the electronic address in the file and returns a Ricevuta di Consegna. If delivery is not possible, the invoice remains available in the recipient’s reserved area and the issuer must notify the recipient.
  4. Preservation: Both issuer and recipient must keep electronic invoices using a legally compliant digital-preservation process (conservazione elettronica a norma). The required retention period depends on the applicable Italian tax and accounting rules.

Official References & Guidance

Frequently asked questions

What SDI code does a foreign company give an Italian supplier?

None, if the company is not resident, not established and not VAT-identified in Italy. For such buyers, the Italian issuer enters XXXXXXX (seven times X) in CodiceDestinatario, and SDI then requires the buyer’s VAT ID with a country code other than IT. A foreign company with an Italian establishment or an Italian VAT number follows the normal routing: its own SDI code or PEC, or 0000000 if it has no registered channel. Agree with your supplier how you receive a readable copy. Invoice-Converter.com does not create FatturaPA files or send invoices to SDI.

What happens if a buyer does not have a Codice Destinatario?

If a buyer has not provided a Codice Destinatario or PEC, the issuer uses 0000000. SDI makes the XML available in the buyer’s reserved tax portal. The issuer should also provide a readable copy and tell the buyer where the original electronic invoice can be accessed.

Is FatturaPA compatible with European Standard EN 16931?

FatturaPA and EN 16931 are different models. Mapping guidance can help software providers transform EN 16931 data (UBL or CII) into the FatturaPA structure required for Italian SDI submission. Peppol delivery does not by itself replace the SDI channel for an in-scope Italian invoice.

Is converting to FatturaPA enough on its own?

No. Conversion and submission are separate steps. Invoice-Converter generates and validates structured invoice data; it does not transmit to SDI. Submission still needs your provider’s channel, your own SDI integration, or the Fatture e Corrispettivi portal, and you still have to process the receipts SDI returns.

Ready to convert your invoices?

Upload your PDF invoice, review the extracted details without signing in, and download a validated XRechnung, ZUGFeRD, Factur-X, or UBL file.

Related articles