Zid Connector

Import Zid products, customers and orders into Odoo sales, with a VAT tax map, totals checked to the cent against Zid's invoice, cancellations and incremental syncs.

Buy on the Odoo App StoreThe catalogue

What it does

Brings a Zid store into Odoo: VAT rates go to a Tax Map that points at your own Odoo sale taxes (never created), products and customers are matched by their Zid id, and each order becomes a confirmed sale order with its products, coupon and shipping.

Every order is rebuilt from Zid's own invoice breakdown and kept only when its VAT and total match to the cent; anything else is skipped with both amounts in the history, never imported wrong. Orders canceled in Zid are canceled in Odoo, tokens are refreshed on schedule as Zid asks, and syncs run every 15 minutes, with optional webhooks.

Demo video

The video loads from YouTube (privacy-enhanced mode) when you press play. Watch on YouTube

Features

FeatureWhat it does
Tax MapEach Zid VAT rate maps to an existing Odoo sale tax; the one tax with the same rate is proposed. An order with an unmapped rate waits; no tax is ever created.
Orders checked to the centProducts, coupon and shipping rebuilt from Zid's invoice; VAT and total must match, and unknown fees are never guessed.
CancellationsAn order canceled in Zid cancels its Odoo sale order; status changes are kept on the order.
Products and customersMatched by their Zid id; only changes are written again.
Tokens kept aliveZid refresh tokens expire after a year: they are refreshed on schedule, about every 10 months, as Zid recommends.
WebhooksOptional subscription with credentials only Odoo knows; every order is read again from the API.
SecurityRead-only (the webhook subscription is the one opt-in write); the secret and tokens are visible to administrators only and never logged; at most 60 requests a minute.

Setup

  1. Zid developer dashboard: create an app (read scopes for orders, products and customers) and add the redirect URL shown in Odoo to its allowed redirection URLs.
  2. Odoo: Settings > Zid. Enter the client id and secret and click Connect to Zid; the merchant approves the app in Zid.
  3. Click Sync Now, map the VAT rate in the Tax Map, and sync again (or activate the scheduled action).
  4. Optional: click Subscribe Webhooks so Zid tells Odoo about new orders right away.

Requirements

  • Odoo 17, 18, 19 or 20, Community edition
  • Odoo apps: Sales, Invoicing
  • Python requests on the Odoo server

What it does not do

  • Writing to Zid (products, stock, order status), except subscribing webhooks when you ask for it.
  • Reverse orders, refunds and credit notes; stock levels.
  • Multi-currency: the order currency must be the company currency.
  • Several Zid stores in one database.

Tests

Automated tests, last run
OdooTests passedLast run
1741
1841
1941
2041

The tests ship with the module source, so you can run them on your own server.

Questions

Do I need a Zid app?

Yes: create one in the Zid developer dashboard (client id and secret, redirect URL from the Odoo settings). The merchant then approves it once.

What if an order total differs?

It is not imported. The history shows the Odoo and Zid amounts, so you can fix the Tax Map and read the orders again.

Are taxes created?

Never. Each Zid VAT rate is mapped to one of your Odoo sale taxes; orders with an unmapped rate wait until it is mapped.

What about canceled orders?

An order canceled in Zid after it was imported cancels its Odoo sale order; one canceled before is not imported.

Selling in Saudi Arabia?

The ZATCA readiness review checks your Odoo setup against ZATCA Phase 2 e-invoicing for SAR 4,500, credited to the integration project.

ZATCA readiness [email protected]