---
title: "FEC file (France): definition, format, example, check"
url: "https://www.datafuji.com/en/fec"
lang: en
updated: 2026-11-28
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://www.datafuji.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

- [Home](https://www.datafuji.com/en)

- FEC

# The FEC, France’s standard audit file: definition, structure, example and how to check it

Published November 28, 2026 · Updated November 28, 2026 · 15 min read

[Dylan Arnaud](https://www.datafuji.com/en/about#dylan-arnaud), founder of Datafuji

The FEC (fichier des écritures comptables, or “accounting entries file”) is France’s standard audit file: every entry of a fiscal year in one 18-field text file, in the format set by article A. 47 A-1 of the French Tax Procedure Code (LPF).

In France, any company that keeps its books with software and is subject to corporate income tax or to an actual-profit (“réel”) regime must hand it over in a tax audit, or face a fine of at least €5,000. The safest approach: produce and check it at every year-end close, and never re-save it in Excel.

## What is the FEC?

The FEC is a standardized copy of the company’s books: one file per fiscal year, in the same format whatever the accounting software. It is not filed every year: it is handed over in a tax audit, an obligation that applies to audits announced since January 1, 2014.

Each entry takes one line per account, all with the same entry number. Each line gives the journal, the date, the account, the debit or credit amount and the supporting document.

The file runs from the opening entries on day one (the balance sheet balances carried forward from the previous year) to the year-end adjusting entries (depreciation, change in inventory, provisions).

The SME in our example is fictional: distribution and services, €4.2M in revenue and €122,000 in net income in 2025. Its FEC has 353 lines for 100 entries. Here is its January sales entry.

![Three lines of an FEC make up sales entry VE0002 of January 31, 2025, journal VE: customer account 411 Clients debited for 294000,00, account 707 Ventes de marchandises (sales of goods) credited for 203000,00 and account 706 Prestations de services (services) credited for 91000,00. The highlighted number VE0002 is the same on all three lines. Totals are equal (€294,000 in debits, 203,000 + 91,000 = €294,000 in credits): that is double entry. Amounts use the file format: decimal comma, two decimals, no spaces.](https://www.datafuji.com/img/en/fec/fec-01.svg)

*One entry, three lines, one number: €294,000 in debits, €203,000 + €91,000 in credits.*

Debits equal credits: that is double-entry bookkeeping, which any check of the file verifies. Account names stay in French, as in any French FEC: 411 Clients (customers), 707 Ventes de marchandises (sales of goods), 706 Prestations de services (services).

The tax inspector uses it to sort, classify and recalculate the entries, and destroys their copies before the additional taxes are assessed.

### FEC, general ledger and trial balance: three views of the same entries

| Document | What it shows | Order | Format |
| --- | --- | --- | --- |
| FEC | Every entry line, with 18 pieces of information | Chronological, by validation date | Set by article A. 47 A-1 |
| General ledger | The same lines, grouped account by account | By account, then by date | Free-form, specific to the software |
| Trial balance | Total debits and credits for each account | By account | Free-form |

The general ledger can be rebuilt from the FEC, not the other way around: its printouts do not always carry the validation date (the day the entry becomes final), which the FEC requires.

## Who must produce an FEC, when, and what are the penalties?

Any company in France that keeps its books with software and is subject to corporate income tax or to an actual-profit regime must hand over its FEC. This applies to industrial and commercial profits (BIC), non-commercial profits (BNC) and agricultural profits (BA) alike.

### Who is covered

Three conditions must all be met: keeping the books with software, having to present accounting records under the French General Tax Code, and being audited. A French branch of a foreign company is covered too. French tax guidance provides for two exemptions:

- micro-entrepreneurs (sole proprietors under France’s simplified micro-business regime), even if they keep their books with software;

- real estate partnerships (SCI) taxed only on rental income and whose partners are all individuals.

An SCI subject to business taxes, or with a company among its partners, is still required to produce one.

### When it must be handed over

Only on request: the FEC is not sent with the tax return. In an on-site audit (vérification de comptabilité), it is handed over at the inspector’s first visit, one file per audited year. In a remote audit (examen de comptabilité), the company has fifteen days from receipt of the notice.

Fifteen days is enough if the file already exists: ask your accountant to produce the FEC at every year-end, check it and archive it with the annual financial statements. The medium (USB drive, secure platform) is agreed with the inspector.

### Penalties and official deadlines

The key rules set by French law, as checked on November 10, 2026 (LPF: Tax Procedure Code; CGI: General Tax Code; BOI: BOFiP, the official French tax guidance):

| Rule | What it provides | Source |
| --- | --- | --- |
| Handover, on-site audit | At the start of the audit | LPF, art. L. 47 A, I; BOI-CF-IOR-60-40-10, § 170 |
| Handover, remote audit | 15 clear days (excluding the day of receipt and the deadline day) from receipt of the notice | LPF, art. L. 47 AA; BOI-CF-DG-40-20, § 310 |
| Fine, on-site audit | €5,000, or 10% of the reassessed tax (the additional tax claimed at the end of the audit) if that is higher | CGI, art. 1729 D, I |
| Fine, remote audit | €5,000 | CGI, art. 1729 D, II; BOI-CF-DG-40-20, § 380 |
| Number of fines | One per audit, however many years are audited | BOI-CF-IOR-60-40-10, § 290; BOI-CF-DG-40-20, § 390 |
| Length of the on-site audit | The 3- or 6-month time limits only start once compliant FEC files are handed over | BOI-CF-IOR-60-40-10, § 210 to 240 |
| Response after a remote audit | The tax authority responds at most 6 months after receiving compliant FEC files | LPF, art. L. 47 AA; BOI-CF-DG-40-20, § 320 |

The catch is in the “or”: in an on-site audit, the fine is €5,000 up to €50,000 of reassessed tax, then 10% of the reassessment.

![Fine for a missing or non-compliant FEC in an on-site tax audit, as a function of the reassessed tax, from €0 to €150,000. The curve stays at €5,000 up to €50,000 of reassessed tax, then follows 10% of the reassessment up to €15,000 for €150,000. The dotted line, 10% alone, falls below the floor before €50,000. Three points: a €30,000 reassessment gives a €5,000 fine, €50,000 gives €5,000, €120,000 gives €12,000.](https://www.datafuji.com/img/en/fec/fec-02.svg)

*The fine stays at €5,000 up to €50,000 of reassessed tax, then follows 10% of the reassessment.*

The fine also applies to a badly formed file: accurate books are no protection against a non-compliant FEC. On top of that, the tax authority can set the taxable amount itself (ex officio assessment).

## What is the structure of an FEC file?

An FEC is a text file whose first line names the 18 fields, in a set order, from JournalCode to Idevise. Each following line is an entry line, its fields separated by a tab or a vertical bar “|”. Field names are in French, exactly as the regulation writes them.

The Example column shows the first line of the January sales entry.

| Field | Information | Type | Can be blank | Example |
| --- | --- | --- | --- | --- |
| 01 JournalCode | Journal code | Alphanumeric | No | VE |
| 02 JournalLib | Journal name | Alphanumeric | No | Ventes |
| 03 EcritureNum | Entry number, in a continuous sequence | Alphanumeric | No | VE0002 |
| 04 EcritureDate | Posting date | Date | No | 20250131 |
| 05 CompteNum | Account number, first three characters numeric | Alphanumeric | No | 411 |
| 06 CompteLib | Account name | Alphanumeric | No | Clients |
| 07 CompAuxNum | Subsidiary account number (customer, supplier) | Alphanumeric | Yes, if not used | (blank) |
| 08 CompAuxLib | Subsidiary account name | Alphanumeric | Yes, if not used | (blank) |
| 09 PieceRef | Supporting document reference | Alphanumeric | No | 2025-VE0002 |
| 10 PieceDate | Document date | Date | No | 20250131 |
| 11 EcritureLib | Entry description | Alphanumeric | No | Ventes 01/2025 |
| 12 Debit | Debit amount | Numeric | No | 294000,00 |
| 13 Credit | Credit amount | Numeric | No | 0,00 |
| 14 EcritureLet | Matching code: links an invoice to its payment | Alphanumeric | Yes, if not used | (blank) |
| 15 DateLet | Matching date | Date | Yes, if not used | (blank) |
| 16 ValidDate | Validation date | Date | No | 20250131 |
| 17 Montantdevise | Foreign currency amount | Numeric | Yes, if not used | (blank) |
| 18 Idevise | Currency code | Alphanumeric | Yes, if not used | (blank) |

“Can be blank” does not mean “optional”: the column is always there, only the value can be missing.

### Five fields that raise questions

- EcritureNum. An increasing sequence with no gaps, which can be specific to each journal: two journals can then share a number.

- EcritureDate. The date the transaction takes effect in the books, not the data entry date.

- PieceRef and PieceDate. Mandatory even without a document (opening entries): use a placeholder value, explained in the accompanying description.

- Debit and Credit. Always a numeric value in both, zero on the side that does not apply. Amounts can be negative.

- ValidDate. The date the entry moves from draft (entered but not yet validated) to final; without drafts, the posting date. If it is empty, the entry was not validated.

### Separator, encoding, dates, file name

| Rule | What article A. 47 A-1 says | Paragraph |
| --- | --- | --- |
| File type | Flat file, one line per record; an XML file matching the published schema is also accepted | VI |
| Separator | Tab or “|”. The commas or semicolons of a CSV file are not accepted | VI, 1°, c |
| First line | The field names, spelled as in the regulation | VII, 4° |
| Encoding | ASCII, ISO 8859-15 or UTF-8 | XII, 1° |
| Amounts | Decimal comma, no thousands separator; the sign as first or last character | XII, 2° |
| Dates | YYYYMMDD, no separator: 20251231 | XII, 4° |
| File name | SirenFECYYYYMMDD, with the year-end date (SIREN is the company’s 9-digit French ID number): 123456789FEC20251231 | IX |
| Order and content | Chronological order of validation, opening entries first; all entries after year-end adjustments, with no summarized entries (lines grouped into a total) and no closing entry that zeroes out the income and expense accounts | VII, 1° and 3° |
| Accompanying description | A document explaining the fields, codes, character set and structure | XI |

### Variants allowed by the regulation

- Montant and Sens (amount and direction) replace Debit and Credit if the software does not store both; Sens is D or C, or +1 or -1.

- BNC and BA. Under accrual accounting (transactions recorded at the invoice date), the same 18 fields, with journal and account allowed to be blank. Under cash-basis accounting (recorded on receipt and payment), three fields are added for BA (DateRglt, ModeRglt, NatOp: 21 fields), and a fourth for BNC (IdClient: 22).

- Several establishments: a 19th column holds the establishment code.

- Extra fields are accepted after the first 18, since the file must contain “all the accounting data.”

- A file split by period, with the inspector’s agreement (123456789FEC20251231_01); each part repeats the header.

## What does an FEC file look like?

An FEC looks like a plain-text table: a header line, then one line per account posted in each entry. Here is an excerpt from the SME’s file, with the “|” separator; each line is wrapped at the bars for display.

JournalCode|JournalLib|EcritureNum| EcritureDate|CompteNum|CompteLib| CompAuxNum|CompAuxLib|PieceRef| PieceDate|EcritureLib|Debit| Credit|EcritureLet|DateLet| ValidDate|Montantdevise|Idevise AN|À-nouveaux|AN0001|20250101|370| Stocks de marchandises||| 2025-AN0001|20250101|À-nouveaux| 400000,00|0,00|||20250101|| AN|À-nouveaux|AN0001|20250101|101| Capital|||2025-AN0001|20250101| À-nouveaux|0,00|300000,00||| 20250101|| … VE|Ventes|VE0002|20250131|411| Clients|||2025-VE0002|20250131| Ventes 01/2025|294000,00|0,00||| 20250131|| VE|Ventes|VE0002|20250131|707| Ventes de marchandises||| 2025-VE0002|20250131| Ventes 01/2025|0,00|203000,00||| 20250131|| VE|Ventes|VE0002|20250131|706| Prestations de services||| 2025-VE0002|20250131| Ventes 01/2025|0,00|91000,00||| 20250131||

The opening entries (“À-nouveaux”) start the file, on January 1, in their own journal: entry AN0001 has 11 lines, 2 of them shown here, for €1,812,924 on each side. Two bars in a row mark a blank field.

The example is simplified: no VAT, one sale per month. A real file has longer account numbers (70600000 in the BOFiP examples) and subsidiary accounts. The full file can be downloaded from the checking tool.

## How do you check that an FEC is compliant?

An FEC is checked in two stages: the form, against article A. 47 A-1 (separator, 18 fields, dates, amounts, file name), then accounting consistency (balanced entries). The official tool is Test Compta Demat, from the DGFiP (the French tax authority); our checking tool gives a first diagnosis in the browser.

### Test Compta Demat, the DGFiP’s tool

Test Compta Demat is free Windows software, downloadable from economie.gouv.fr, whose source code the DGFiP publishes. It shows the same screen that tax officials see when they receive a file.

- It reads flat and XML files, including BA and BNC files.

- It refuses to run if the file is not named SirenFECYYYYMMDD or if the separator is not accepted.

- It produces a PDF report and a log of issues, with their line numbers.

- Its user guide says so plainly: the report “does not constitute a certificate of compliance and cannot bind the tax authorities” (our translation).

### Checking your FEC in the browser

Our tool runs twelve checks, each tied to its rule. On the SME’s FEC:

![Result of Datafuji’s checking tool on the sample file 123456789FEC20251231.txt: no structural issues across 12 checks, all compliant. Encoding: UTF-8; Field separator: tab; The 18 fields, their names and order: present, in the required order; Same number of fields on every line: 353 lines of 18 fields; Mandatory fields filled in: no missing values; Dates in YYYYMMDD format: all are valid calendar dates; Numeric amounts, decimal comma: no thousands separator; Account numbers: 30 accounts, three leading digits; Balanced entries: 100 balanced entries; Total debits = total credits: €18,311,448.00 on each side; Dates within the fiscal year: 01/01/2025 to 12/31/2025; File name: SIREN 123456789, year ended 12/31/2025. Four findings are highlighted: the tab separator, the 353 lines of 18 fields, the 100 balanced entries and the €18,311,448.00 total in both debits and credits.](https://www.datafuji.com/img/en/fec/fec-03.svg)

*Twelve checks, all compliant: 353 lines of 18 fields, 100 balanced entries, €18,311,448 of debits and credits.*

The tool also checks the balance, because a well-formed file can be unbalanced, for example if it was truncated during export.

Our tool flags the decimal point, which Test Compta Demat rejects, but checks neither the continuity of entry numbering nor the XML format. Use ours for a quick look at the file, and the DGFiP’s before any handover. Neither judges the substance of the entries: that is the accountant’s job.

### Mistakes that make an FEC non-compliant

Almost all of them are about form, and are fixed in the software, not in the file.

- Renaming the file. “FEC 2025 final.txt” is not accepted.

- Editing the file in Excel, even just saving it.

- A decimal point or a thousands separator: “1,234.50” makes both mistakes.

- Handing over unvalidated entries, with an empty validation date.

- Filling unused fields with zeros or spaces.

- Leaving the document reference and date blank on opening entries and miscellaneous entries.

- A separator inside a description: a bar or a tab shifts the whole line.

- Summarized entries, one total per journal and per month, instead of the detail.

- Forgetting the opening entries: without them, none of the balance sheet balances is correct.

- Changing software without keeping the FEC files: after a mid-year switch, both files are handed over.

- Waiting for the audit notice to generate the file.

## How do you get the FEC from your accounting software?

Every French accounting package produces the FEC, each from its own menu, and most only deliver the version meant for the tax authority after the year-end close. Menu names are given below as they appear in the French versions.

| Software | Where to generate the FEC | Good to know | Checked on |
| --- | --- | --- | --- |
| Sage 100 Comptabilité | Traitement, Fin d’exercice, Générateur fichier écritures DGFiP | The “Sauvegarde fiscale des données et clôture” (tax backup and close) also produces an FEC, but irreversibly | November 10, 2026 |
| Sage 50 | Current year: Échanges, Exporter des écritures, FEC format. Closed year: Dossier, Exercices clôturés, open the year, then Traitements, Vérification comptable DGFIP, Export des écritures FEC | With draft or simulation checked, the file is called “Export FEC provisoire” (provisional): uncheck them for an audit | November 10, 2026 |
| Sage Génération Experts | Last month of the year, then Exercice, Génération du fichier des écritures comptables pour l’Administration Fiscale | SIREN required in the company file’s contacts. Fichier, Exporter, FEC format produces an exchange file, not the one for the tax authority | November 10, 2026 |
| Pennylane | Comptabilité, Saisie, Exports, “Exporter le FEC” | Tab-delimited text in UTF-8, inside a ZIP. Provisional until the year is closed: ValidDate empty. A VAT rate digit is appended to the account number | November 10, 2026 |
| Tiime Expert | Production comptable, Docs & Éditions, Éditions & Exports | “FEC - Contrôle fiscal” only on a closed year | November 10, 2026 |
| EBP Comptabilité | Déclaratif, Fichier des écritures comptables | Path checked for EBP Comptabilité and Hubbix | November 3, 2026 |

If anything differs, your version’s documentation prevails. Cegid, ACD and MyUnisoft are covered in our [Power BI for accounting](https://www.datafuji.com/en/power-bi-accounting#logiciels) guide. If an accounting firm keeps your books, ask them for the FEC.

### Exporting the FEC from Sage 100

- During the year, run the FEC pre-check (État, Analyse et contrôles) and correct the flagged entries.

- At year-end, back up the database, then close the journals, open the new year and post the opening entries.

- Generate the file via Traitement, Fin d’exercice, Générateur fichier écritures DGFiP.

- Check it, then archive it with the annual financial statements.

Do not run the tax backup as a test: Sage describes it as “an irreversible process” (our translation). The other ways to read a Sage database are in our [Power BI and Sage](https://www.datafuji.com/en/power-bi-sage) guide.

## How do you open an FEC in Excel or Power BI?

Open an FEC in Excel via Data, From Text/CSV, rather than File, Open, and always work on a copy: the file handed over must remain the one produced by the software. Power BI uses the Text/CSV connector.

### In Excel

Via File, Open, the import wizard offers the General type for every column: Excel guesses, and gets it wrong. Via Data, the import goes through Power Query (the import tool built into Excel), where you choose each type. The same line, read both ways:

![The same typical FEC line read two ways in Excel, on the PieceRef, EcritureDate, Debit and CompAuxLib columns. On the left, via File, Open, with the General type on every column: document 000123 becomes 123, the date 20251231 stays a right-aligned number, the amount 294000,00 becomes 294000 (correct only on a PC set to French), and the label Société displays as SociÃ©tÃ©. Three wrong values, with no error message. On the right, via Data, From Text/CSV, with a type chosen for each column (Text, Date, Decimal Number set with the French locale, Text): 000123, 12/31/2025, 294,000.00 and Société. Document 000123 and the label are illustrative; the date and amount come from entry VE0002.](https://www.datafuji.com/img/en/fec/fec-04.svg)

*Opened directly, the FEC loses its leading zeros and its dates; imported via Data, it stays correct.*

Three wrong values, with no error message. Four settings fix this:

- Codes as text: JournalCode, EcritureNum, CompteNum, CompAuxNum, PieceRef, EcritureLet, otherwise “01”, “000123” or “0001” become 1, 123 and 1.

- Dates converted from YYYYMMDD text, for all four date columns.

- Amounts: “294000,00” is only a number for Excel set to a decimal-comma locale such as French; elsewhere, right-click the column heading, then Change type, Using locale, and choose Decimal Number with the French (France) locale, then check a column total.

- Accents: if they display badly, change the File Origin; Power Query only detects UTF-8 on its own if the file starts with a byte order mark (BOM, an invisible code at the start of the file).

An Excel worksheet stops at 1,048,576 rows: beyond that, use Excel’s Data Model or Power BI.

### In Power Query and Power BI

The Text/CSV connector detects tabs on its own; for “|”, choose a custom delimiter. Turn off automatic type detection, which only looks at the first 200 rows, and set column types yourself.

For several fiscal years, the Folder connector reads all the FEC files in a folder. The general method is in our [Power Query](https://www.datafuji.com/en/power-query) guide.

### In other accounting software

The FEC is also used to switch accounting software: Sage 50 and Pennylane document an import. Before importing, check the mapping of journals and accounts, the opening entries (so the opening balance sheet is not carried over twice) and that the totals match.

## What can a business owner read in the FEC?

Beyond audits, the FEC is the most complete copy of the books, readable by any tool. From it you can get:

- The trial balance, at any date in the year.

- The [income statement](https://www.datafuji.com/en/profit-and-loss) month by month: account classes 6 (expenses) and 7 (income) grouped by posting month.

- The French intermediate management balances (soldes intermédiaires de gestion): gross margin on goods sold, value added, EBE (gross operating surplus, close to EBITDA); the [EBITDA calculator](https://www.datafuji.com/en/tools/ebitda-calculator) and the [intermediate management balances](https://www.datafuji.com/en/tools/intermediate-management-balances) page detail the accounts behind each one.

- Customer payment times, if matching is kept up to date: the gap between invoice and payment shows how long each customer really takes to pay. The [DSO calculator](https://www.datafuji.com/en/tools/dso-calculator) (days sales outstanding) turns it into an average, the [working capital requirement calculator](https://www.datafuji.com/en/tools/working-capital-calculator) into the cash tied up.

Grouped by month, the SME’s sales accounts (those starting with 70) give a curve the tax return does not show.

![Column chart of the SME’s monthly revenue for 2025, in thousands of euros, from the sales accounts (starting with 70) of its FEC (credit minus debit, by EcritureDate month): Jan 294, Feb 357, Mar 399, Apr 336, May 378, Jun 357, Jul 315, Aug 231, Sep 399, Oct 399, Nov 357, Dec 378. Total €4,200,000, monthly average €350,000. August, at €231,000, is the lowest month, €168,000 below the best month (€399,000 in March, September and October).](https://www.datafuji.com/img/en/fec/fec-05.svg)

*The FEC’s sales accounts (70), grouped by month: €4.2M for the year, with a dip to €231,000 in August.*

August is €168,000 below the best month: seasonality to plan for in the [cash flow forecast](https://www.datafuji.com/en/tools/cash-flow-forecast).

### When the FEC is not enough

- [Cost accounting](https://www.datafuji.com/en/cost-accounting) : none of the 18 fields carries a cost center (the business line, site or project the line belongs to), unless the software adds a column.

- The budget, often kept in Excel.

- Quantities, items, detailed payroll: the FEC only knows amounts by account.

- Due dates: it says whether an invoice is matched, not when it was due.

- Freshness: one file per year; during the year, it is provisional and has no year-end adjustments.

To pass an audit, Test Compta Demat and your accountant are enough. A dashboard built on the FEC is for tracking these numbers every month, across several years or companies. The method is in our [Power BI for accounting](https://www.datafuji.com/en/power-bi-accounting) guide, the KPIs in the [financial dashboard](https://www.datafuji.com/en/financial-dashboard) guide.

## Frequently asked questions

### How long must a company keep its FEC files?

In France, accounting books and records must be kept for ten years after the end of the fiscal year (Commercial Code, art. L. 123-22). Documents relevant to a tax audit must be kept for six years (Tax Procedure Code, art. L. 102 B). Keeping each FEC for ten years along with the annual financial statements covers both.

### What are the 3 mandatory accounting documents in France?

The French Commercial Code requires three books: the general journal records entries in chronological order; the general ledger sorts them by account; the inventory book lists assets and liabilities and includes the annual financial statements. The question can also refer to the three annual financial statements: balance sheet, income statement and notes. The FEC is neither: it is the standardized copy of the entries.

### Does a furnished rental landlord (LMNP) have to produce an FEC?

Yes, if taxed under the actual-profit (“réel”) regime and keeping the books with software: furnished rentals are taxed as industrial and commercial profits (BIC), so the landlord must be able to hand over an FEC in a tax audit. Under the micro-BIC regime, the landlord keeps no accounts in the tax sense, so there is no FEC to produce. French tax guidance sets no rule specific to LMNP.

## Check your FEC online

The tool reads your FEC on your device, without sending it to any server, runs the twelve checks and shows key figures, monthly revenue and journals. The sample FEC can be downloaded from it.

FEC check · read in your browser, nothing is uploaded

FEC file to check (text file, read on your device)

Choose the text file exported by your accounting software, or drop it on this box. Your browser reads it and it never leaves your device: nothing is sent to a server, nothing is stored, and no analytics run on its content. Once the page has loaded, the check works even offline.

Or paste an excerpt

Header line and entry lines, copied from the file

### Results for the sample FEC 123456789FEC20251231.txt

The 2025 fiscal year of a fictional French trading and services SME: 353 lines, tab-separated, in UTF-8. The button above downloads this same file.

No structural issues across 12 checks. Separator: tab. Amounts: Debit / Credit.

Structural checks of the file

| Check | Verdict | Finding |
| --- | --- | --- |
| Encoding A. 47 A-1, XII, 1° | Compliant | File read as UTF-8. |
| Field separator A. 47 A-1, VI, 1°, c | Compliant | Separator detected: tab. |
| The 18 fields, their names and order A. 47 A-1, VII, 1° and 2° | Compliant | All 18 fields are present, in the order set by the regulation. |
| Same number of fields on every line A. 47 A-1, VI and VII; Test Compta Demat rule | Compliant | All 353 lines have 18 fields, like the header. |
| Mandatory fields filled in A. 47 A-1, VII, 1°; BOFiP § 70, 180 and 190 | Compliant | No missing values in the fields the regulation requires to be filled in. |
| Dates in YYYYMMDD format A. 47 A-1, XII, 4° | Compliant | All dates filled in are in YYYYMMDD format and are real calendar dates. |
| Numeric amounts, decimal comma A. 47 A-1, XII, 2°; BOFiP § 210 | Compliant | All amounts are numeric, with a decimal comma and no thousands separator. |
| Account numbers A. 47 A-1, VII, 1° (item 5) | Compliant | All 30 accounts start with three digits. |
| Balanced entries Double entry: French GAAP (PCG), art. 921-1, cited in BOFiP § 100 | Compliant | All 100 entries are balanced (debit = credit, by journal and entry number). |
| Total debits = total credits Double entry: French GAAP (PCG), art. 921-1 | Compliant | Debits and credits both total €18,311,448.00. |
| Dates within the fiscal year A. 47 A-1, VII, 1° and IX | Compliant | Entries from 01/01/2025 to 12/31/2025, none after the 12/31/2025 year-end in the file name. The FEC does not give the fiscal year’s start date: compare this period with your fiscal year. |
| File name A. 47 A-1, IX; BOFiP § 370 | Compliant | SIREN 123456789, fiscal year ended 12/31/2025. |

### What the file contains

Entry lines

353

100 entries, 30 accounts

Period covered

12 months

from 01/01/2025 to 12/31/2025

Total debits

€18,311,448.00

total credits: €18,311,448.00

Revenue

€4,200,000

accounts 70, credit − debit

Net income

€122,000

income (7) − expenses (6)

#### Revenue by month (accounts 70)

- Jan 2025 €294,000

- Feb 2025 €357,000

- Mar 2025 €399,000

- Apr 2025 €336,000

- May 2025 €378,000

- Jun 2025 €357,000

- Jul 2025 €315,000

- Aug 2025 €231,000

- Sep 2025 €399,000

- Oct 2025 €399,000

- Nov 2025 €357,000

- Dec 2025 €378,000

#### Expenses by category (class 6, debit − credit)

| | |
| --- | --- |
| Purchases and inventory changes (60) | €2,165,000 |
| External services (61 and 62) | €285,000 |
| Taxes other than income tax (63) | €40,000 |
| Personnel costs (64) | €1,450,000 |
| Financial expenses (66) | €18,000 |
| Depreciation, impairment and provisions (68) | €85,000 |
| Employee profit-sharing and income tax (69) | €35,000 |
| Total expenses | €4,078,000 |
| Total income (class 7) | €4,200,000 |
| Net income | €122,000 |

#### Journals

| Journal | Lines | Debit = credit |
| --- | --- | --- |
| BQ · Banque | 132 | €8,198,524 |
| AC · Achats | 120 | €2,490,000 |
| OD · Opérations diverses | 54 | €1,610,000 |
| VE · Ventes | 36 | €4,200,000 |
| AN · À-nouveaux | 11 | €1,812,924 |

This reading assumes the French chart of accounts: revenue is the sum of accounts 70 (net of discounts in 709) and net income is the difference between classes 7 and 6. For a fiscal year not yet closed, the year-end adjusting entries are missing: net income is provisional.

This check is not a certificate of compliance. It checks the structure of the flat file and that entries balance, not the substance of the accounts, the continuity of entry numbering or the XML format. The reference tool is Test Compta Demat, from the DGFiP (French public finances directorate).

Sources

- Légifrance, [article L. 47 A of the Tax Procedure Code (LPF)](https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000037526053), version in force since October 25, 2018; [article L. 47 AA of the LPF](https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000033786103) and [article 1729 D of the General Tax Code (CGI)](https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000033815103), versions in force since January 1, 2017, accessed November 10, 2026 (in French).

- Légifrance, [article A. 47 A-1 of the LPF](https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000027804775) (VI to XIV), version in force since August 2, 2013, accessed November 10, 2026 (in French).

- BOFiP-Impôts, [BOI-CF-IOR-60-40-10](https://bofip.impots.gouv.fr/bofip/9026-PGP.html/identifiant=BOI-CF-IOR-60-40-10-20211215), presentation of accounts by handing over a copy of the accounting entries files, version of December 15, 2021 (§ 1 to 40, 50, 55, 75, 80, 150, 170, 190, 210 to 240, 260, 275 to 300), accessed November 10, 2026 (in French).

- BOFiP-Impôts, [BOI-CF-IOR-60-40-20](https://bofip.impots.gouv.fr/bofip/9028-PGP.html/identifiant=BOI-CF-IOR-60-40-20-20170607), format of the accounting entries file, version of June 7, 2017 (§ 50, 60, 70, 100, 120, 180 to 250, 260, 370, 400 and 410), accessed November 10, 2026 (in French).

- BOFiP-Impôts, [BOI-CF-DG-40-20](https://bofip.impots.gouv.fr/bofip/3750-PGP.html/identifiant=BOI-CF-DG-40-20-20260121), desk audits, remote and on-site audits, version of January 21, 2026 (§ 280 to 400), accessed November 10, 2026 (in French).

- BOFiP-Impôts, [BOI-BIC-CHAMP-40-20](https://bofip.impots.gouv.fr/bofip/3610-PGP.html/identifiant=BOI-BIC-CHAMP-40-20-20260819), furnished rentals, tax regime, version of August 19, 2026 (§ 1), accessed November 10, 2026 (in French).

- French GAAP (Plan comptable général), article 921-1 (double entry), cited by the BOFiP, BOI-CF-IOR-60-40-20, § 100.

- DGFiP (French public finances directorate), [official Test Compta Demat repository](https://github.com/DGFiP/Test-Compta-Demat) : source code (version 1_00_10b) and “Mode d’emploi de l’outil Test Compta Demat” (user guide), version 1.4 of March 2021 (pages 5, 10 and 11), accessed November 10, 2026 (in French); [FEC test tool](https://www.economie.gouv.fr/dgfip/outil-de-test-des-fichiers-des-ecritures-comptables-fec), download page (in French).

- Sage, [Sage 100 Comptabilité, year-end processing guide](https://fr-kb.sage.com/portal/app/portlets/results/viewdocument.jsp?solutionid=230105130239203) (PDF of December 2025, pages 6 to 9 and 19); knowledge base: [Exporter un fichier FEC](https://fr-kb.sage.com/portal/app/portlets/results/viewsolution.jsp?solutionid=211010150055907) (Sage 50, updated June 21, 2026), [Générer un fichier des écritures comptables (FEC)](https://fr-kb.sage.com/portal/app/portlets/results/viewsolution.jsp?solutionid=211010150055066) (Sage Génération Experts, updated December 8, 2025) and [Exporter un fichier au format FEC](https://fr-kb.sage.com/portal/app/portlets/results/viewsolution.jsp?solutionid=211010150069253), accessed November 10, 2026 (in French).

- Pennylane, [Exporter un FEC](https://help.pennylane.com/fr/articles/18662-exporter-un-fec), accessed November 10, 2026 (in French).

- Tiime, [Comment générer un fichier FEC pour l’administration fiscale ?](https://tiime-expert.helpscoutdocs.com/article/383-comment-generer-fichier-fec-administration-fiscale), updated June 2, 2025, accessed November 10, 2026 (in French).

- EBP, [Générer un fichier FEC dans EBP Comptabilité Hubbix](https://support.ebp.com/hc/fr/articles/6959234293149-G%C3%A9n%C3%A9rer-un-fichier-FEC-dans-EBP-Comptabilit%C3%A9-Hubbix), accessed November 3, 2026 (in French).

- Microsoft Support, [Excel specifications and limits](https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3) (undated page) and [Keeping leading zeros and large numbers](https://support.microsoft.com/en-us/office/keeping-leading-zeros-and-large-numbers-1bf7b935-36e1-4985-842f-5dfa51f85fe7), accessed November 10, 2026.

- Microsoft Learn, [Power Query Text/CSV connector](https://learn.microsoft.com/en-us/power-query/connectors/text-csv), updated June 29, 2026, accessed November 10, 2026.

- Microsoft Learn, [Data types in Power Query](https://learn.microsoft.com/en-us/power-query/data-types) (document locale; Change type, Using locale, Change column type with locale), page updated August 14, 2026, accessed November 28, 2026.

- Service-public.gouv.fr (Entreprendre), [Retention periods for company documents](https://entreprendre.service-public.gouv.fr/vosdroits/F10029), checked July 1, 2024 (Commercial Code, art. L. 123-22; LPF, art. L. 102 B; general journal, general ledger and inventory book), accessed November 20, 2026 (in French).
