LogoTailride
Integrations

Odoo

Automatically create draft vendor bills in Odoo with Tailride.

Overview

Tailride creates draft vendor bills in Odoo — with per-line expense accounts and taxes, partner matching, and the original PDF attached. Nothing is posted automatically: every bill lands as a draft for you to review in Odoo.

Prerequisites

  • An Odoo instance (Odoo Online or self-hosted) reachable over HTTPS
  • An Odoo user with permission to create vendor bills
  • An Odoo API key for that user

Setting Up the Integration

In Odoo, generate an API key: Preferences → Account Security → New API Key

In Tailride, open the Integrations tab and click Connect on the Odoo card. Fill in your Odoo URL (e.g. https://yourcompany.odoo.com), Database (auto-filled from the URL — edit it if yours differs), Login (email), and the API Key

Click Test connection — Tailride verifies the credentials and that the user can create vendor bills, then shows Connected as <name> @ <company>. Click Save

The setup dialog opens. First check which Odoo company Tailride books bills into. Then sync your chart of accounts, optionally import coding history, and configure automatic export. See Accounting Software for the full setup flow.

Export Settings

  • Odoo company — the company bills are created in, picked from the companies your Odoo user can access. Tailride uses only its chart of accounts, taxes and purchase journals, and imports coding history only from its bills. A new connection starts with your Odoo user's default company. An integration set up before the company choice existed keeps working in the company it already booked into: the one of its automatic export journal or, if you only exported manually, the one of your most recently exported bills. Reconnecting to the same database (for example with a new API key) keeps the company and your automatic export settings. Switching company here re-syncs the chart of accounts and turns automatic export off until you pick a purchase journal of the new company. Reconnecting to another database, or after your Odoo user lost access to the company, starts over on the default company: sync the chart of accounts again and pick a purchase journal. If your Odoo user can no longer access the selected company, pick another one here. The export dialog shows the company bills go to and, when your Odoo user has several companies, a link to switch it
  • Purchase journal (required for auto-export) — the journal bills are created in. Only journals of the selected company are listed
  • Default account — the expense account used for uncoded or adjustment lines (coded lines keep their own accounts)

Odoo creates a purchase journal (usually Vendor Bills) together with the chart of accounts and taxes when a company's fiscal localization is installed. If the list is empty, switch to that company in Odoo and set its localization under Settings → Accounting → Fiscal Localization, or add a journal of type Purchase under Accounting → Configuration → Journals. Odoo only lists the journals of the companies ticked in its company switcher.

How Export Works

  • Each invoice becomes a draft vendor bill (in_invoice); credit notes become draft refunds (in_refund)
  • The supplier is matched by VAT number, then email, then name — or created if no match is found
  • Line items carry their coded expense accounts, and taxes are detected per line from the extracted VAT (a tax you pick manually in the export dialog overrides all lines)
  • Self-assessed reverse-charge taxes (such as intra-EU acquisition taxes) are only used for reverse-charge invoices, never for invoices that show regular VAT
  • In a multi-company Odoo database, the bill belongs to the selected Odoo company (the company of its purchase journal), and only that company's taxes, accounts and suppliers are used. A line coded to another company's account is booked on the default account, and the invoice shows a warning. An invoice issued by that same company is not exported, because a company cannot be its own supplier — select the company that received it
  • If Odoo already contains a matching bill, Tailride links to it instead of creating a duplicate
  • The original PDF is attached to the bill

Exports run automatically when auto-export is enabled, or manually via the invoice actions menu.

Limitations

  • Bills are always created as drafts — posting happens in Odoo
  • We can't modify or delete existing Odoo data
  • Already-exported invoices are skipped (a single invoice can be re-uploaded explicitly)

On this page