Xero Import
by CRM Smiths https://crmsmiths.com/odoo-apps/xero-import/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_xero_import$ 249.00
Xero Import
Xero Import for Odoo
Import a Xero organisation into Odoo Accounting: chart of accounts, tax rates, contacts, items, open invoices and bills with their payments and credit notes, and opening balances checked against the Xero trial balance.
Independent integration by CRM Smiths, using the Xero Accounting API (OAuth 2.0, read-only scopes). It only reads from Xero. Not affiliated with or endorsed by Xero.
What it does
Moves your books from Xero to Odoo. The chart of accounts lands in an editable Account Map, tax rates are linked to the Odoo tax with the same rate (or created, and listed, when you allow it), contacts arrive as customers and vendors (one partner when a contact is both), and invoices, credit notes and bills are posted only when their totals equal Xero to the cent, tax-exclusive or tax-inclusive.
Pick a cut-over date: older documents come in only while they are open, with the payments and credit notes applied to them, and one opening entry brings every account to the Xero trial balance of that day. The import then checks each account and lists any difference.
Re-runs read only what changed, within Xero's API limits, so you can keep both systems in step until you switch. Each step writes a row in the Import History with what was created, updated, left out and skipped.
Screenshots

Xero Import settings: OAuth connection, journals, cut-over date, policies and the steps to run.

The Account Map: every Xero account with the Odoo account it is booked on, editable.

An imported Xero invoice posted in Odoo with its discount, GST and the credit note allocated.

Import history: the opening balances step with the trial balance check, account by account.
Supported versions
Odoo 17.0, 18.0, 19.0 and 20.0, Community edition. The same automated test suite (111 offline tests) passes on all four versions.
Depends on: Invoicing/Accounting, Contacts and Product (account, contacts, product, mail); Python requests.
Setup
- In the Xero developer portal (My Apps), create a Web app and register the Redirect URI shown in Odoo (Odoo must be reachable over https).
- Odoo: Settings > Xero Import. Paste the Client ID and Client Secret, click Connect to Xero and pick the organisation (try the Demo Company first).
- Click Bank Accounts and choose the Odoo journal for each Xero bank account; set the journals and the cut-over date.
- Turn on the steps and click Start Import (or Run in Background). Review the Account Map and Tax Map, then run Opening Balances and read the trial balance check in the Import History.
Features
| Feature | What it does |
|---|---|
| Chart of accounts | Every account mapped to an Odoo account type; receivable, payable, GST, bank and retained earnings go to the company's own accounts. |
| Tax rates | Each Xero tax rate per use (sales, purchases), multi-component rates as group taxes; nothing created without being listed. |
| Contacts and items | Names, e-mail, phone, website, tax number, postal and street addresses, contact persons, payment terms; items with prices, accounts and default taxes. |
| Invoices, credit notes and bills | Lines, discounts, tax-exclusive and tax-inclusive amounts; totals checked to the cent before posting; credit note allocations applied. |
| Payments | Invoice and bill payments (batch payments included) on the mapped journal, applied exactly. |
| Opening balances | One opening entry on the cut-over date from the Xero trial balance, minus what Odoo already holds; every account then checked. |
| Safe re-runs | Records matched by their Xero id first; voided and deleted documents and payments cancelled in Odoo, never deleted. |
| Security and limits | Read-only scopes; secret and tokens visible to administrators only and never logged; one Xero organisation per Odoo company; 60 calls a minute respected, long imports continue in the background. |
What it does not do
- Export from Odoo to Xero.
- Overpayments, prepayments and refunds, bank transactions, manual journals, tracking categories, attachments, quotes and purchase orders, inventory quantities.
- Foreign-currency documents keep Xero's amounts but are booked at the Odoo rate of their date.
- Month-based payment terms (due dates come from each document).
FAQ
Which Xero app do I need?
A free Web app from the Xero developer portal; Odoo asks for read-only scopes only.
What does the cut-over date do?
Documents dated on or before it come in only while they are still open; the opening entry carries everything else, so Odoo matches the Xero trial balance on that day.
A contact is both customer and supplier in Xero. What do I get?
One Odoo partner with both roles.
Does a second import create duplicates?
No. Every record is matched by its Xero id, and unchanged records are not written again.
What about the Xero API limits?
The import stays under 60 calls a minute; a large first import saves as it goes and continues in the background.
Support
Questions, problems or a feature you need: write to hello@crmsmiths.com. Please include your Odoo version and, for an error, the message shown and the matching row of the module's history.
Published by CRM Smiths. Independent integration; not affiliated with or endorsed by Xero.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) • Invoicing (account) |
| Lines of code | 3453 |
| Technical Name |
cs_xero_import |
| License | OPL-1 |
| Website | https://crmsmiths.com/odoo-apps/xero-import/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_xero_import |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please log in to comment on this module