Skip to main content
iVentureTeam
Odoo Accounting & Tax

Odoo Italy E-Invoicing: SDI and FatturaPA Setup and Providers in 19/20

Set up Odoo Italy e-invoicing in Odoo 19/20: SdI Destination Code K95IV18, FatturaPA states, rejections, public sector invoices and provider options.

Siddharth JambukiyaSiddharth JambukiyaOdoo Techno-Functional Consultant
November 26, 202612 min read0 views
Odoo Italy E-Invoicing: SDI and FatturaPA Setup and Providers in 19/20 cover

Italy has required e-invoices through the Sistema di Interscambio (SdI) for B2B, B2C and public sector sales since 2019. Odoo covers this natively, but a clean rollout still needs good data. Our Odoo integration services cover the SdI link and the systems around it.

Related service: Odoo for finance teams — accounting, tax and reporting automation.

This guide is for finance leads, accountants and IT owners at Italian companies, or foreign groups with an Italian entity, running Odoo 19 or planning Odoo 20. If you also pay Italian staff, read our guide to Odoo payroll in Italy and the busta paga.

What does Odoo Italy e-invoicing include in Odoo 19 and 20?

Odoo Italy e-invoicing is a set of localization modules that generate FatturaPA XML, exchange it with the SdI and track each invoice's status. They install automatically when you pick the Italian fiscal localization.

The Odoo Italy localization documentation lists eight modules; the 20.0 page is identical today.

ModuleTechnical nameWhat it does
Italy, Accountingl10n_itChart of accounts, taxes, fiscal positions
Italy, E-invoicingl10n_it_ediFatturaPA XML, SdI sending and receiving
Declaration of Intentl10n_it_edi_doiDichiarazione di Intento for regular exporters
Sale E-invoicingl10n_it_edi_saleSales order data on the e-invoice
Stock DDTl10n_it_stock_ddtTransport documents and deferred invoices
Point of Salel10n_it_posLink to the Italian RT fiscal printer
Accounting Reportsl10n_it_reportsItalian tax reports
Bank Receiptsl10n_it_ribaRi.Ba. files from batch payments

In the Odoo source, l10n_it_edi is LGPL-3 and depends on account_edi_proxy_client. It writes FPR12 XML for private buyers and FPA12 for public bodies.

How does Odoo connect to the SdI?

Odoo acts as your intermediary: your database sends encrypted files to Odoo's proxy server, which forwards them to the SdI over a web services channel and returns the answers. You do not need a separate SdI channel contract for the native route.

Odoo's proxy user is tied to your company's Codice Fiscale. Incoming vendor bills and status notifications come back the same way.

In the 20.0 source, a scheduled action named "IT EDI: Receive invoices from the SdI" runs once a day to download bills and update statuses. You can also click Check Sending on an invoice to refresh it sooner.

How do you set up Odoo SDI step by step?

Fill the company's fiscal data, register Odoo's Destination Code with the Agenzia delle Entrate, then authorize Odoo in Accounting settings. The order matters, because the authorization fails without a Codice Fiscale.

  1. Company record: enter the name, full address, VAT number, Codice Fiscale and Tax System (regime fiscale).
  2. Agenzia portal: log in to Fatture e Corrispettivi, set yourself as legal party for the VAT number, and register the electronic address K95IV18.
  3. Taxes: check the 0% taxes for exports, reverse charge and exemptions, each with its Natura code and law reference.
  4. Partners: add VAT, Codice Fiscale and either a 7-character SdI code or a PEC address for each Italian customer.
  5. Authorize Odoo: in Accounting settings, open Italian Electronic Invoicing and tick "By checking this box, I authorize Odoo to send and receive my invoices through the Sistema di Interscambio (SDI)".
  6. Purchase journal: if you have two or more purchase journals, choose the default journal for incoming bills.
  7. First live invoice: send one small, simple invoice and follow it to Delivered before you send a batch.

Demo mode or production mode: what changes?

Demo mode simulates sending and needs you to download and upload XML by hand, while production mode sends real invoices to the SdI and cannot be turned off again. Treat the authorization box as a go-live switch.

ItemDemo modeProduction mode
DefaultOn for every new databaseOn only after you tick the SdI box
SendingSimulated; XML downloaded manuallyReal transmission through Odoo's proxy
Vendor billsNot received automaticallyImported by the daily SdI job
ReversibleYesNo, per Odoo's documentation

Do your training and tax tests in demo mode, and never tick the box in a copy of production you plan to throw away.

What happens after you send a FatturaPA invoice?

The SdI checks the file, then tries to deliver it, and Odoo shows each step in the SdI State field. Checks can take from a few seconds up to a day, depending on the national queue.

