OdooWiki OCA HUB

ITA - Dichiarazione Intrastat

l10n_it_intrastat_statement folder_open OCA/l10n-italy open_in_new
Account License: AGPL-3

Italiano

Questo modulo si occupa di generare la dichiarazione Intrastat e le relative stampe.

Le specifiche per tali stampe e i file da inviare sono in .

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Create and manage Italian Intrastat declarations for the Customs Agency, automatically collecting sales and purchase lines from invoices and generating the official export file and printed models.

This module adds a new Intrastat Statement screen where users create a declaration by choosing the company, year, period (month or quarter), customs section and whether it covers sales, purchases or both. A button computes the statement: it searches the invoices of the period that are flagged as Intrastat and fills the four sales sections and four purchase sections automatically, then removes lines that cancel out with credit notes of the same period.

Each section stores the details required by the Italian rules, such as transaction nature, net mass, additional units, statistic value, delivery and transport terms, origin or destination country, invoice number and date, supply and payment methods. Totals of operations and amounts per section are computed automatically, and the period start and stop dates are derived from the year and period.

Users can print the official models (INTRA-1, INTRA-2 and their variants) and generate the export file to send to the authorities, with a dedicated export file record holding the generated data. The company configuration gains a customs section field used as default on statements.

Menus it adds

menu_account_intrastat_statement
Models and fields (14)
  • res.company · extends an existing modelintrastat_custom_id (Customs Section)
  • account.intrastat.statement · new modeldate (Submission Date), sale (Sales), number, purchase (Purchases), date_stop (Stop Date), company_id (Company), date_start (Start Date), fiscalyear (Year), period_type, content_type, vat_taxpayer (Taxpayer VAT Number), period_number (Period), special_cases, sale_section1_ids (Sales - Section 1), sale_section2_ids (Sales - Section 2), sale_section3_ids (Sales - Section 3), sale_section4_ids (Sales - Section 4), intrastat_code_type (Code Type), intrastat_custom_id (Customs Section), intrastat_type_data (Data Type), purchase_section1_ids (Purchases - Section 1), purchase_section2_ids (Purchases - Section 2), purchase_section3_ids (Purchases - Section 3), purchase_section4_ids (Purchases - Section 4), intrastat_vat_delegate (Delegate VAT Number), intrastat_name_delegate (Delegate Name), sale_statement_sequence (Sales Statement Sequence), purchase_statement_sequence (Purchases Statement Sequence), sale_section1_operation_amount (Operation Amount - Sales Section 1), sale_section1_operation_number (Operation Count - Sales Section 1)
  • account.intrastat.export.file · new modeldata (File), name (File Name), state
  • account.intrastat.statement.section · new modelsequence (Progr.), vat_code, invoice_id (Invoice), partner_id, amount_euro (Amount in Euro), statement_id (Statement), intrastat_code_id, country_partner_id (Partner State)
  • account.intrastat.statement.sale.section · new model
  • account.intrastat.statement.sale.section1 · new modelweight_kg (Net Mass (kg)), triangulation, additional_units, delivery_code_id (Delivery Terms), country_origin_id (Origin Country), transport_code_id (Transport Mode), province_origin_id (Origin Province), additional_units_uom (Additional Unit of Measure), statistic_amount_euro (Statistic Value in Euro), transaction_nature_id (Transaction Nature), country_destination_id (Destination Country), transaction_nature_b_id (Transaction Nature B), additional_units_required (Additional Unit Required)
  • account.intrastat.statement.sale.section2 · new modelmonth (Ref. Month), year_id (Ref. Year), quarterly (Ref. Quarter), sign_variation (Adjustment Sign), statistic_amount_euro (Statistic Value in Euro), transaction_nature_id (Transaction Nature)
  • account.intrastat.statement.sale.section3 · new modelinvoice_date, supply_method, invoice_number, payment_method, country_payment_id (Payment Country)
  • account.intrastat.statement.sale.section4 · new modelmonth (Ref. Month), year_id (Ref. Year), protocol (Protocol Number), quarterly (Ref. Quarter), cancellation, invoice_date, supply_method, invoice_number, payment_method, country_payment_id (Payment Country), intrastat_custom_id (Customs Section), progressive_to_modify (Progressive to Adjust)
  • account.intrastat.statement.purchase.section · new modelamount_currency (Amount in Currency)
  • account.intrastat.statement.purchase.section1 · new modelweight_kg (Net Mass (kg)), additional_units, delivery_code_id (Delivery Terms), country_origin_id (Provenance Country), transport_code_id (Transport Mode), additional_units_uom (Additional Unit of Measure), statistic_amount_euro (Statistic Value in Euro), transaction_nature_id (Transaction Nature), country_good_origin_id (Goods Origin Country), province_destination_id (Destination Province), transaction_nature_b_id (Transaction Nature B), additional_units_required (Additional Unit Required)
  • account.intrastat.statement.purchase.section2 · new modelmonth (Ref. Month), year_id (Ref. Year), quarterly (Ref. Quarter), sign_variation (Adjustment Sign), statistic_amount_euro (Statistic Value in Euro), transaction_nature_id (Transaction Nature)
  • account.intrastat.statement.purchase.section3 · new modelinvoice_date, supply_method, invoice_number, payment_method, country_payment_id (Payment Country)
  • account.intrastat.statement.purchase.section4 · new modelmonth (Ref. Month), year_id (Ref. Year), protocol (Protocol Number), quarterly (Ref. Quarter), invoice_date, supply_method, invoice_number, payment_method, country_payment_id (Payment Country), intrastat_custom_id (Customs Section), progressive_to_modify (Progressive to Adjust)

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 4 confirmed, 5 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 18.0

