Automotive · Saudi Arabia · Odoo 18 (upgraded from 15) Live in production

One ERP for a 300-employee automotive group, with ZATCA Phase 2 compliance

End-to-end HR, payroll, accounting, and sales ecosystem for a Saudi automotive group. It includes ZATCA Phase 2 e-invoicing at 1,500+ invoices a month, WooCommerce sync at 1,000+ orders a month, and a WhatsApp helpdesk that cut ticket response times by ~40%.

less manual work — across invoicing, payroll & job cards
60%
ZATCA e-invoices / month — production volume
1,500+
faster ticket response — client-reported after WhatsApp helpdesk launch
~40%

What changed

Before
  • Disconnected spreadsheets
  • A legacy accounting tool
  • Manual Saudi payroll
  • Paper job cards
After
One Odoo 18 system
  • Accounting
  • Payroll
  • HR
  • Attendance
  • Sales
  • Purchase
  • Inventory
  • Helpdesk
  • +5 more

Connected to ZATCA Phase 2 (Fatoora) · WooCommerce · WhatsApp Business API

Executive summary

A premium car-servicing and spare-parts retail group in Saudi Arabia, with 300+ employees across multiple branches and legal entities, was running its business on disconnected spreadsheets, a legacy accounting tool, and manual processes for everything from payroll to job cards. I architected and led the delivery of a single Odoo platform, first built on Odoo 15 and later upgraded by me to Odoo 18, covering HR, payroll, accounting, sales, inventory, and customer service, integrated with ZATCA Phase 2 e-invoicing, WooCommerce, and WhatsApp. The result was roughly 60% less manual work, 1,500+ compliant e-invoices a month, and a customer-service operation that responds ~40% faster.

Business context

The group operates two intertwined businesses: multi-branch vehicle servicing and a spare-parts retail operation with a growing online channel. Growth had outpaced systems. Each branch kept its own records, head office consolidated numbers by hand, and Saudi Arabia’s ZATCA Phase 2 e-invoicing mandate was approaching with hard deadlines and real penalties.

The problem

  • Compliance risk: ZATCA Phase 2 requires cryptographically signed, cleared e-invoices submitted to the Fatoora platform. The existing tools couldn’t do it.
  • Payroll complexity: Saudi labor law (GOSI contributions, overtime rules, violation management and end-of-service benefits) was handled manually for 300+ employees, with predictable errors.
  • Fragmented operations: sales, workshop job cards, inventory, and accounting lived in separate systems (or on paper), so management had no consolidated view across branches.
  • Slow customer service: service requests and job-card updates flowed through phone calls, keeping response times high and staff overloaded.

Requirements

Must-haves: ZATCA Phase 2 compliance before the mandate window; multi-company, multi-branch accounting with consolidated reporting; full Saudi payroll (GOSI, overtime, end-of-service) with an employee self-service portal; two-way WooCommerce sync for the online parts store; and a helpdesk customers would actually use, which in the Gulf means WhatsApp.

Solution architecture

System architecture: automotive group ERP
External systems
ZATCA Fatoorae-invoice clearance
WooCommerceonline parts store
WhatsApp Business APIcustomer service
Integration layer: REST APIs & webhooks, queued with retry logic
e-Invoice signing & clearance
Order & stock sync
Helpdesk bot & notifications
Odoo 18 core: multi-company, multi-branch
Accounting
Sales & CRM
Inventory & Purchase
HR · Payroll · Attendance
Helpdesk & Portal

The platform runs as one Odoo database with company-level separation for each legal entity and branch-level analytic dimensions. Branch managers see their own numbers, while head office gets consolidated statements without manual work.

Key custom work

  • ZATCA Phase 2 e-invoicing: invoice XML generation, cryptographic stamping, and clearance against the Fatoora platform, hardened for 1,500+ invoices a month with failure queues and automatic retries.
  • Saudi payroll engine: GOSI contribution rules, overtime and violation management aligned with labor law, shift management with approval chains, and an end-of-service benefits module built to local regulations.
  • Employee self-service portal: payslips, leave, expenses, and shift requests for 300+ employees, removing a paper bottleneck from HR.
  • WooCommerce ↔ Odoo sync: products, stock, and 1,000+ monthly orders flow both ways over REST, so the online store stopped being an island.
  • WhatsApp helpdesk: a multi-channel service desk where customers open and track service requests over WhatsApp; job-card status updates go out automatically.
  • Custom appraisals: performance workflows tied to bonus and allowance management, replacing an annual spreadsheet exercise.

Challenges & decisions

Clearance failures couldn’t block sales. ZATCA clearance is synchronous in spirit but the network isn’t. I designed the e-invoicing flow around a queued submission model: invoices are issued immediately, signed and cleared in the background, and flagged loudly if clearance fails. This protects both cash flow and compliance.

Payroll cutover risk. Running 300+ employees’ pay through a new system for the first time is the moment ERP projects lose trust. We ran two full parallel payroll cycles (old process and Odoo side by side), reconciling to the riyal before switching over.

Multi-company structure. The group’s entities share suppliers and sometimes stock. Getting inter-company flows right (and keeping ZATCA reporting per-entity clean) drove the decision to model branches as analytic dimensions inside companies rather than as separate companies. That gave less structural complexity with the same reporting depth.

Upgrade from Odoo 15 to Odoo 18

The group first went live on Odoo 15. When it was time to move to a supported version, I ran the upgrade to Odoo 18 myself: I listed every custom module, ported each one to Odoo 18, migrated the data, and checked accounting, payroll and ZATCA e-invoicing against the old system before switching over. The business kept the same processes and integrations, now on a current, supported Odoo version.

Business impact

AreaBeforeAfterChange
Manual work across invoicing, payroll & job cardsManual, spreadsheet-drivenAutomated in one ERP−60%
E-invoicing complianceNot possible1,500+ cleared invoices/moZATCA Phase 2 compliant
Online order handlingRe-keyed by handSynced automatically1,000+ orders/mo untouched
Ticket first responsePhone-based, slowWhatsApp-automated~40% faster (client-reported)
Payroll for 300+ employeesManual GOSI & EOS calculationsRule-driven payroll engineErrors eliminated at source

Lessons learned

  • Compliance deadlines are the best executive sponsor. ZATCA’s mandate created urgency that made process change stick, so we sequenced the hardest workflow changes to ride that momentum.
  • In the Gulf, WhatsApp is the customer portal. The web portal saw modest use; the WhatsApp channel was adopted overnight. Meeting customers where they already are beat building where we wished they were.
  • Parallel payroll runs are non-negotiable. They cost two extra weeks and saved the project’s credibility.

Client identity withheld under NDA. Reference available privately on request.

Delivered by Dhiren Narola — Odoo Architect & AI Automation Engineer. About me · Discuss a similar project

Next step

Facing something similar?

Bring the messy version of your situation — the discovery call is where it gets untangled. Written proposal within 3–5 business days after.

Reply time
Within 8 business hours, usually much faster
Availability
Accepting 1–2 new engagements · Q4 2026