Get your Moroccan company ready for e-invoicing, on an open-source ERP.
ERPNext implementation for Moroccan companies: CGNC chart of accounts, VAT and SIMPL e-filings, CNSS/AMO/IR payroll in Frappe HR, and preparation for the DGI e-invoicing reform starting in 2026.
Business context and modernization stakes.
The DGI reform: the calendar rewards early movers
Morocco is launching e-invoicing along the lines of the French and Saudi reforms: a progressive rollout from 2026, starting with large companies (revenue above 200 million dirhams), then SMEs in 2027-2028, and finally smaller structures. Invoices will flow through the DGI ecosystem around the SIMPL platform. For a Moroccan company, migrating to ERPNext now means reaching the deadline with invoicing already structured — rather than enduring a rushed compliance sprint on a closed tool.
Moroccan tax and social rules in ERPNext
On the tax side, ERPNext is configured on the CGNC chart of accounts, with Moroccan VAT broken down by rate and the statements needed for SIMPL e-filings (IS, IR, VAT). On the social side, Frappe HR models CNSS and AMO contributions and IR withheld at source as formula-based salary structures, validated with your fiduciary. We operate from Tunis — same timezone, French- and Arabic-speaking teams — with on-site visits according to project phases.
Invoicing and accounting unprepared for the DGI reform, disparate tools
ERPNext + Frappe HR localized for Morocco: CGNC, VAT, CNSS, DGI e-invoicing
Challenges
- Anticipate the DGI e-invoicing reform: progressive rollout from 2026, starting with large companies.
- Keep accounting on the Moroccan chart of accounts (CGNC) with VAT correctly broken down for SIMPL e-filings.
- Compute compliant payroll: CNSS and AMO contributions, income tax withheld at source.
- Unify invoicing, accounting, inventory and payroll on one system, with no per-user license.
ATLAS approach
- CGNC chart of accounts and Moroccan VAT configuration, with statements feeding SIMPL e-filings.
- Frappe HR salary structures for CNSS, AMO and IR withheld at source, validated with your fiduciary.
- Active watch on DGI e-invoicing specifications and preparation of the ERPNext connection per your threshold's timeline.
- History takeover and parity tests before cutover, following our ATLAS methodology.
Expected outcomes
- A company ready for e-invoicing before its threshold's deadline, without a last-minute rebuild.
- SIMPL e-filings fed by reliable statements, without re-entry.
- Auditable CNSS/AMO/IR payroll, produced in the same system as accounting.
- An open-source ERP whose cost does not grow with user count.
What decision-makers ask about this path.
Will ERPNext be ready for Moroccan e-invoicing?+
The reform starts in 2026 with large companies, and DGI specifications are firming up in stages. We structure ERPNext invoicing today (data, formats, sequences) and will connect the flow to the DGI system per your threshold's timeline — as we do for the French and Saudi reforms.
Is Moroccan payroll covered?+
Yes. CNSS, AMO and IR withheld at source are modeled as Frappe HR salary structures, with rate tables validated with your fiduciary. Payslips and payroll registers come from the same system as accounting.
How do you operate in Morocco?+
From our Tunis center: same timezone, French- and Arabic-speaking teams, remote scoping and workshops with on-site visits at key phases. Nearshore delivery cuts costs without sacrificing proximity.
Does this modernization path match your context?
We frame the trajectory, the budget, and the deliverables in a first thirty-minute conversation. A short POC can be proposed before committing to the full program.
Start this path →