OdooWiki OCA HUB

ITA - Fattura elettronica - Import ZIP

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

Italiano

Questo modulo aggiunge una vista per importare diversi file XML di fatture elettroniche (OUT/IN) tramite file ZIP.

Il modulo importerà dal file ZIP solo file XML o P7M, anche se in subdirectory, ignorando file non riconosciuti.

English

This module adds a view to import several XML e-invoice files (OUT/IN) via ZIP file.

The module will import only XML or P7M files from the ZIP file, even if in subdirectories, ignoring unrecognized files.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you upload a single ZIP file containing many Italian electronic invoice XML (or P7M) files and import them all at once, either as attachments only or as full draft invoices.

This module adds a new screen under the Italian Localization menu called "Import E-bill ZIP Files". You upload one ZIP archive; the system opens it, looks inside every folder, and processes only files that are valid XML or have a .p7m extension, silently skipping anything else.

On the import record you get two buttons: - "Import invoices": creates the electronic invoice attachments and then generates the corresponding draft customer or vendor invoices. - "Import Files (No Invoices)": only stores the XML attachments without creating invoices.

Smart buttons show how many XML files and how many invoices were created, split between outgoing (sales) and incoming (purchases), and let you jump straight to those records. A Messages tab lists any inconsistencies found on the generated invoices.

Files whose supplier is your own company are automatically treated as outgoing e-invoices; the rest become incoming ones. When importing outgoing invoices, the system uses sale journals, sale taxes, income accounts and the customer's payment terms, and creates credit notes for TD04 documents. The import record is linked to the generated attachments and invoices, and a multi-company rule keeps each company's imports separate.

Required by other modules

Menus it adds

menu_action_fatturapa_attachment_import_zip
Models and fields (5)
  • account.move · extends an existing modelattachment_in_import_zip_id, attachment_out_import_zip_id
  • fatturapa.attachment.in · extends an existing modelattachment_import_zip_id
  • wizard.import.fatturapa · extends an existing model
  • fatturapa.attachment.out · extends an existing modelattachment_import_zip_id
  • fatturapa.attachment.import.zip · new modelstate, messages (Error Messages), xml_in_count (XML In Count), xml_out_count (XML Out Count), invoice_in_ids (Invoices In), invoice_out_ids (Invoices Out), ir_attachment_id, attachment_in_ids (Attachments In), invoices_in_count, attachment_out_ids (Attachments Out), invoices_out_count

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0

Italiano

Impostare la partita IVA o il codice fiscale dell'azienda corrente: le fatture elettroniche importate risulteranno attive quando il nodo CedentePrestatore identifica il partner dell'azienda corrente.

English

Set the VAT number or the fiscal code of the current company: the imported electronic invoices will be active when the CedentePrestatore node identifies the partner of the current company.

Italiano

  • Andare in Fatturazione -\> Configurazione -\> Fiscalità italiana -\> Import E-bill ZIP Files
  • Caricare un file ZIP contenente i file XML di fatture elettroniche (OUT/IN)
  • Eseguire "Import Invoices" per creare le fatture in bozza

English

  • Go to Accounting -\> Configuration -\> Italian Localization -\> Import E-bill ZIP Files
  • Upload ZIP file including XML e-invoice files (OUT/IN)
  • Run "Import Invoices" to create a draft invoices/bills

No verified information in OCA: Installation.

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.