chatmated
EN
Try it
Odoo

Odoo connection: how many posted customer invoices are unpaid and how much money is waiting

You can set up the Odoo connection yourself in the Chatmated app on the Connections page: at present it reads how many posted customer invoices are unpaid or partly paid and what their total balance is. Reading customers, due dates and vendor bills is something we build to order. You need the Odoo address, the database name, the login e-mail and an API key. On Odoo Online this works only with the Custom plan.

Connect it yourself

You can set up this connection yourself in the Chatmated app. What the ready connection reads today is written at the top of the page. Below is everything the program's API allows: the rest we build on request.

Connect OdooThe account takes a minute. Three days are free and no card is asked for.

What the connection reads

  • Posted customer invoices that are unpaid or partly paid
  • The unpaid balance of each such invoice and the company currency
  • Customers, payment due dates and vendor bills, if these are built on separately

What it does when you confirm

  • The ready-made connection shows in the morning view the number of unpaid customer invoices and their total unpaid balance
  • Can be built so that overdue invoices come into the morning view by customer

What it does not do

  • Does not create, post or change any invoice or payment in Odoo
  • Does not read customer names
  • Does not ask for the API key in the chat

What we need from you. The Odoo address, the database name, the login e-mail and an API key. The key is made in Odoo: your picture in the top right, My Profile (Preferences in older Odoo), Account Security, New API Key. On Odoo Online the external API is only in the Custom plan.

How many customer invoices are unpaid in Odoo?How much money is still to come in according to Odoo?Check whether the Odoo connection is working

Money that is on an invoice but not in the bank

In Odoo sales, stock and invoices are in one place. When many invoices are written, it is easy to lose track of how much money is in customers' hands. Odoo's own reports show it, but they have to be opened.

The connection brings it into the morning view as one row: "Odoo unpaid invoices". The number shows how many invoices are waiting for money, and next to it is the amount still to come in from those invoices. If that amount grows week by week faster than sales, it is time to send reminders.

Does your Odoo fit

Before you start, check where your Odoo runs. Odoo's documentation says that on Odoo Online reading data through the external API is only possible with the Custom plan. It is not in One App Free and Standard, and the connection cannot work there.

Where Odoo runs Does the connection work
Odoo Online, Custom plan yes
Odoo Online, One App Free or Standard no
Odoo.sh yes
Your own server, public https address yes

With your own server the Odoo address has to be reachable from the internet and start with https. The app cannot see an Odoo inside an internal network.

Making the API key

  1. Sign in to Odoo with a user who can see customer invoices.
  2. Click your picture in the top right and open My Profile. In older Odoo this is Preferences.
  3. Open the Account Security tab and click New API Key. Odoo asks for your password.
  4. Type Chatmated as the description, choose the duration and click Generate Key.
  5. Copy the key at once. Odoo shows it only once and it cannot be retrieved later.
  6. In the Chatmated app go to the Connections page, find Odoo and fill in four fields: the Odoo address (for example https://mycompany.odoo.com), the database name, the login e-mail and the API key.

On Odoo Online the database name is usually the same as the start of the address. On saving, the app asks Odoo for one unpaid invoice as a test. If the address is wrong, the form says that no Odoo was found at this address. If the key, the e-mail or the rights do not fit, the form says what to check and reminds you of the Custom plan requirement.

What exactly is read

The connection asks Odoo for invoices that have three properties at once: it is a customer invoice, it is posted, and it is unpaid or partly paid. Drafts and credit notes do not go into the number. Only two fields are taken from each invoice: the unpaid balance and the company currency.

With a partly paid invoice only the part that is still unpaid goes into the total. If the currency is the euro, the total is shown in euros. If the company currency is something else, the total is shown with that currency's code. Up to two thousand invoices are read at a time, and with a larger number a plus sign goes after the number. The result is remembered for a quarter of an hour.

Odoo 19 has a new interface called JSON-2 and the connection uses it. Older Odoo does not have this interface, and then the app uses the old one. According to Odoo's documentation the old interface goes away in Odoo Online version 21.1 in winter 2027 and in Odoo 22 in autumn 2028.

The key and how long it lasts

An Odoo API key acts on behalf of the user and with their rights. It cannot be limited to reading. Chatmated makes only read requests with the key and changes nothing in Odoo. The key is kept encrypted together with the address, the database name and the e-mail.

According to Odoo's documentation you cannot make a key that lasts more than three months. That means the key has to be renewed at least once a quarter. When the key expires, the app marks the connection broken at the daily check and the company owner gets an e-mail. You put in the new key under the Manage button of the Odoo row. In the same window you can also pause, resume and remove the connection.

What the Odoo connection does not do yet

At present there is one row in the morning view: the number of unpaid customer invoices and their balance. Overdue invoices separately, customer names, vendor bills and stock levels are not in the self-connect part. We build these to order.

If your accounting is in an Estonian program, see the pages Merit Aktiva connection and SmartAccounts connection. The page who owes me money covers the question more broadly.

The Odoo connection has been built from Odoo's public documentation and has not yet been tried with a real Odoo database.

Questions

My Odoo Online is on the Standard plan. Does it work?

No. According to Odoo's documentation the external API on Odoo Online is only in the Custom plan, it is not in One App Free or Standard. Odoo hosted on your own server and Odoo.sh do not have this limit.

Why did the connection stop working after a few months?

An Odoo API key lasts three months at most. Then you need to make a new key in Odoo and put it in place of the old one in the manage window of the Odoo row on the Connections page. When the key expires, you get an e-mail about it.

Can the key be limited to reading?

No. The key acts with the rights of the user it was made for. If you want to narrow the access, create a separate user in Odoo for the connection who can see customer invoices, and make the key for that user.

Sources

  1. Odoo 19.0: External JSON-2 API · read 18 November 2026
  2. Odoo pricing · read 18 November 2026

Same group: accounting and invoices