Skip to main content

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.

  • API: Xero Accounting API (REST)
  • Authentication: OAuth 2.0; access tokens last 30 minutes and refresh tokens (offline_access scope) 60 days
  • Odoo: 17, 18, 19 and 20, on Odoo.sh or your own server
  • FlexigoTech connector: not published; we build it to order

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.

developer.xero.com/documentation/api/accounting/overview

Authentication, events and limits, from the Xero documentation

  • Authentication: OAuth 2.0; access tokens last 30 minutes and refresh tokens (offline_access scope) 60 daysaccess_token: 30 minutes (source)
  • Minute limits: 60 calls per minute and 5 at the same time, per connected organisationMinute Limit: 60 calls per minute (source)
  • Daily limit: 1,000 calls a day on the starter tier, 5,000 on higher tiersDaily 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 secondsA 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 resourceOdoo modelDirectionWhat the integration would do
Contactsres.partnerboth waysCustomers and suppliers matched by name and tax number, with Xero's contact webhook keeping Odoo up to date.
Invoices, Credit Notesaccount.move
account.move.line
Odoo → XeroInvoices 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.
Paymentsaccount.paymentXero → OdooPayments reconciled in Xero brought back to Odoo, so the sales team sees which invoices are paid.
Itemsproduct.productOdoo → XeroOdoo products as Xero items, with the same code, so invoice lines match on both sides.
Accounts, Tax Ratesaccount.account
account.tax
Xero → OdooXero'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.

Custom development

Shall we connect Xero to your Odoo?

Request a free scope analysis