Skip to content
English

FEC export

The FEC (Fichier des Écritures Comptables — Accounting Entries File) is a standardised file containing all the accounting entries of a financial year. Its format is defined by the tax administration (DGFiP) and its export has been a legal obligation since 2014 (article L. 47 A-I of the Livre des procédures fiscales).

When to export the FEC?

SituationMandatory?Detail
Tax auditYesThe administration can require the FEC during an audit of accounts
Software changeRecommendedThe FEC lets you transfer your accounting history to another tool
Year-end closingRecommendedArchiving a FEC at closing is a good record-keeping practice
Certification / auditDepending on contextThe statutory auditor or the chartered accountant may request it

What you validate

Before keeping or transmitting an exported FEC, check:

  • the company and the SIREN;
  • the financial year exported;
  • the debit/credit balance;
  • the absence of draft or rejected entries expected in the export;
  • the presence of attachments if you requested a ZIP archive.

How to export

Via the agent

Simply ask Simon:

“Export the FEC for financial year 2025”

Simon identifies the requested financial year, generates the regulatory file and tells you where to retrieve it.

Options

Simon exports the FEC over the specified financial-year period:

  • start and end dates of the financial year;
  • text mode for the FEC alone;
  • ZIP mode if you also request the attachments.

In ZIP mode, Simon generates an archive containing the FEC and a folder of supporting documents.

Generated file

The file is saved in the exports/ folder of the Simon space. In line with the DGFiP convention, its name uses the SIREN followed by the closing date of the financial year in YYYYMMDD format — for example 123456789FEC20251231.txt for the file alone. In ZIP mode, the archive has the same name with .zip and contains the file together with a folder of attachments.


File format

The FEC is a tab-separated text file (TSV) encoded in UTF-8. The first line contains the headers, each following line corresponds to an accounting entry line.

Columns

ColumnDescriptionExample
JournalCodeJournal codeAC, BQ, VE
JournalLibJournal labelAchats, Banque / Compte courant
EcritureNumSequential entry number1, 2, 3
EcritureDateEntry date (YYYYMMDD)20250315
CompteNumAccount number401000, 512000
CompteLibAccount labelFournisseurs
CompAuxNumAuxiliary account (third party)401DUP
CompAuxLibThird party labelDupont SAS
PieceRefReference of the supporting documentfacture-2025-001.pdf
PieceDateDocument date (YYYYMMDD)20250310
EcritureLibLine labelAchat fournitures
DebitDebit amount1200,00
CreditCredit amount0,00
EcritureLetLettering codeAA, AB
DateLetLettering date (YYYYMMDD)20250320
ValidDateValidation date20250316
MontantDeviseAmount in currency (if applicable)1500,00
IdeviseISO currency codeUSD, GBP

Lettering in the FEC

The EcritureLet and DateLet columns indicate whether an entry line has been lettered (i.e. matched with its counterpart). Simon populates these columns from two sources, in order of priority:

1. Explicit lettering

Created manually or via the lettering workflow. The codes come from the lettering tracking:

  • Final lettering — uppercase code (AA, AB…)
  • Partial lettering — lowercase code (aa, ab…) when the balance is not zero

2. Implicit lettering (by reconciliation)

For accounts 401 (suppliers) and 411 (customers) only. When an invoice is reconciled with a bank transaction via bank reconciliation, Simon automatically generates a sequential lettering code.


Approved entries only

The FEC contains only approved entries. Entries awaiting validation, rejected or in draft are excluded.


Export result

The tool returns a summary:

Example return
{
"status": "OK",
"rows": 842,
"total_debit": 156230.50,
"total_credit": 156230.50,
"balance": 0,
"lettered_lines": 614,
"unlettered_lines": 228,
"file": "~/Library/Application Support/simon-agent/exports/123456789FEC20251231.txt",
"format": "txt"
}