chatmated
EN
Try it
e-arveldaja

e-arveldaja connection: what the RIK API allows and who can create a key

The e-arveldaja connection is not ready in the Chatmated app yet; we build it to order. RIK (the Estonian Centre of Registers and Information Systems) has a public API for e-arveldaja that provides sales and purchase invoices, transactions, clients and journal entries. Only a management board member can create a key, and every key is tied to allowed IP addresses and functions.

Built on request

This connection is not ready in the app yet. We build it for your company on top of the program's public API.

What the connection reads

  • Sales invoices by payment status: paid, partially paid, unpaid
  • Purchase invoices with the same payment status filter
  • Transactions by date range and client, with bank account and reference number
  • Clients, products and services, bank accounts, chart of accounts

What it does when you confirm

  • The API allows creating a sales invoice, confirming it and sending it to the client; in the connection every such step would wait for your confirmation
  • The API allows adding a client, product or transaction

What it does not do

  • Does not sign in to e-arveldaja with your ID card, Mobile-ID or Smart-ID: the API works with a separate access permit
  • Does not reach functions that you did not choose for the access permit
  • Does not make a single journal entry or invoice without your confirmation

What we need from you. e-arveldaja API access permit. A management board member creates it in e-arveldaja under Seadistused, Üldised seadistused, e-arveldaja API juurdepääsuload (Settings, General settings, e-arveldaja API access permits) and sets the allowed IP addresses and functions there. A valid contract for using e-arveldaja is needed.

Which sales invoices are unpaid?Which purchase invoices are waiting to be paid?Which transactions were recorded yesterday?How many invoices went out this month?

What is ready and what is not

e-arveldaja is the accounting program of Registrite ja Infosüsteemide Keskus (RIK, the Estonian Centre of Registers and Information Systems). It has a public API whose description is freely readable and which RIK keeps adding to: the change log of the description has three entries from 2026, the latest dated 01.10.2026.

There is currently no e-arveldaja connection in the Chatmated app. This page describes what RIK's documentation allows to be built and what you need to know before creating a key. RIK's help page names CostPocket and Brevis as software already integrated with e-arveldaja.

What the API provides

The API description has 17 services. From the point of view of an owner's questions they divide as follows.

Service Reading Changing
Sales invoices list and a single invoice, invoice XML and PDF, sending options creating, changing, deleting, confirming, cancelling, sending to the client
Purchase invoices list and a single invoice, attached document creating, changing, deleting, confirming, cancelling
Transactions list and a single transaction, attached document creating, changing, deleting, confirming, cancelling
Journal entries list and a single entry, attached document creating, changing, deleting, confirming, cancelling
Clients, products list and a single record creating, changing, deleting, marking as inactive and active again
Bank accounts, invoice series list and a single record creating, changing, deleting
Invoice settings current settings changing
Projects, chart of accounts and account dimensions, currencies, sales and purchase articles, VAT information, invoice templates list not possible

The list of sales and purchase invoices can be requested by date range, client, status and payment status. The payment status has three values: paid, partially paid and unpaid. So the answer to the question who owes me comes straight from the list of invoices. In the invoice filter the status has two values: PROJECT and CONFIRMED, meaning confirmed. The documentation does not describe these two values in more detail. Work for which there is no invoice at all yet cannot be found under either status: for that, read the page unissued invoices.

The lists of clients, products, projects, journal entries, transactions and sales and purchase invoices come page by page. They also have a parameter for requesting only the records changed after a certain moment. The connection does not have to read the whole history again every time.

The access permit: three mandatory fields

According to RIK's help pages, generating an API key requires a valid contract for using e-arveldaja. The key can be generated by a management board member, and only if they accept the terms of use. RIK says plainly what this step means: by generating and sharing the key you give the chosen service permission to access your data.

The steps from RIK's guide:

  1. In e-arveldaja open Seadistused, Üldised seadistused, e-arveldaja API juurdepääsuload (Settings, General settings, e-arveldaja API access permits).
  2. Click the button "Lisa uus juurdepääsuluba" (Add new access permit).
  3. Fill in the three mandatory fields and click "Salvesta" (Save).
