AggregateDocs
Guides

Dolibarr and Aggregate

Last updated

Short answer: Aggregate reads your Dolibarr customer invoices and their payments and shows each month's invoiced, tax and paid totals, so you can ask any AI assistant or agent about them alongside your banks, payment processors and payroll. It can't move money, and it only connects a Dolibarr user that can only read: it checks that before connecting and before every sync.

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

What you need: Dolibarr with the API REST (server) module on, reachable at a public https address, and the company's main currency (Home → Setup → Company).

What it reads

From those, Aggregate adds up, for this month and the 11 before it, in the main currency:

Each invoice's payments must add up to the total paid Dolibarr shows for it, 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 money already comes in through your bank.

Why a read-only user

A Dolibarr API key belongs to a user and can do everything that user can. Before it connects and at the start of every sync, Aggregate asks Dolibarr for the user's rights, and every right must be a read. An administrator, or a user with any right to create, change, validate, pay, send, export or delete anything, in any module, is refused. If the user gains a right later, Aggregate stops, disconnects it and deletes its copy of the key.

Make the read-only user

You need a Dolibarr administrator.

  1. Turn on the API. Go to Home → Setup → Modules/Applications, find API REST (server) and switch it on.
  2. Make the user. Go to Users & Groups → New user. Name it, for example, Aggregate (read only). Leave it an internal user (not linked to a third party) and not an administrator.
  3. Set its rights. Open the user's Permissions tab. Dolibarr gives new users some default rights: remove them all (the minus sign beside each module), then grant only: - Customer invoices → Read customer invoices; - Third parties → Read third parties and Extend access to all third parties (without it, the user sees only the invoices of customers it is a sales representative for, and the totals would be short); - Users → Read users (it lets the user see its own rights, which is how Aggregate checks them). If the user is in a group, the group's rights count too, so check the group's Permissions tab as well.
  4. Make its API key. Edit the user's card, generate a key in the API key field, save, and copy the key.

Connect

  1. In Aggregate, open Connections, choose Add, then Dolibarr.
  2. Type the address you open Dolibarr at, without the page name (for example https://erp.example.com or https://example.com/dolibarr).
  3. Type the main currency, for example EUR.
  4. Paste the API key.

How often it updates

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

Disconnect and delete

Disconnect Dolibarr 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 Dolibarr, so to end access there too, change or delete the key on the Aggregate user's card, or disable the user.

© 2026 Aggregate Finance LLC