Merit Aktiva connection: who owes you and how much was sold, in one sentence
The Merit Aktiva connection is ready in the Chatmated app. It reads the customer debts report and the list of sales invoices from Merit and uses them to answer two questions: who has not paid and how much was sold. At present it writes nothing to Merit.
This connection exists in the Chatmated app. Setting it up means adding your keys and testing with real questions.
Connect Merit AktivaThe account takes a minute. Three days are free and no card is asked for.
What the connection reads
- The customer debts report: customer name, invoice number, due date, unpaid amount
- The list of sales invoices for the chosen period: invoice number, customer, date, amount
- The list of payment types, only in order to check whether the key works
What it does when you confirm
- Puts an overdue invoice into the morning view together with a "Send reminder" button
- Adds up the sales of yesterday or of the period you choose: total and number of invoices
What it does not do
- Does not create, change or delete any invoice, customer or entry in Merit
- Does not see your Merit password: the connection uses an API key that you can revoke at any time
- Does not read payroll data: Merit Palk is a separate program with a separate interface
What we need from you. The Merit API ID and API key. A user with Merit administrator rights creates them personally in the Merit settings ("Settings >> API Settings" in Merit's documentation) and can regenerate them there at any time, which makes the old key invalid.
Two questions the connection answers today
The Merit connection is made for the two questions an owner asks most often and whose answer is in the accounting program, not in the owner's head.
Who has not paid? The app asks Merit for the customer debts report and shows the rows where the unpaid amount is greater than zero, with the invoice that has been overdue longest first. Each row gives the customer's name, the invoice number, how many days past the due date it is and how large the open amount is. In the morning view there is a "Send reminder" button next to the same row.
How much was sold? The app asks for the list of sales invoices for the period you name and adds up the total and the number of invoices. If you do not give a period, it looks at yesterday.
Both are reads. The Merit connection does not currently make a single change in Merit, so it cannot break anything there either. How the debt question works step by step is on a separate page: who owes me.
What the Merit API provides in general
Our connection uses a small part of what Merit's interface allows. Merit describes its API as a REST interface that uses HTTP and JSON, and the documentation lists the following topics:
| Topic | What can be done with the API |
|---|---|
| Sales invoices | list, invoice details, creating a new invoice, credit invoice, sending an invoice by e-mail or as an e-invoice, invoice PDF |
| Sales offers | list, creating, changing the status, making an invoice from an offer |
| Purchase invoices | list, details, creating, purchase invoice awaiting approval |
| Payments | list of incoming payments, linking an incoming payment to an invoice, bank statement import |
| Customers and suppliers | list, creating, changing |
| Items and stock movements | list of items, stock report, sending movements |
| Reports | customer debts, customer payments, income statement, balance sheet, sales and purchase report |
This table is the reason why Merit is a program onto which more than two questions can be built. For example, "turn yesterday's online shop orders into invoices" is possible on Merit's side, because creating a sales invoice exists in the API. We do not put that kind of action into the ready-made connection by default: it is built when your online shop is connected too, and every invoice waits for your confirmation before it is created.
Merit's own limits that are worth taking into account
These come from Merit's documentation and apply to every connection, not only ours.
- 100 requests a minute. Above that Merit answers with error code 429 and says in the header after how many seconds to try again. For an owner's questions this is more than enough: one question is one or two requests.
- Up to 500 rows per document. An invoice, offer or entry with more than 500 rows will not go in through the API.
- The period of the invoice list. The older version (v1) allows up to three months of invoices to be requested at once. Sales for a longer period have to be requested in parts.
- The debts report is a snapshot. If no date is given, Merit calculates the debt as of today. An incoming payment the accountant has not yet entered in Merit is still a debt in the report.
The last point is the most important. The connection knows no more than Merit does. If the bank statement is imported into Merit once a week, the answer to "who has not paid" is up to a week old. Before sending a reminder it is worth looking at when incoming payments were last entered.
How the connection signs in
Merit does not let anyone in through the API with a username and password. Instead there are two values: an API ID and an API key. Every request is signed with the key in such a way that the key itself does not travel over the network: the request carries a timestamp and a signature calculated from the API ID, the timestamp and the content of the request. Merit calculates the same signature on its side and compares.
For you this means three things.
- We never ask for your Merit password.
- The key gives access only to the one Merit company in whose settings it was created.
- If you want to end the connection, you generate a new key in Merit and the old one no longer works. You do not have to ask us for permission.
How the key is created is described in the guide Merit Aktiva API key.
What the connection does not replace
The accountant or Merit itself. The app does not make entries, does not submit returns and does not decide whether an invoice has been drawn up correctly. It reads what is already recorded in Merit and brings it in front of the owner at the moment it needs a decision. If, in addition to the debt, you also want to see whether the customer has replied to your reminder, that needs a second connection: Gmail.
Questions
Does the accountant have to do anything?
Only if the accountant is your Merit administrator. An API key can be created by a user with administrator rights. If that is you, the accountant does not have to do anything and their work in Merit does not change.
What happens if I regenerate the key in Merit?
The old key stops working and the app says in the morning view that Merit's debts could not be read. The data in Merit does not change. Once the new key is added, the connection carries on working.
Does the connection also work with the Polish version of Merit?
The Merit API has separate addresses for Estonia and Poland (360 Księgowość). Our ready-made connection uses the Estonian address aktiva.merit.ee.
Sources
- Merit Aktiva API: Authentication · read 12 November 2026
- Merit Aktiva API: Customer Debts Report · read 12 November 2026
- Merit Aktiva API: Get list of sales invoices · read 12 November 2026
- Merit Aktiva API: Rate limiter · read 12 November 2026
- Merit Aktiva API: Reference Manual · read 12 November 2026
