OdooWiki OCA HUB

ITA - Fattura elettronica - Base

l10n_it_fatturapa folder_open OCA/l10n-italy open_in_new
Localization/Italy License: AGPL-3

Italiano

Modulo base per gestire le fatture elettroniche.

Consultare anche i file README di l10n_it_fatturapa_out e l10n_it_fatturapa_in.

English

Base module to handle Electronic Invoices.

See also l10n_it_fatturapa_out and l10n_it_fatturapa_in README files.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds the Italian Electronic Invoice (Fattura Elettronica) data structure to Odoo: extra fields on invoices, partners and companies, plus a preview of the XML file. It is the base layer used by the sending and receiving modules.

This module prepares Odoo for Italian electronic invoicing. It does not send or receive files by itself; it adds the data fields and screens that the sending and receiving modules rely on.

On customer invoices and vendor bills you get new sections: Electronic Invoice, Related Documents, withholding, welfare fund, payment details, transport and delivery information, activity progress, attachments and summary data. A button opens the invoice in the current window.

On partners you get the Addressee Code (7 characters, default 0000000), Addressee PEC, IPA code for Public Administrations, professional register data, EORI code and a flag 'Enable electronic invoicing'. When that flag is set, Odoo checks the partner data and blocks saving if something needed for the XML is missing (name and surname for individuals, street, city, country, ZIP for Italian partners, VAT or fiscal code, correct code lengths).

In Settings you configure company-level e-invoice options: fiscal position, legal tax representative, third-party sender, stable organization, Art. 73, Public Administration reference code, REA data and the preview style for ordinary and simplified invoices.

A preview link shows the electronic invoice as a readable HTML page, and the module can read the XML inside the file, removing the digital signature.

Menus 'Electronic Invoice' and 'Electronic Bill' appear under Accounting.

Menus it adds

Electronic InvoiceElectronic BillElectronic invoicingfatturapa_related_document_type_menu
Models and fields (19)
  • res.company · extends an existing modelfatturapa_art73 (Art. 73), fatturapa_preview_style (Preview Format Style for Fattura Ordinaria), fatturapa_sender_partner, fatturapa_fiscal_position_id, fatturapa_tax_representative, fatturapa_simple_preview_style (Preview Format Style for Fattura Semplificata), fatturapa_pub_administration_ref (Public Administration Reference Code), fatturapa_stabile_organizzazione
  • res.partner · extends an existing modelregister (Professional Register), eori_code (EORI Code), register_code (Register Registration Number), license_number (License Code), pa_partner_code (PA Code for Partner), pec_destinatario (Addressee PEC), register_regdate (Register Registration Date), register_province, register_fiscalpos (Register Fiscal Position), codice_destinatario (Addressee Code), electronic_invoice_subjected (Enable electronic invoicing), electronic_invoice_data_complete, electronic_invoice_obliged_subject (Obliged Subject), electronic_invoice_use_this_address (Use this e-invoicing data when invoicing to this address), electronic_invoice_no_contact_update (Do not update the contact from Electronic Invoice Details)
  • account.move · extends an existing modelart73 (Art. 73), sender, carrier_id (Carrier), net_weight, description, unit_weight (Weight Unit), gross_weight, intermediary, number_items (Number of Items), total_travel (Travel in hours or Km), efatt_rounding (Rounding), ftpa_incoterms (E-inv Incoterms), transport_date, pickup_datetime (Pick up), protocol_number, delivery_address (Delivery Address for E-invoice), transport_reason (Reason), welfare_fund_ids, delivery_datetime (Delivery Date Time), ftpa_related_ddts, related_documents, transport_vehicle (Vehicle), fatturapa_payments, ftpa_withholding_ids, related_invoice_code, related_invoice_date, vehicle_registration, activity_progress_ids, fatturapa_summary_ids, tax_representative_id (Tax Representative)
  • account.move.line · extends an existing modeladmin_ref (Admin. ref.), ftpa_line_number (Line Number), ftpa_related_ddts, related_documents, discount_rise_price_ids
  • welfare.fund.type · new modelname, description
  • discount.rise.price · new modelname, amount, invoice_id, percentage, invoice_line_id
  • res.config.settings · extends an existing modelfatturapa_art73 (Art. 73), fatturapa_rea_number (REA Number), fatturapa_rea_office (REA Office), fatturapa_rea_capital (REA Capital), fatturapa_rea_partner (REA Copartner), fatturapa_preview_style (Preview Format Style for Fattura Ordinaria), fatturapa_sender_partner (Third Party/Sender), fatturapa_rea_liquidation (REA Liquidation), fatturapa_fiscal_position_id (Fiscal Position), fatturapa_tax_representative (Legal Tax Representative), fatturapa_simple_preview_style (Preview Format Style for Fattura Semplificata), fatturapa_pub_administration_ref (Public Administration Reference Code), fatturapa_stabile_organizzazione (Stable Organization)
  • fatturapa.attachment · new modelid, att_name (SdI file name), ir_attachment_id (Attachment), ftpa_preview_link (Preview link)
  • fatturapa.attachments · new modelformat, invoice_id, compression, ir_attachment_id
  • fatturapa.related_ddt · new modeldate, name (Document ID), lineRef (Line Ref.), invoice_id, invoice_line_id
  • withholding.data.line · new modelname (Withholding Type), amount (Withholding amount), invoice_id
  • fatturapa.payment.data · new modelinvoice_id, payment_terms (Electronic Invoice Payment Method), payment_methods
  • fatturapa.summary.data · new modelrounding, tax_rate, amount_tax, invoice_id, payability (VAT payability), law_reference (Law reference), amount_untaxed, incidental_charges, non_taxable_nature (Non taxable nature)
  • welfare.fund.data.line · new modelname (Welfare Fund Type), kind_id (Non taxable nature), invoice_id, pa_line_code (PA Code for this Record), welfare_Iva_tax (VAT Tax Rate), welfare_taxable, welfare_rate_tax (Welfare Tax Rate), welfare_amount_tax (Welfare Tax Amount), subjected_withholding (Subjected to Withholding)
  • fatturapa.payment.detail · new modelrecipient, recepit_cf (Receipt Issuer FC), payment_bank, payment_code, payment_days (Payment Term Days), penalty_date (Effective Date of Penalty), recepit_name (Receipt Issuer Name), recepit_title (Receipt Issuer Title), payment_amount, penalty_amount (Amount of Penalty), fatturapa_pm_id (Electronic Invoice Payment Method), payment_data_id, recepit_surname (Receipt Issuer Surname), max_payment_date (Maximum Date for Payment), payment_bank_abi (ABI), payment_bank_bic (BIC), payment_bank_cab (CAB), payment_due_date, post_office_code, payment_bank_iban (IBAN), payment_bank_name (Bank Name), payment_term_start, prepayment_discount, account_move_line_id (Payment Line)
  • fatturapa.fiscal_position · new modelcode, name (Description)
  • fatturapa.activity.progress · new modelinvoice_id, fatturapa_activity_progress (Activity Progress)
  • fatturapa.related_document_type · new modelcig (CIG Code), cup (CUP Code), code (Order Agreement Code), date, name (Document ID), type, lineRef (Line Ref.), numitem (Item Num.), invoice_id, invoice_line_id
  • l10n_it_fatturapa.attachment.e_invoice.link · new model

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 14.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0

