Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · bookkeeping

Our French company's accounting software now has an AI agent that drafts and posts journal entries. What does the tax administration expect from the FEC file we'd hand over in an audit, can an entry be changed once it's validated, and how should the agent fit into validation and period closing?

Last updated

TL;DR: Two sets of rules apply. Under article L. 47 A of the Livre des procédures fiscales, a business keeping computerized books meets its duty to present its accounts in a tax audit by handing over a copy of its fichier des écritures comptables (FEC) in the format set by article A. 47 A-1; in a desk examination of the accounts (article L. 47 AA) the file must be sent within fifteen days. The tax guidance (BOFiP BOI-CF-IOR-60-40-20) says the FEC is one file per financial year covering every journal, with entries numbered chronologically in increasing order with no gaps or reversals, and it carries each entry's validation date. Not presenting a compliant FEC costs a fine of €5,000 or, if tax is reassessed and the amount is higher, 10% of the tax due (article 1729 D of the Code général des impôts). Separately, BOI-BIC-DECLA-30-10-20-40 applies the Plan comptable général: once an entry is validated it can't be modified or deleted (article 921-3), software functions that do so are prohibited, and periods must be closed no later than the end of the following period (article 921-4). An agent can draft; validation and closing should stay with a person.

What should I check, step by step?

1. Let the agent post only in draft (brouillard) mode. The guidance says draft entries can still be changed, but validation freezes them, so a person should review and validate.

  1. Correct validated entries with new entries, never by editing or deleting. The guidance calls software functions that change or delete validated entries prohibited and says software that doesn't guarantee irreversibility can put the regularity of the books in question.
  2. Close each period no later than the end of the following one (PCG article 921-4). An entry dated in a closed period goes on the first day of the open period, with its real date stated.
  3. Generate a test FEC now and check it: one file per year, every journal, entry numbers increasing without gaps or reversals, a validation date on every line, field names on the first line and the file description the format requires.
  4. Keep the documentation PCG article 911-2 asks for, describing your accounting procedures and organisation; add what the agent does, its permissions, and who validates its entries.
  5. Keep each entry's link to its supporting document (piece reference and date). The guidance says the audit trail from documents to accounts and back must be permanent.
  6. Archive, don't just back up: at each year-end closing, export the entries to a readable format such as TXT or CSV. The guidance says a backup in a proprietary format may not meet the retention rules.

What is France's FEC file and when do you have to hand it over?

Article L. 47 A, I of the Livre des procédures fiscales (LPF) says a taxpayer whose books are kept on computer meets its obligation to present them in a tax audit by handing over a copy of the accounting entries files in the electronic format set by article A. 47 A-1. BOFiP BOI-CF-IOR-60-40-10 says this is mandatory for audits whose notice was sent from January 1, 2014, for businesses taxed under a real regime for corporate tax or income tax (BIC, BNC, BA), with exemptions for some property-only SCIs and for micro-entrepreneurs. For a desk examination of the accounts, BOI-CF-DG-40-20 says article L. 47 AA requires the FEC within fifteen days of receiving the notice.

What does the French Plan comptable général say about validating and closing computerized entries?

BOI-BIC-DECLA-30-10-20-40 (version of July 20, 2018) applies the Plan comptable général (PCG) to computerized books. Article 921-3 forbids blanks or alterations in manual books, and for computerized books that becomes a validation procedure that forbids any modification or deletion. The guidance describes three phases: entries in draft mode can be changed; validation is a deliberate software step that freezes every element of the entry; after validation, functions that delete or modify a validated entry go against the principle of irreversibility and their use is prohibited. Software that doesn't guarantee irreversibility and intangibility of validated entries can raise questions about whether the books are regular and have evidential value.

How should an AI agent fit into French entry-validation and FEC rules?

None of these texts mentions AI. An agent that drafts or posts entries is part of your computerized accounting system, so its entries are subject to the same validation, closing and FEC rules as anything a person types.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We just closed October. Record that the period was closed, who closed it, how many entries the agent drafted and a hash of the FEC export for the period, so there's a dated receipt outside our accounting software.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "books.period_closed",
    "outcome": "success",
    "occurred_at": "2026-11-24T17:00:00Z",
    "client_event_id": "close:2026-10",
    "summary": "October 2026 closed in accounting software by role CPT-1; 1,284 validated entries in the FEC export for the period, 612 drafted by bookkeeping agent v1.8 and validated by role CPT-2; entry numbers continuous",
    "action_sha256": "<sha256 of the period's FEC export>"
  }
}

Rightshold isn't an accounting system or a records archive, doesn't produce or check FEC files, doesn't connect to your accounting software or the French tax administration, and doesn't check whether your books meet French law. Content is from BOFiP BOI-CF-IOR-60-40-10, BOI-CF-IOR-60-40-20, BOI-CF-DG-40-20 and BOI-BIC-DECLA-30-10-20-40 and from article 1729 D of the Code général des impôts as published on bofip.impots.gouv.fr and legifrance.gouv.fr and read on November 24, 2026 (our English summary of French texts). The application to AI agents is ours, since the texts don't mention AI. Not tax or legal advice; ask your expert-comptable about your setup.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'