4 min readUpdated

SdI code examples in Italy: formats and special values

An invented SdI code example is ABC12D3 — Invented example: do not use on an invoice. It shows the seven alphanumeric characters of the recipient code for invoices to recipients other than the PA. FatturaPA distinguishes this format from the PA office code and prescribed values: recognising the format does not tell you your customer’s code.

What does a seven-character recipient code look like?

ABC12D3 — Invented example: do not use on an invoice — shows a seven-character alphanumeric recipient code without giving you an address to use.

The FatturaPA technical format specifications describe the CodiceDestinatario field as alphanumeric. For recipients other than the Public Administration (PA), an ordinary code has seven characters and corresponds to a code assigned by the SdI (Sistema di Interscambio, the state’s e-invoicing exchange system) to an entity with an accredited receiving channel.

In the example, the letters and digits show what “alphanumeric” means. Seven characters therefore does not mean seven numeric digits. The illustrative sequence does not establish rules about where letters or numbers appear: it only shows the length and type of characters.

A plausible appearance does not prove that a code is assigned or active, or that it is the address the customer chose. “Invented” describes how the example was chosen; it does not mean the sequence is reserved for testing or guaranteed never to have been assigned. To place this field in the context of electronic invoices, you can explore the invoices topic.

How do you distinguish the recipient code, PA code, 0000000 and XXXXXXX?

An ordinary recipient code has seven characters and a PA office code has six; 0000000 and XXXXXXX are prescribed special values.

FatturaPA’s distinction also concerns the field’s meaning: for the PA, the value matches the Office Code in Indice PA. The table separates examples chosen to illustrate the formats from values with a prescribed meaning.

Value Characters Meaning Type
ABC12D3 7 Format of a recipient code for recipients other than the PA Invented example: do not use on an invoice
ABC123 6 Format of a Public Administration office code Invented example: do not use on an invoice
0000000 7 Reception through PEC (certified email) specified separately; final consumer; VAT taxpayer who has communicated neither a recipient code nor PEC Prescribed value
XXXXXXX 7 Recipient not resident, not established and not identified in Italy; invoice sent to the SdI to transmit its data Prescribed value

For PEC reception, the specifications provide for seven zeroes when the receiving address is given separately in the PECDestinatario field. The Agenzia delle Entrate (the Italian Revenue Agency) guide also gives seven zeroes for a final consumer and for a taxable person who has provided neither their recipient code nor PEC. Seven zeroes are therefore not a personal identifier or a value exclusive to consumers.

For the seven Xs, all the FatturaPA conditions matter: the recipient is not resident, not established and not identified in Italy, and the invoice is sent to the SdI to transmit its data. This row is not a universal rule for any transaction involving another country.

The comparison helps you recognise the values without explaining how to fill in an invoice in each situation. See the guide to the codice univoco for the full distinction between the two formats.

Can you copy an example or identify the customer from the code?

An example does not replace the customer’s address: a code may refer to an intermediary’s channel shared by several customers, and does not identify the buyer on its own.

The Agenzia delle Entrate guide allows reception through a third party, such as an intermediary or service provider. The specifications assign the code to the entity with the accredited channel. From these two points, it follows that several customers can use an intermediary’s channel: this is an inference, not a claim that each provider has only one code.

The Agenzia guide distinguishes identity details and the partita IVA (Italian VAT number) from the telematic address communicated to the supplier. For a specific invoice, rely on the actual receiving details the customer provides, together with their tax and identity details.

The invented examples on this page are not your customer’s receiving details. Their format does not prove any connection to that person or business.

The SdI is the system that, according to the Agenzia, checks the file and forwards it after the checks pass; CodiceDestinatario is a field in the file. The guide also explains that a registered telematic address takes precedence over the one the supplier puts on the invoice: the code written in the field alone does not always describe the final destination.

Frequently asked questions

What is an example of an SdI code?

ABC12D3 — Invented example: do not use on an invoice — shows seven alphanumeric characters, meaning letters and digits, in the format of the recipient code FatturaPA describes for recipients other than the PA. Its appearance does not prove that the code is assigned, active or connected to the customer.

Does an SdI code have 6 or 7 characters?

FatturaPA distinguishes the seven-character recipient code for recipients other than the PA from the six-character office code for the Public Administration. The prescribed values 0000000 and XXXXXXX also have seven characters, but carry specific meanings: length alone is not enough to interpret them.

Can I use an example SdI code?

An invented example does not replace the receiving details the customer provides with their tax and identity details. From the rules assigning codes to channel operators and allowing reception through third parties, it follows that several customers can share a channel: the code alone does not identify the customer.

BravoLisa

Your expenses, read from a photo

Take a photo of receipts and purchase invoices: Lisa reads the supplier, date, amount and VAT. You create and record invoices in BravoLisa; sending through the SdI is in development.

Free

Free

Everything you need to keep your partita IVA's figures in order, in one app.

  • Income and expenses recorded
  • Receipts and purchase invoices read by Lisa
  • Documents attached to every expense
  • No credit card needed
Start free
Chat with a person (opens in a new tab)