Odoo integration · Accounting and invoicing
Integrate Xero with Odoo
FlexigoTech has no published connector for Xero today. Xero and Odoo usually meet when a company keeps its books in Xero and runs sales, stock or manufacturing in Odoo, or while it moves from one to the other. Xero's limits shape the design: 60 calls a minute and 1,000 or 5,000 a day per connected organisation, so Odoo would send invoices and payments in batches and listen to Xero's webhooks for contacts and invoices.
A custom module needs Odoo.sh or a self-hosted Odoo: standard Odoo Online does not accept custom code.
What the Xero API exposes
The Accounting API exposes the ledger of each Xero organisation: Accounts, Contacts, Invoices, Credit Notes, Payments, Bank Transactions, Items, Manual Journals, Tax Rates and Tracking Categories, plus Attachments on most of them.
Authentication, events and limits, from the Xero documentation
- Authentication: OAuth 2.0; access tokens last 30 minutes and refresh tokens (offline_access scope) 60 days
access_token: 30 minutes
(source) - Minute limits: 60 calls per minute and 5 at the same time, per connected organisation
Minute Limit: 60 calls per minute
(source) - Daily limit: 1,000 calls a day on the starter tier, 5,000 on higher tiers
Daily Limit: 1,000 calls per day for starter, 5,000 calls per day for higher tiers
(source) - Webhooks: events for contacts, invoices, credit notes and subscriptions, signed with x-xero-signature; the endpoint must answer with a 2xx within 5 seconds
A hashed signature of the payload is passed along in the headers of each request as x-xero-signature.
(source)
Object by object: where each Xero record would land in Odoo
| Xero resource | Odoo model | Direction | What the integration would do |
|---|---|---|---|
| Contacts | res.partner | both ways | Customers and suppliers matched by name and tax number, with Xero's contact webhook keeping Odoo up to date. |
| Invoices, Credit Notes | account.moveaccount.move.line | Odoo → Xero | Invoices and credit notes issued in Odoo created in Xero with their lines, account codes and tax rates, in batches to stay under the daily limit. |
| Payments | account.payment | Xero → Odoo | Payments reconciled in Xero brought back to Odoo, so the sales team sees which invoices are paid. |
| Items | product.product | Odoo → Xero | Odoo products as Xero items, with the same code, so invoice lines match on both sides. |
| Accounts, Tax Rates | account.accountaccount.tax | Xero → Odoo | Xero's chart of accounts and tax rates mapped once to Odoo's, the step that decides whether every later invoice lands right. |
Models checked in the Odoo 17 to 20 source code on 24-11-2026.
Does Odoo already ship something for Xero?
No: no Odoo 17 to 20 module is named after Xero (checked on 24-11-2026).
How we would build it
First we look, free of charge, at what has to move between Xero and your Odoo. Then you get the scope in writing and a fixed price before any code is written; we do not bill by the hour. The module is Python on the Odoo ORM, with tests, and we test it on a real Odoo.sh before delivery.
Sources
- developer.xero.com/documentation/api/accounting/overview, read on 24-11-2026
- developer.xero.com/documentation/guides/oauth2/auth-flow, read on 24-11-2026
- developer.xero.com/documentation/guides/oauth2/limits, read on 24-11-2026
- developer.xero.com/documentation/guides/webhooks/overview, read on 24-11-2026
Related
Xero is a trademark of its owner; this page summarises its public documentation.