Italiano

In caso di problemi dovuti all'incompatibilità con il modulo autoinstallante l10n_it_edi, per installare questo modulo è necessario:

  • Installare l10n_it
  • Disinstallare l10n_it_edi
  • Installare l10n_it_fatturapa

English

In case of issues due to the incompatibility with the auto-installing module l10n_it_edi, in order to install this module you have to:

  • Install l10n_it
  • Uninstall l10n_it_edi
  • Install l10n_it_fatturapa

Italiano

  • Nella scheda "Fattura elettronica" del partner, selezionare "Abilitare fatturazione elettronica" per attivare la funzionalità di generazione delle e-fatture.
  • Per i clienti e i fornitori che sono soggetti obbligati all'emissione della fattura elettronica va abilitata la casella "Soggetto obbligato".
  • Le pubbliche amministrazioni devono avere un codice IPA.
  • Gli altri devono avere il codice destinatario o la PEC.
  • Configurare le imposte riguardo a "Natura non imponibile", "Riferimento normativo" ed "Esigibilità IVA".
  • Configurare i dati della fattura elettronica in Fatturazione/Contabilità → Configurazione → Impostazioni → Fatture elettroniche, dove necessario.
  • Opzionalmente, configurare lo stile dell'anteprima della fattura elettronica selezionando lo "Stile formato di anteprima".

English

  • In partner form, select 'Enable Electronic Invoicing' in 'Electronic Invoice' tab to activate e-invoices generation feature.
  • Enable "Obliged Subject" for customers and suppliers subject to the obligation to issue electronic invoices.
  • Public administrations must have IPA code.
  • Others must have Addressee Code or PEC.
  • Configure taxes about 'Non taxable nature', 'Law reference' and 'VAT payability'.
  • Configure Electronic Invoice data in Invoicing/Accounting → Configuration → Settings → Electronic Invoices, where needed.
  • Optionally configure the Electronic Invoice preview format style by selecting 'Preview Format Style'.

Italiano

Il modulo NON È compatibile con il modulo standard l10n_it_edi.

English

The module is NOT compatible with the standard l10n_it_edi module.

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.