OdooWiki OCA HUB

ITA - Fattura elettronica - Canale SdI

l10n_it_edi_sdi folder_open OCA/l10n-italy open_in_new
Localization/Italy License: LGPL-3

Italiano

Questo modulo fornisce la logica condivisa per la comunicazione con il Sistema di Interscambio (SdI), indipendente dal canale di trasporto utilizzato (PEC, web service, ecc.).

Funzionalità principali:

  • Ricezione e importazione di fatture elettroniche passive da SdI
  • Elaborazione delle notifiche SdI (Ricevuta di Consegna, Notifica di Scarto, Mancata Consegna, Notifica Esito, Decorrenza Termini)
  • Ricerca delle fatture associate alle notifiche tramite il nome file
  • Riconoscimento dei file SdI tramite espressioni regolari

Questo modulo non è pensato per essere utilizzato direttamente, ma come dipendenza per moduli che implementano un canale di trasporto specifico, come l10n_it_edi_pec.

English

This module provides shared logic for communication with the Italian Exchange System (SdI), independent of the transport channel used (PEC, web service, etc.).

Main features:

  • Receive and import incoming vendor bills from SdI
  • Process SdI notifications (Delivery Receipt, Rejection, Failed Delivery, Outcome Notification, Deadline Expiry)
  • Look up invoices related to notifications by attachment filename
  • Recognise SdI files through regular expressions

This module is not intended for direct use, but as a dependency for modules implementing a specific transport channel, such as l10n_it_edi_pec.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Provides the shared background logic that lets Odoo receive Italian electronic invoices and SdI notifications from the Exchange System, regardless of the transport channel used. It is a technical dependency, not a standalone user feature.

This module does not add any menu, screen or button of its own. It is a technical building block that other Italian e-invoicing modules rely on to talk to the Sistema di Interscambio (SdI).

What it does behind the scenes:

  • Recognises incoming files that look like Italian electronic invoices or SdI notifications by matching their file names against specific patterns.
  • For incoming supplier e-invoices, it creates a new vendor bill (account.move of type in_invoice) for the right company, attaches the received XML file, and starts the normal import process. If a file with the same name was already imported for that company, it is skipped to avoid duplicates.
  • For SdI notifications, it reads the XML to find the original invoice file name, locates the matching vendor bill through the stored attachment, and then updates that bill's SdI status. The notification codes it understands are: RC (ricevuta di consegna), NS (notifica di scarto), MC (mancata consegna), NE (notifica esito) and DT (decorrenza termini).
  • It ignores zipped notification files and logs a warning when a notification cannot be linked to any bill or when the notification type is unknown.

Because it only extends the generic mail thread behaviour, it works with any transport channel (PEC, web service, etc.) implemented by a dependent module. No user-facing configuration or report is added here.

Depends on

l10n_it_edi

Required by other modules

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-italy.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.