Glossary Term

Codice SDI

The Codice SDI (Codice Destinatario) is a 7-character alphanumeric code that routes FatturaPA invoices to the correct recipient through Italy's SDI system.

Quick Facts

Format
7 alphanumeric characters
System
SDI (Sistema di Interscambio)
Country
Italy
Alternative
PEC email address

Definition

What is a Codice SDI?

The Codice SDI — officially called Codice Destinatario — is a 7-character alphanumeric code that tells Italy's SDI (Sistema di Interscambio) where to deliver an electronic invoice. Every business or intermediary that receives invoices through SDI has a unique Codice Destinatario.

How It Works

When you send a FatturaPA invoice through SDI:

1. SDI reads the Codice Destinatario from the invoice XML
2. SDI looks up which receiving channel is registered to that code
3. The invoice is routed to that channel (API endpoint, PEC, or web portal)

If no Codice Destinatario is provided (or the special code 0000000 is used), SDI falls back to the recipient's registered PEC (certified email) address.

Format

  • Exactly 7 alphanumeric characters

  • Case-sensitive

  • Special values: 0000000 = no registered channel (use PEC instead), XXXXXXX = B2C / private individuals
  • In FatturaPA XML



    A1B2C3D


    PEC as Alternative

    If the recipient doesn't have a Codice Destinatario, you can use their PEC (Posta Elettronica Certificata) address instead:

    0000000
    recipient@pec.it

    How to Find a Recipient's Code

  • Ask the recipient directly

  • Check the Agenzia delle Entrate's online lookup

  • Your accounting software's contact database

  • The invoice or purchase order from the buyer
  • Common Errors

  • Using an inactive or deregistered Codice Destinatario

  • Mixing up Codice Destinatario with Codice Fiscale or Partita IVA

  • Using 0000000 without providing a PEC address

  • Wrong character case (the code is case-sensitive)