Liasse Maroc EDI · FOR DOLIBARR

Your liasse comes out of the balance.
The ZIP is ready for Simpl-IS.

Liasse Maroc EDI fills the balance sheet, CPC, ESG and schedules of the Moroccan corporate tax package from a trial balance (CGNC chart), checks their consistency and produces the EDI XML file validated against the DGI XSD schema for Simpl-IS.

Dolibarr 18 → 24PHP 7.4 – 8.3Version 1.0.0Price on requestBeing published

Liasse Maroc EDI — module for Dolibarr
Normal and simplified modelsEDI XML checked against the DGI XSDSales by customer statementNo external service
YOUR DAILY WORKFLOW

What changes once the module is active.

01

No more cell-by-cell retyping on Simpl-IS

The trial balance is read from Dolibarr accounting (current and previous year) or imported from a CSV or Excel file. Shipped CGNC rules fill the balance sheet, CPC, ESG, CPC detail, fixed assets, depreciation, provisions, VAT, inventories and cash-flow statement.

02

A file refused at home, not by the DGI

The XML is validated against the official XSD schema embedded in the module (normal model: 26 schedules, 1,729 cells; simplified: 23 schedules, 1,328 cells). Cell codes documented but refused by the schema are neither entered nor exported. Consistency checks block validation until they pass.

03

You keep the last word

Schedules are laid out like the official forms with a T01 to T26 table of contents. An entry replaces the value taken from the balance, which stays displayed as a reminder; totals are recomputed on save. Nominative schedules accept free rows pasted straight from a spreadsheet.

The list of packages — Dolibarr
Actual module interface in Dolibarr · Demonstration data. Click to enlarge.
INSIDE THE MODULE

The list of packages

The home page counts down to the filing deadline of the current package and lists each package with its year, model, balance-sheet total, net result, status (draft or filed), schema compliance of the EDI file and deadline. The five-step path is recalled: balance, schedules, checks, EDI file, filing.

Browse all screens →

Know exactly what happens.

WorkflowTriggerResult in Dolibarr
Trial balance“Read the accounting and recompute” or CSV / Excel importBalanced trial balance for the year and the previous year, frozen with the package; unmapped accounts listed by amount.
SchedulesAutomatic from CGNC prefix rules, adjustable per companyBalance sheet, CPC, ESG, CPC detail, fixed assets, depreciation, provisions, VAT, inventories, cash-flow statement, tax reconciliation; nominative schedules entered or pasted.
Previous-year columnsLast year’s package, N-1 balance or last year’s XML fileThe “previous year” columns are taken over from any of the three sources, including an EDI file produced by another software.
ChecksChecks tab, before validationBalanced balance and balance sheet, cross-checks between schedules (fixed assets, CPC detail, inventories, provisions, ESG, cash-flow, capital), file compliance with the schema.
EDI fileEDI file tabXML validated against the DGI XSD, ZIP named after the tax identifier, year and model, SHA-256 shown; partial export of selected schedules after a “Traité avec avertissement”.
Sales by customer statementLiasse fiscale → État des ventes par clientModel ADC020B (CGI art. 20 and 82) computed from invoices, ICE checked, customers without ICE and foreign customers grouped, EDI XML and CSV.

Before you choose.

My accounting is kept outside Dolibarr. Can I still use it?

Yes. Import the trial balance as CSV or Excel: one line per account, columns recognised by their header in any order (opening balances and movements, opening and closing balances, debit and credit only, or debit and credit balances). Semicolon, comma or tab, French or English numbers, UTF-8 or Windows-1252. Total lines and collective accounts repeating their sub-accounts are discarded.

How much of the package is filled automatically?

Balance sheet assets, CPC and CPC detail are filled at 100 % by the shipped CGNC rules; the user guide inside the module shows the automatic share of each schedule. Nominative schedules (shareholders, leases, investments, rentals, loans, depreciation per asset) are entered or pasted.

What if my chart of accounts differs from the CGNC?

Under Liasse fiscale → Correspondance des comptes, add your own rules: an account or a prefix joins the schedule item of your choice, optionally depending on the balance sign. The longest prefix wins and your rules override the shipped ones for the same prefix. Recompute the package afterwards.

Simpl-IS returned “Traité avec avertissement”. Do I resend everything?

No. Fix the schedules concerned, then use “Resend only some schedules” on the EDI file tab to generate a partial file: only the schedules sent are replaced on Simpl-IS. Note that a return already “en attente de validation” blocks the upload until it is put back to draft.

Does it handle the sales by customer statement?

Yes. The ADC020B statement is computed from validated or paid invoices of the year, credit notes deducted. A Moroccan customer is declared individually when its ICE (professional id 5) has fifteen digits; customers without ICE are grouped as “divers clients locaux”, foreign customers as “clients à l’étranger”. The EDI XML file is validated against the DGI schema.

What is validated and what is frozen?

A package is a draft until you validate it; validation freezes the figures and is refused while a blocking check remains. The trial balance is frozen with the package: reread the accounting after any adjusting entry. The filing date and reference are then recorded.

NEXT STEP

Available on request.

Being published on Dolistore · version 1.0.0

The listing exists on Dolistore and is awaiting the marketplace approval. Write to us to receive the module today, with French and English translations and e-mail support; we will send the Dolistore link as soon as the listing is open for purchase.

Status checked on 9 October 2026. Dolibarr 18 → 24 · PHP 7.4 – 8.3.