Odoo attaches the XML and PDF and records a FatturaPA transaction number. The main states are:

  • Processing: the SdI is validating the file.
  • Forwarding to Partner: accepted, and the SdI is trying to reach the buyer's code or PEC.
  • Forwarded to Partner: delivered and fiscally valid.
  • Forwarding Failed: valid, but the buyer is not reachable, so send them the PDF yourself.
  • Rejected: the SdI found an error; the reason sits at the top of the invoice.

The SdI makes up to 6 delivery attempts, every 12 hours, so delivery can take up to three days. Odoo 20 shortens the labels, for example "Forwarded to Partner" instead of "SdI Accepted, Forwarded to Partner" in 19.0.

How do you fix an Odoo SDI rejected invoice?

Delete both the XML and PDF attachments, reset the invoice to draft, fix the error and send again. Odoo regenerates both files together, so they always match.

Most rejections trace back to data, not code:

  • Error 1.1.1.2, IdCodice not valid: the VAT number is malformed or missing. One user on the Odoo forum hit error 1.1.1.2 on their first FatturaPA invoice even after checking the VAT and Codice Fiscale.
  • Missing Natura on a 0% tax: every zero-rated line needs an exemption kind and law reference.
  • Wrong address data: a buyer without city or ZIP pushes Odoo toward a simplified invoice.

Which document types does Odoo support (TD01 to TD28)?

Odoo 20 ships 22 FatturaPA document types, from the standard TD01 invoice to TD28 for paper bills from San Marino. Odoo picks the code from the move type, taxes and partner.

CodeUseWhen Odoo uses it
TD01Standard invoiceDefault domestic invoice
TD02Down paymentAll lines are down payment lines
TD04Credit noteDomestic credit notes
TD07 to TD09Simplified documentsDomestic, under 400 EUR, incomplete buyer address
TD16 to TD19Reverse charge integrationVendor bills with VJ tax grid taxes
TD24Deferred invoiceLinked DDTs dated before the invoice
TD28San Marino paper billVendor bill from a San Marino partner

Deferred invoices need the l10n_it_stock_ddt module and must be issued by the 15th day of the month after delivery. For San Marino sales, use Natura N3.3 and the generic code 2R4GTO8.

How does Odoo reverse charge in Italy work with the SdI?

For reverse-charged vendor bills, you replace the 0% taxes with the VAT you owe, and Odoo shows a Send Tax Integration button that sends a TD16 to TD19 file. This is how the Agenzia sees VAT you self-assess.

Odoo maps these taxes to the VJ section of the tax return. A forum answer explains that the SdI button only appears on a vendor bill once reverse charge taxes are on its lines.

An Odoo forum post explains that an EU company outside Italy cannot submit to the SdI; the Italian buyer integrates the invoice instead. Our guide to Odoo fiscal positions and tax automation covers the mapping.

