RMG Solutions
//
Odoo integration

Connecting Shopify to Odoo in Morocco

Connect Shopify to Odoo in Morocco: sync inventory, orders and DGI-compliant invoicing, with no double entry and no gap between store and accounting.

Last updated : April 2026

Shopify sells well and does not keep Moroccan accounts. That is the natural division of roles: the store handles the storefront, payment and customer experience, the ERP handles real inventory, purchasing, compliant invoicing and accounting. The problem starts when the two do not talk and somebody re-keys every order. Connecting them removes that entry and, more importantly, makes the stock shown online match the stock you actually hold.

What connecting gives you

  • Two-way stock sync: no more selling an item that is actually out of stock
  • Shopify orders created automatically in Odoo, with customer, lines and payment
  • Morocco-compliant invoicing issued from Odoo, with ICE and sequential numbering
  • Accounting fed without re-entry, including platform and payment fees
  • A single view of stock when you also sell in a physical shop or B2B

What flows, and in which direction

Products, prices and stock levels flow down from Odoo to Shopify, because the ERP is the source of truth on what you actually hold. Orders, customers and payments flow up from Shopify to Odoo, because the store is the source of truth on what was sold. Refunds and returns flow up too, creating the matching credit note. Defining that direction before connecting anything avoids the main cause of desynchronization.

Compliant invoicing stays in Odoo

Shopify issues order confirmations, not invoices compliant with the Moroccan framework. The legal invoice, with issuer and recipient ICE, sequential tamper-proof numbering and mandatory mentions, is issued from Odoo. That is also what prepares you for e-invoicing: the day the DGI platform is live, Odoo carries the connection, not the store. Structuring it this way from the start avoids having to redo it later.

What to check before connecting

Three questions determine the complexity. Do you sell the same references across several channels, which requires careful stock reservation handling? Do you manage many variants, where matching references between the two systems becomes the real work? And do you operate multiple warehouses or partial dropshipping? We address all three during scoping, because they decide whether the connection is standard configuration or development.

Budget to expect

A standard Shopify to Odoo connection covering catalogue, stock, orders and invoicing generally runs 25,000 to 60,000 MAD. Heavy variant catalogues, multi-warehouse setups and complex pricing rules move that upward. The free scoping audit settles the question before the quote.

See all our Odoo services

Frequently asked questions

Should we drop Shopify for Odoo's own e-commerce site?

No, and we rarely recommend it. If your Shopify store converts well and your teams know it, changing it creates commercial risk for limited gain. Connecting is almost always the better benefit-to-risk trade.

Is the sync real time?

Orders come across in near real time. Stock syncs on a short, configurable interval, because permanent synchronization on a large catalogue is expensive in API calls for marginal benefit.

What happens if the connection drops?

Orders are not lost: they are replayed on recovery. We set up an alert on repeated failure, because a connection silently down for three days costs far more than one that reports itself.

Do you handle WooCommerce as well?

Yes, the logic is the same and we have a dedicated page for that integration. The choice between the two platforms does not change how the ERP behind them should be structured.

Let's talk about your project

The scoping audit is free and carries no commitment. It produces a written scope and a firm quote, even if you then decide not to go ahead with us.

Ready to Transform Your IT?

Let's discuss your project and find the right solution for your business.