Italiano
Questo modulo consente di generare i file XML della fattura elettronica versione 1.2
da inviare al Sistema di Interscambio (SdI).
English
This module allows you to generate the Electronic Invoice XML files version 1.2
to be sent to the Exchange System (ES).
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Generate Italian electronic invoice XML files (FatturaPA 1.2) from customer invoices and credit notes, ready to be sent to the SdI exchange system. Track each file's sending status and re-export it when needed.
This module adds the outgoing side of Italian electronic invoicing. On a posted customer invoice or credit note, an 'Export E-invoice' button creates an XML file; the invoice then shows an 'E-invoice State' (Ready to Send, Sent, Delivered, Accepted, Error) and a link to the generated file.
A new 'E-invoice Export Files' menu lists the generated files with their state, customer, sending user and dates. Files can be reset to Ready only when in Sender Error state, and cannot be deleted once sent to SdI. A 'Re-Export E-invoice' button regenerates the XML for invoices whose file is in error.
Before generating, the module checks that the document is a customer invoice, that fiscal payment method and term are set when a payment term or due date exists, that product lines have taxes, and that company and company partner share the same VAT. Invoices with an existing XML cannot be reset to draft until the file is deleted.
Settings let you choose the e-bill transmitter, the maximum number of invoices grouped per XML file (company and per customer), the currency handling (keep original or force euro) and which descriptive lines (notes, sections) to hide. A PDF report can be automatically attached to the XML.
Required by other modules
Menus it adds
Models and fields (7)
- res.company · extends an existing modelxml_divisa_value (XML Divisa value), max_invoice_in_xml (Max Invoice # in XML), e_invoice_hide_line_type, e_invoice_transmitter_id
- res.partner · extends an existing modelmax_invoice_in_xml (Max Invoice # in XML), e_invoice_hide_line_type
- account.move · extends an existing modelfatturapa_state (E-invoice State), has_pdf_invoice_print, e_invoice_hide_line_type, fatturapa_payment_term_id (Fiscal Payment Term), fatturapa_attachment_out_id, fatturapa_payment_method_id (Fiscal Payment Method)
- res.config.settings · extends an existing modelxml_divisa_value, max_invoice_in_xml, e_invoice_hide_line_type, e_invoice_transmitter_id
- fatturapa.attachments · extends an existing modelis_pdf_invoice_print
- wizard.export.fatturapa · new modelreport_print_menu
- fatturapa.attachment.out · new modelstate, sending_date (Sent Date), sending_user, delivered_date, out_invoice_ids (Out Invoices), invoice_partner_id (Customer), has_pdf_invoice_print
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/l10n-italy.
terminal Installation and usage
OCA documentation · Odoo 16.0Configuration
Source · Odoo 16.0Italiano
Consultare il file README di l10n_it_fatturapa.
É possibile esportare le fatture cliente con le righe articolo con un CodiceTipo diverso dallo standard 'ODOO' creando un parametro 'fatturapa.codicetipo.odoo' (in Configurazione \> Funzioni tecniche \> Parametri \> Parametri di sistema) con il codice voluto (tipicamente su richiesta del cliente). Non è possibile impostare un diverso CodiceTipo per cliente, al momento.
Per non mostrare nella fattura elettronica le righe descrittive (note, sezioni) presenti nella fattura, valorizzare il campo "Tipi di righe da nascondere". Questo campo è presente in tre diversi posti, il valore impostato in uno di questi sovrascrive il valore presente nel successivo:
- Nella fattura, scheda "Fatturazione elettronica", sezione "Configurazione";
- Nel partner, scheda "Fatturazione elettronica";
- In Contabilità > Configurazione > Impostazioni, sezione "Fatture elettroniche".
English
See l10n_it_fatturapa README file.
It is possible to export invoices with rows with a different CodiceTipo from the default 'ODOO' by creating a parameter 'fatturapa.codicetipo.odoo' (in Settings \> Technical \> Parameters \> System Parameters) with the desired code (tipically on customer's request). It is not possible to set a different CodiceTipo by customer, until now.
To hide the descriptive lines (notes, sections) present in the invoice from the electronic invoice, set the "Line Types to hide". This field is present in three different places; the value set in one place overrides the value in the following place:
- In the invoice, "Electronic Invoicing" tab, "Configuration" section;
- In the partner, "Electronic Invoicing" tab;
- In Accounting > Configuration > Settings, "Electronic Invoices" section.
Usage
Source · Odoo 16.0Italiano
> - Compilare la fattura con i dati necessari per l'esportazione: per > esempio, nella scheda "Fattura elettronica" > - Selezionare 1 o N fatture ed eseguire la procedura guidata "Esporta > fattura elettronica" > - Per le fatture estere, è possibile inviarle a soli fini fiscali > inserendo il codice identificativo XXXXXXX (7 volte X) ed avendo > cura di indicare il paese del partner. Le fatture vanno comunque > spedite al cliente, ma si evita la predisposizione dell'esterometro.
English
> - Fill invoice data you need to export: For instance, in 'Electronic > Invoice' tab > - Select 1 or N invoices and run 'Export Electronic Invoice' wizard > - For foreign invoices, it is possible to send them only for tax > purposes with code XXXXXXX (7 times X) and assuring to set the > country of the partner. Invoices must be sent anyway to the > customer, but in this way it is not needed to prepare esterometro.
No verified information in OCA: Installation.
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.
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.