Skip to content

Fiscal Years & FEC Export

The Fiscal Years page lists all your accounting periods. From here you can create or edit a fiscal year and export its journal entries in the FEC format required by tax authorities.

Watch the step-by-step tutorial

A fiscal year is an accounting period, typically 12 months. Each entry shows a label, start/end dates, a status, and an optional lock date.

StatusMeaning
OpenEntries can still be entered and modified
ClosedPeriod is over, new entries are blocked
VerifiedAudited and validated

Click Add fiscal year to create a new one, or click a row in the table to edit an existing fiscal year.

The Fichier des Écritures Comptables (FEC) is a standardized accounting file required by Moroccan and French tax authorities during fiscal audits. It contains all validated journal entries for the selected fiscal year.

  1. Go to the Fiscal Years page (/accounting/fiscal-years)
  2. Find the fiscal year you want to export
  3. Click the download icon in the rightmost column
  4. The FEC file downloads automatically

The generated file is named: FEC_<SIREN or ICE>_<YYYYMMDD>.txt

Example: FEC_123456789_20241231.txt

The FEC includes only validated entries for the selected fiscal year. Draft entries are not exported.

The file is tab-separated (UTF-8) with 18 mandatory columns:

ColumnDescription
JournalCodeJournal code
JournalLibJournal label
EcritureNumSequential entry number
EcritureDateEntry date (YYYYMMDD)
CompteNumAccount number
CompteLibAccount label
CompAuxNumAuxiliary account number
CompAuxLibAuxiliary account label
PieceRefSupporting document reference
PieceDateDocument date (YYYYMMDD)
EcritureLibEntry label
DebitDebit amount (comma as decimal separator)
CreditCredit amount (comma as decimal separator)
EcritureLetLettering code
DateLetLettering date
ValidDateEntry validation date
MontantdeviseForeign currency amount
IdeviseCurrency code

Opening balance (à-nouveau) entries appear first, then entries are sorted by date and document reference.

  • Export the FEC after validating all entries for the fiscal year
  • Ensure the fiscal year status is Closed or Verified before a tax audit
  • Keep the FEC file in a secure location — tax authorities may request it at any time
  • Download button unresponsive: an export is already in progress — wait for the current download to finish
  • Empty file: no validated entries exist for this fiscal year — validate your entries before exporting
  • Export error: check your connection and try again

Need help? Contact our technical support.