CostPocket connection: how many expense documents are waiting to reach accounting
You can set up the CostPocket connection yourself in the Chatmated app on the Connections page: for now it reads the number and total of the expense documents your accounting software has not yet received. Expense reports and a breakdown by employee are something we build to order. At present the API ID and token are given by CostPocket support.
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 CostPocketThe account takes a minute. Three days are free and no card is asked for.
What the connection reads
- Expense documents your accounting software has not yet received
- The number of those documents and their total in euros
- Expense reports and a breakdown by employee, if these are built on separately
What it does when you confirm
- The ready-made connection shows, in the morning view row CostPocket: expense documents not yet exported, the number and total of the waiting documents
- To order, expense reports, a breakdown by employee and forwarding of documents can be built on
What it does not do
- Does not mark documents as received
- Does not change or delete expense documents
- Does not forward documents
What we need from you. Two values: the CostPocket API ID and API token. At present you get them from CostPocket support at support@costpocket.ee or through a partner's activation flow.
What this row is good for
With CostPocket an employee photographs a receipt or invoice right where they got it: at the petrol station, in the builders' merchant, at the lunch table. Photographing is easy, which is why documents build up unnoticed. They reach accounting only when the accounting software has taken them from CostPocket. Until then they sit in between, and the owner does not know whether three papers are waiting or thirty.
The ready-made connection brings into the morning view one row named "CostPocket: expense documents not yet exported". The row has the number of expense documents your accounting software has not yet received, and their total in euros. If the number stays small day after day, everything is moving as it should. If it grows, it is worth asking the accountant whether the integration works on their side or whether month-end closing is simply ahead.
| What the row shows | Detail |
|---|---|
| Number | Expense documents the accounting software has not received |
| Total | The total of the same documents in euros |
| Upper limit | Up to 200 documents |
Reading does not change the status of documents
This is the point for which it is worth reading CostPocket's documentation carefully. If an outside program took the documents and marked them as received, your accounting software would no longer see them as waiting.
CostPocket has kept these two actions apart. Reading documents does not change their status. Documents are marked as received by a separate request, and Chatmated never makes that request. The app looks at the waiting documents the way you would look at the list on the screen yourself: after looking, everything is exactly the same as before. Your accounting software gets its documents the same way as until now.
The connection makes only read requests. The API ID and token are kept encrypted. Up to 200 documents are read at a time, and from them the two numbers you see in the morning are calculated: how many papers are waiting and for how large a total.
How the API ID and token are obtained
At present CostPocket has no button to create them yourself. According to the documentation the API ID and token are given by support or come through a partner's activation flow. CostPocket notes that it plans to add the option to create them yourself to its cloud solution later.
- Write to CostPocket support at support@costpocket.ee and ask for an API ID and API token for your company.
- Open the Connections page in the Chatmated app and choose CostPocket.
- Paste the API ID you received into the first field and the API token into the second.
- Save and wait for the form's answer.
The form tries the values on CostPocket right away. If the ID or token is wrong, you get a clear sentence about it, not an error code. If everything fits, the row appears in the morning view the next time you open it.
Managing the row and interruptions
A connected row has a "Manage" button. The window that opens states the connection's status, the time of the last check and what is read. With the buttons you can run the check again, swap the token, pause the connection and start it again, or remove it. Before removal you are asked for confirmation. The token of a paused connection is kept, but nothing is read from CostPocket until you press resume.
Once a day the app checks every connection on its own initiative. If CostPocket refuses the token twice in a row, the connection is counted as broken and an email is sent to the account owner. A request that went unanswered does not cause this: if CostPocket is unreachable for a moment, it does not mean there is anything wrong with your token, and the connection is not marked as broken.
The app's agent can also check the connection in the chat, if you ask for it. For pausing, resuming and removing it shows a confirmation button and does nothing before it is pressed. It does not ask you to type the token into the chat, but gives a link that opens the CostPocket row on the connections page.
What the CostPocket connection does not do yet
Expense reports, a breakdown by employee and forwarding of documents are not in the self-connect part. We build these to order. Where expense documents end up after CostPocket depends on your accounting program: see the pages Merit Aktiva connection and SmartAccounts connection. If receipts are mainly brought in by workmen out on site, the page construction is meant for you; for office work read the page office and services.
The CostPocket connection has not yet been tried with a real account. It is built from CostPocket's public documentation.
Questions
Can I create the API ID and token in CostPocket myself?
Not at present. According to CostPocket's documentation you get them from support at support@costpocket.ee or through a partner's activation flow. CostPocket writes that it intends to add the option to create them yourself to its cloud solution later.
Does reading break my accounting integration?
No. According to CostPocket's documentation reading does not change a document's status. Documents are marked as received by a separate request, and Chatmated does not make that request.
How many documents does the connection read at a time?
Up to 200 expense documents not yet exported. The row shows their number and total in euros.
Sources
- CostPocket S2S API · read 17 November 2026
- CostPocket: Integrating · read 17 November 2026