AggregateDocs
Guides

Odoo and Aggregate

Last updated

Short answer: Aggregate reads each Odoo company's monthly profit and loss from its posted journal items, so you can ask any AI assistant or agent about it alongside your banks, payment processors and payroll. It can't move money, and it only connects an Odoo user that can't change anything: it checks that before connecting and before every sync.

Status: Beta. It's built to Odoo's documentation and hasn't been tried with a real Odoo database yet, so it's marked Beta. If a number looks off, tell us at support@aggregate.finance.

What you need: Odoo 19 or later (Aggregate uses Odoo's JSON-2 API). On Odoo Online, the API is only on the Custom plan: One App Free and Standard don't include it.

What it reads

From those, Aggregate adds up each month's income, cost of goods sold and expenses per account, and net income, in the company's currency. Each month's items must balance to the cent, or the sync stops instead of showing a number.

It's a report: nothing is posted to Aggregate's ledger, because the same money already comes in through your bank. No customer, vendor or user names, emails or addresses are read or kept.

Why a read-only user

An Odoo API key can do everything its user can. So Aggregate asks for a key made by a user that can only read, and before it connects and at the start of every sync it asks Odoo, with that key:

If the user can, or Odoo doesn't answer clearly, Aggregate doesn't connect, or it stops, disconnects and deletes its copy of the key.

Make the read-only user

You need an Odoo administrator.

  1. Make the user. Go to Settings → Users & Companies → Users and choose New. Name it, for example, Aggregate (read only), with its own email login.
  2. Give it read-only accounting. On the user's Access Rights tab, set Accounting to Read-only (some versions call it Auditor), and leave every other app empty (no Sales, Inventory, Settings and so on). Set the user type to Internal User. - On Odoo Community, where the Accounting field has no Read-only choice: turn on developer mode (Settings → Activate the developer mode), open Settings → Users & Companies → Groups, open Show Accounting Features - Readonly, and add the user on its Users tab.
  3. Take away contact editing. In developer mode, open the user and, under extra rights, untick Contact Creation (it lets a user edit bank account numbers, which Aggregate refuses).
  4. Companies. Under Allowed Companies, tick each company Aggregate should read. Each becomes its own connection.
  5. Set a password for the user (it needs to sign in once, to make its key).

To check it yourself: in developer mode, open the user and choose Access Rights at the top. Nothing for the accounting models should have Write, Create or Delete ticked.

Make the API key

  1. Sign in to Odoo as the read-only user.
  2. Open your avatar → My Preferences (or Preferences) → Account Security → New API Key.
  3. Describe it as Aggregate, pick the longest duration Odoo allows (three months at most), and choose Generate Key. Copy the key: Odoo shows it only once.

Connect

  1. In Aggregate, open Connections, choose Add, then Odoo.
  2. Type your Odoo address, the one in your browser (for example https://yourcompany.odoo.com). Fill in Database only if your Odoo serves more than one database from that address.
  3. Paste the API key.

When the key expires

Odoo keys stop working when they expire (three months at most) or are deleted. Aggregate then stops the sync and says so. Sign in to Odoo as the read-only user, make a new key the same way, and paste it into the connection. Nothing already in Aggregate is lost.

How often it updates

Every few hours. Each sync begins by checking the user again.

Disconnect and delete

Disconnect Odoo in Aggregate at any time: open Connections, choose the connection, then Disconnect. Disconnecting deletes what it brought in after 30 days, unless you connect it again before then, or right away if you choose Disconnect and delete its data. Aggregate can't delete the key in Odoo, so to end access there too, sign in as the read-only user and delete the Aggregate key under Odoo's My Preferences, on its Account Security tab, or archive the user.

© 2026 Aggregate Finance LLC