Why connect Odoo to a local SMS API?
Odoo natively includes an SMS module but defaults to Odoo IAP — billed in euros, without direct routing to Moroccan operators (IAM, Inwi, Orange) and without CNDP compliance. By configuring EnvoiSMS.ma as the external SMS gateway in Odoo, you get Tier-1 direct connectivity to Moroccan operators, MAD billing, and OTP deliverability under 4 seconds — at 60–70% lower cost than Odoo IAP.
- Direct Tier-1 routing: IAM, Inwi, Orange Morocco
- MAD billing — no currency conversion fees
- Native CNDP compliance (STOP SMS management)
- Francophone technical support based in Morocco
Setup in Odoo 16 and 17
EnvoiSMS.ma is compatible with Odoo's external SMS provider system. Configuration takes 3 steps from the Odoo admin interface: (1) In Settings > Technical > SMS > Providers, create a new provider with the EnvoiSMS.ma API URL and your Bearer key. (2) Configure parameter mapping (to, body, from). (3) Test sending from the Odoo interface to a Moroccan number. No Python code is needed for basic integration. For advanced flows (DLR webhooks, OTP with validation), our technical documentation provides complete Python snippets.
- Compatible Odoo 16 (Python 3.10+) and Odoo 17
- No-code configuration via admin interface
- Python snippets for advanced OTP flows
- DLR webhooks to your Odoo instance
Odoo + SMS use cases in Morocco
Moroccan companies using Odoo leverage SMS across key modules: Sales & CRM (quote confirmations, prospect follow-ups), Accounting (overdue invoice reminders, payment confirmations), Inventory & Manufacturing (critical stock alerts, production status), HR & Recruitment (interview confirmations, attendance reminders), Website/E-commerce (order confirmation, shipping alerts, COD confirmation).