Field What you put there
Nimi (Name) the name of the external service, so that you can tell later whose key it is
Lubatud IP aadressid (Allowed IP addresses) the addresses that requests may come from; several addresses are separated with a semicolon, ranges can also be used
Ligipääsetavad funktsioonid (Accessible functions) at least one e-arveldaja function that can be reached with this key

After saving, there are four actions next to the record: "Muuda" (Edit), "Kustuta" (Delete), "Laadi võti" (Download key) and "Ajalugu" (History). The last one shows the history of requests made with this key. So you can check for yourself what the integrator has done with your data, and deleting the key ends the access.

The IP address and function fields make an e-arveldaja key a narrower permit than an ordinary API key. The key alone is not enough: the request must also come from an allowed address. And if you choose only the functions related to sales invoices and clients, the key does not reach other functions. Ask the integrator for the allowed IP addresses: RIK's guide recommends the same.

How a request proves itself

The downloaded key has three parts: the key ID, a public value and a password. The password does not travel over the network. Two headers go with every request: the time of the request in UTC to the second, and a signature computed with the password from the key ID, that time and the request address (HMAC-SHA-384).

RIK's technical documentation adds two protections.

  • If the time of the request differs from the server time by 5 minutes or more, the request is rejected with code 401.
  • Failed requests are counted per IP address. An address is blocked if there are 10 of them in the last 5 minutes, 30 in the last 60 minutes or 60 in the last 24 hours. The block lasts until the counts fall below all the limits, and it also applies to requests with the correct key.

The second point is the reason why a badly made integration can shut the e-arveldaja connection for a whole day. A server with the wrong clock or an expired key produces failed requests quickly. A proper connection stops itself after the first 401 response and lets you know, rather than trying again.

What e-arveldaja itself costs

There is no separate fee for using the API in RIK's price list. The price list that RIK refers to from its e-arveldaja page was approved by the director's directive of 29.11.2021, and its main lines are as follows.

Type of fee Amount
First 12 months for a first-time contract free
Monthly fee, 0 to 10 journal entries a month €0.00
Monthly fee, 11 to 50 journal entries a month €5.00 + VAT
Monthly fee, 51 or more journal entries a month €9.00 + VAT
Account management fee, if in each of 12 consecutive months there have been 0 to 10 chargeable journal entries €5.00 + VAT
Sending and receiving e-invoices free

The monthly fee depends on the number of journal entries confirmed during the month; the price list does not count unconfirmed entries. This matters for the connection too. A connection that only reads does not add entries. A connection that creates and confirms invoices does.

How this differs from other accounting connections

Three things worth knowing when you compare e-arveldaja with, for example, SmartAccounts.

  • The key is created by a management board member. If the company's accounting is done by a bureau, the bureau cannot take this step for you unless its employee is on the management board.
  • IP addresses are mandatory. The integrator has to tell you the specific addresses that its requests come from.
  • You choose the permissions yourself. An access permit cannot be saved without choosing functions, so a key with access to everything is not created by accident.

Here too, the Chatmated connection would start with reading: unpaid sales invoices, purchase invoices waiting to be paid, and transactions. We add creating and sending an invoice only when you want it, and every such step waits for your confirmation.

Questions

Can my accountant create the API key for me?

According to RIK's guide, the key can be generated by a management board member who accepts the terms of use. If the accountant is not a management board member, you have to create the access permit yourself.

Can the connection be tried before using real data?

Yes. RIK has a separate demo environment at demo-rmp-api.rik.ee, and according to the documentation demo and training companies can be used for testing. Real data is at rmp-api.rik.ee.

Does the API include payroll?

The API description has clients, products, invoices, transactions, journal entries and settings. There are no payroll services in it.

Sources

  1. RIK abiinfo: E-arveldaja API (RIK help: e-arveldaja API) · read 12 November 2026
  2. RIK abiinfo: E-arveldaja API võtme genereerimine (RIK help: generating an e-arveldaja API key) · read 12 November 2026
  3. RIK abiinfo: Technical documentation for developers (e-Financials API) · read 12 November 2026
  4. e-Financials API kirjeldus (e-Financials API description) (OpenAPI 3.1) · read 12 November 2026
  5. Raamatupidamisprogrammi e-arveldaja hinnakiri (Price list of the accounting program e-arveldaja) (PDF) · read 12 November 2026
  6. RIK: e-arveldaja · read 12 November 2026

Same group: accounting and invoices