OdooWiki OCA HUB

EMEBI

l10n_fr_intrastat_product folder_open OCA/l10n-france open_in_new
Localisation/Report Intrastat License: AGPL-3

This module adds support for the Enquête mensuelle statistique sur les échanges de biens intra-UE (EMEBI), for France. Before 2022, this declaration was called Déclaration d'Échange de Biens (DEB).

More information about the EMEBI is available on this official web page.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds French EMEBI (ex-DEB) Intrastat reporting to Odoo: regime codes, department/region detection, XML export for Pro.dou@ne and a monthly reminder that auto-creates the declaration.

This module adapts Odoo's Intrastat declaration to the French EMEBI (formerly DEB) statistical survey on intra-EU trade in goods.

  • A new configuration screen "Regime Codes" (under Intrastat configuration) lets you manage the French statistical procedure codes (11, 19, 21, 25, 26, 29, 31) with their name, description, declaration type (arrivals/dispatches), whether they are fiscal-only and a fiscal value multiplier.
  • On Intrastat computation and declaration lines, a new "Regime" field is required for French companies; it is automatically filled from the invoice type and the fiscal position (e.g. 11 for supplier invoices, 21 for B2B customer invoices, 25 for B2B credit notes, 29 for B2C dispatches).
  • The declaration total is recomputed using the regime's fiscal multiplier, so corrective regimes (like 25) reduce the fiscal value.
  • French rules are enforced: an arrivals declaration cannot use the "standard" reporting level, and a company cannot set "standard" arrivals in its settings.
  • The region code is derived from the warehouse, stock location or company partner department; a warning is raised if the department is missing.
  • The XML export for Pro.dou@ne is generated with the company's 4-character customs accreditation identifier (set in Accounting settings), and many checks block the export if data is missing (HS code, country, weight, transaction, transport, region, VAT, quantity).
  • A scheduled action creates the previous month's arrivals and dispatches declarations for French companies and emails a reminder to configured users.
  • The Excel export also includes the regime columns.

Menus it adds

intrastat_fr_regime_menu
Models and fields (9)
  • res.company · extends an existing modelfr_intrastat_accreditation (Customs accreditation identifier)
  • intrastat.unit · extends an existing modelfr_xml_label (Label for DEB)
  • stock.location · extends an existing model
  • stock.warehouse · extends an existing model
  • intrastat.fr.regime · new modelcode, name, active, description, is_fiscal_only (Is fiscal only ?), declaration_type, fiscal_value_multiplier
  • res.config.settings · extends an existing modelfr_intrastat_accreditation
  • intrastat.product.declaration · new model
  • intrastat.product.computation.line · extends an existing modelfr_regime_id (Regime), fr_regime_code (Regime Code)
  • intrastat.product.declaration.line · extends an existing modelfr_regime_id (Regime), fr_regime_code (Regime Code)

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

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-france.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to:

> - go to the menu Invoicing \> Configuration \> Intrastat \> > Transaction Types to create/verify the Transaction Types > - go to the menu Invoicing \> Settings and go to the Intrastat > section

Make sure that you have already configured the other modules intrastat_base and intrastat_product on which this module depends.

WARNING: there are A LOT of settings for DEB and all these settings need to be configured properly to generate DEBs with Odoo.

To use this module, you need to go to the menu Invoicing \> Reports \> Intrastat \> EMEBI and create a new EMEBI. Depending on your obligation levels, you may have to create 2 EMEBIs: one for departures (Expéditions) and one for arrivals (Introductions). Then, click on the button Generate lines from invoices to automatically generate the computation lines of EMEBI. After checking the lines that have been automatically generated, click on the button Confirm to generate the declaration lines, create the XML file and set the declaration readonly. Eventually, connect to your account on douane.gouv.fr and upload the EMEBI XML file.

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.