OdooWiki OCA HUB

France - FEC

l10n_fr_fec_oca folder_open OCA/l10n-france open_in_new
Accounting License: LGPL-3

Ce module permet de générer le fichier FEC tel que définit par l'arrêté du 29 Juillet 2013 portant modification des dispositions de l'article A. 47 A-1 du livre des procédures fiscales.

Cet arrêté prévoit l'obligation pour les sociétés ayant une comptabilité informatisée de pouvoir fournir à l'administration fiscale un fichier regroupant l'ensemble des écritures comptables de l'exercice. Le format de ce fichier, appelé FEC, est définit dans l'arrêté.

Le détail du format du FEC est spécifié dans le bulletin officiel des finances publiques BOI-CF-IOR-60-40-20-20131213 du 13 Décembre 2013. Ce module implémente le fichier FEC au format texte et non au format XML, car le format texte sera facilement lisible et vérifiable par le comptable en utilisant un tableur.

La structure du fichier FEC généré par ce module a été vérifiée avec le logiciel Test Compta Demat version 1_00_10b disponible sur le site de la direction générale des finances publiques en utilisant une base de donnée Odoo réelle.

Ce module est un fork du module l10n_fr_fec des addons officiels. Il ajoute plusieurs options pour la génération du FEC:

  • choix de l'encodage des caractères,
  • choix du séparateur de champ,
  • choix pour l'export du champ partenaire des lignes comptables,
  • choix pour le code de partenaire.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Generate the French FEC (Fichier d'Échange Informatisé) accounting export file required by the French tax administration, directly from Odoo, for a chosen period and company.

This module adds a wizard that produces the FEC text file that French companies with computerised accounting must be able to hand to the tax authorities. You open it from the French statements menu (Accounting > Reporting > French Statements > FEC (OCA)).

In the wizard you pick the company, a date range (or start and end dates), the export type (official, posted entries only, or non-official including draft entries), the file encoding (ISO-8859-15, UTF-8 or ASCII), the field delimiter (pipe or tab), how partners are exported (receivable/payable accounts, selected accounts, or all), and whether the partner auxiliary number uses the partner ID or its Reference.

When you press Generate, Odoo builds the file with the required FEC columns, including opening balances for the period, and downloads it as a text file named with the company SIREN and the end date. The company must have a SIRET, otherwise an error is shown. Only accounting users or administrators can run it, and a multi-company rule prevents users from downloading a FEC belonging to another company.

Depends on

l10n_fraccountdate_range

Menus it adds

account_fr_fec_oca_menu
Models and fields (1)
  • account.fr.fec.oca · new modeldate_to (End Date), encoding, fec_data (FEC File), filename, date_from (Start Date), delimiter (Field Delimiter), company_id, export_type, date_range_id, partner_option (Partner Export Option), partner_identifier, partner_account_ids (Accounts)

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: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0

Pour générer le FEC, allez dans le menu Invoicing > Reporting > France > FEC (OCA) qui va démarrer l'assistant de génération du FEC.

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.