Italiano

Dichiarazione Intrastat

Accedere a Fatturazione/Contabilità → Contabilità → Intrastat → Dichiarazioni Intrastat ed utilizzare il pulsante «Crea» per creare una nuova dichiarazione.

N.B.: il menù "Contabilità" è visibile solo se vengono abilitate le funzionalità contabili complete.

Nella parte superiore della maschera, inserire i dati:

  • Azienda: popolato in automatico con il nome dell'azienda;
  • Partita IVA contribuente: la partita IVA, popolata in automatico con il nome dell'azienda;
  • Data di presentazione: popolata in automatico con la data corrente;
  • Anno: l'anno di presentazione, scelto dal menù a tendina che visualizza gli anni fiscali configurati a sistema;
  • Tipo periodo: l’orizzonte temporale a cui fa riferimento la dichiarazione, scelto da menù a tendina con le voci “Mese” o “Trimestre”;
  • Periodo: il periodo temporale a cui fa riferimento la dichiarazione. Inserire il numero del mese (es. 9 per settembre, se nel campo "Tipo periodo" è stato selezionato “Mese”, oppure in numero del trimestre (es: 1 per il trimestre gennaio-marzo), se nel campo "Tipo periodo" è stato selezionato “Trimestre”;
  • Caselle di selezione “Cessioni” e “Acquisti”: da selezionare in base alla tipologia di operazioni che si vogliono inserire nella dichiarazione;
  • Numero: progressivo della dichiarazione proposto in automatico dal sistema;
  • Tipo di contenuto: selezionare la voce di competenza dal menù a tendina;
  • Casi speciali: selezionare la voce di competenza dal menù a tendina;
  • Sezione doganale: selezionare la voce di riferimento dal menù a tendina.

Inseriti e salvati i dati, utilizzare il pulsante «Ricalcola» per popolare la dichiarazione. Per ciascuna scheda (”Cessioni” e “Acquisti”) verranno inserite nelle sezioni di riferimento:

  • Cessioni:
  • Cessione beni - Sezione 1 → fatture di vendita di merci
  • Rettifica beni - Sezione 2 → note di credito su vendita merci
  • Cessione servizi - Sezione 3 → fatture di vendita di servizi
  • Rettifica servizi - Sezione 4 → note di credito su vendita servizi
  • Acquisti:
  • Acquisto beni - Sezione 1 → fatture di acquisto di merci
  • Rettifica beni - Sezione 2 → note di credito su acquisto merci
  • Acquisto servizi - Sezione 3 → fatture di acquisto di servizi
  • Rettifica servizi - Sezione 4 → note di credito su acquisto servizi

I dati presi dalle fatture e dalle note di credito indicate come soggette ad Intrastat, relative al periodo di riferimento.

N.B.: i record presenti nelle schede "Rettifica beni - Sezione 2" e "Rettifica servizi - Sezione 4", sia per gli acquisti che per le vendite, vanno modificati per inserire i dati obbligatori mancanti.

Inseriti i dati e salvata la dichiarazione, è possibile procedere all’elaborazione dei file da inviare all’Agenzia delle Dogane tramite l’apposito pulsante «Esporta file».

Il pulsante fa partire una procedura guidata, che permette di scegliere quale tipo di file estrarre:

  • file di invio (complessivo)
  • file acquisti.cee
  • file cessioni.cee

Il file potrà essere scaricato tramite l’apposito link visualizzato nella maschera della procedura guidata. Di seguito un esempio per lo scaricamento del file cessioni.cee (il nome del file da scaricare è SCAMBI.CEE).

Dalla voce Stampa è possibile generare gli elenchi riepilogativi delle cessioni o degli acquisti intracomunitari: modello INTRA-1, INTRA-1 Bis, INTRA-1 Ter, INTRA-2, INTRA-2 Bis.

No verified information in OCA: Installation, Configuration.

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.