Withholding (ritenuta d'acconto) and Enasarco pension fund lines are written into the XML from fields on the tax; we cover them in a separate guide.

How does an Odoo public administration invoice in Italy work?

Invoices to public bodies need the 6-character office code (CUU), a qualified XAdES signature, and often CIG and CUP codes, and Odoo handles each of these. A PEC address is not allowed for the public sector.

When the partner has a 6-character code, Odoo signs the XML on its servers and attaches the signed file. The invoice form also has CIG, CUP and origin document fields that the public body needs to pay you.

Use the Scissione dei Pagamenti fiscal position for split payment customers. The public body then has 15 days to accept or refuse; a refused invoice stays valid, so you issue a credit note.

What are your provider options for Odoo FatturaPA?

Odoo FatturaPA provider options: Which SdI route fits you?

Most companies should use Odoo's native intermediary; the main alternatives are PEC or third-party SdI channels built on OCA or partner modules. The right choice depends on your edition, hosting and volume.

OptionHow it worksBest fitWatch out for
Odoo native (K95IV18)l10n_it_edi through Odoo's proxyOdoo Online, Odoo.sh, on-premise EnterpriseNo legal storage; production switch is final
OCA l10n-italy over PECCommunity modules send XML by PEC emailTeams already using PEC channels19.0 and 20.0 branches are still thin
Third-party intermediaryA connector to an SdI provider's APIGroups with an existing provider contractCustom code to maintain at each upgrade
Manual uploadDownload XML, upload to the Agenzia portalVery low volume, or during a cutoverSlow, and no automatic bill import

The OCA l10n-italy repository moved from its own FatturaPA stack in 16.0 to extensions of Odoo's l10n_it_edi in 18.0, including l10n_it_edi_pec and l10n_it_edi_sdi. Its 19.0 README lists one e-invoicing module so far, and the 20.0 README lists none yet.

Cost is also a factor. Odoo's IAP services page does not list an Italian SdI credit pack today, unlike India or Peru.

A forum thread asking which intermediary Odoo uses in Italy has over 1,000 views. The answer is Odoo itself.

What does Odoo not cover for Italian compliance?

Odoo does not provide Conservazione Sostitutiva, the legal storage of e-invoices, so you need the Agenzia's free service or another provider. Odoo's Italy page says so in a warning box.

Plan for these gaps on every Italian project:

  • Legal storage: request conservation on the Agenzia portal or use a storage provider.
  • Retail receipts: POS sales go through an RT fiscal printer via l10n_it_pos, not the SdI; see our Odoo 19 POS review.
  • Cross-border buyers: Odoo's Italy e-invoicing compliance page points to Peppol UBL for foreign customers.

Our guide to Odoo localization gaps shows how we check these before a project starts. For other formats, compare FatturaPA with Factur-X, XRechnung and Peppol BIS.

Odoo Italy e-invoicing by industry

The SdI rules are the same for everyone, but each industry stresses a different part of the setup. The table shows where we usually spend the effort.

IndustryPain or cost driverOdoo approachHow iVentureTeam helps
Wholesale and distributionMonthly summary invoices for many deliveriesDDT module and TD24 deferred invoicesDesign delivery and invoicing rules
Manufacturing for exportDichiarazione di Intento limitsl10n_it_edi_doi tracks each declarationMap export taxes and limits
Public sector suppliersCIG, CUP and 15-day acceptanceSigned FPA12 XML, split payment positionTrain staff on PA states and credit notes
RetailReceipts plus invoices on requestRT fiscal printer and POS invoicingSet up printers and POS flows

How iVentureTeam helps with Odoo Italy e-invoicing

Rolling out Odoo in Italy? Price the project

We set up the Italian localization, clean the data that causes SdI rejections, and connect Odoo to the rest of your stack. We have delivered 150+ ERP projects across 35+ countries with 40+ Odoo specialists, led by a consultant with 13+ years in Odoo.

  • Readiness check: fiscal data, partner codes and Natura mapping reviewed before go-live.
  • Go-live plan: demo tests, a first live invoice and a clean cutover from your old intermediary.
  • Integrations: eCommerce, marketplaces and banks linked to Odoo.
  • Upgrades: Odoo 17 or 18 to 19 or 20 with SdI history intact; see our Odoo 20 release notes.
  • Ongoing help: our Odoo ERP support team handles rejected invoices and tax changes after go-live.

For a quick budget, use our Odoo project estimate tool. Our published Odoo implementation cost ranges run from $3k to $9k for small projects and $9k to $27k for mid-size ones.

The bottom line on Odoo Italy e-invoicing

For most Italian companies, Odoo's native SdI link in Odoo 19 or 20 is enough, as long as you clean your data and add legal storage. Third-party channels make sense only when an existing contract or a special flow demands one.

Start in demo mode, fix taxes and partner codes, register K95IV18, then go live with one invoice. Add legal storage and a clear owner for rejections.

Ready to go live with Odoo SdI invoicing?

Book an SdI readiness review

Get a readiness review from a team that has set up e-invoicing in many countries. Plan your Odoo Italy e-invoicing rollout with us, call +91-90235-15208, or email business@iventureteam.com.

Frequently Asked Questions

Does Odoo support Italian electronic invoicing?

+

Yes. The l10n_it_edi module in Odoo 19 and 20 creates FatturaPA XML, sends it to the SdI through Odoo's proxy and imports vendor bills. It installs automatically with the Italian localization.

What is Odoo's SdI Destination Code?

+

Odoo's Destination Code is K95IV18. Register it on the Agenzia delle Entrate portal under Fatture e Corrispettivi so that the SdI delivers your incoming e-invoices to Odoo.

Can I test Odoo FatturaPA before going live?

+

Yes. New databases start in demo mode, which simulates sending and lets you download the XML. Once you authorize Odoo to send through the SdI, production mode is on and cannot be turned off.

Does Odoo store e-invoices for Conservazione Sostitutiva?

+

No. Odoo's Italy documentation says it does not offer Conservazione Sostitutiva. Use the Agenzia delle Entrate's free service or another storage provider.

How long does the SdI take to process an invoice?

+

Checks take from a few seconds up to a day. If the buyer cannot be reached, the SdI retries up to 6 times every 12 hours, so delivery can take up to three days.

Can Odoo send invoices to the Italian public administration?

+

Yes. When the customer has a 6-character office code, Odoo signs the XML in XAdES format and lets you add CIG, CUP and order references. The public body then has 15 days to accept.

Is Odoo fatturazione elettronica available in Community?

+

The l10n_it_edi module is in the Community source under LGPL-3. The OCA l10n-italy project also offers PEC and SdI modules, but its 19.0 and 20.0 branches are still thin.

Free e-invoicing and tax readiness check

Getting Odoo ready for e-invoicing?

We check your Odoo version, localization and invoice flows against e-invoicing, then send what to set up, what to test and the effort involved.

Free, with no obligation. A senior consultant replies within 12 business hours.

We use cookies to improve your experience

Essential cookies make the site work, and we use analytics to improve it. Choose “Only necessary” to turn analytics off. See our cookie policy.