SereneDB

Navigation

How boring.tax brought fast document search back to bookkeeping

The bookkeeping platform replaced its original document search with SereneDB. Customers, accountants and AI agents can find invoices, receipts and tax letters by meaning or exact wording, with matches highlighted in context.

Companies using boring.tax at the time of the interview
~1,000
Bank transactions on the platform
~800K
Bookkeeping entries on the platform
1.3M
Monthly model calls for extraction and questions
~60K

Making every invoice and receipt findable

boring.tax handles bookkeeping and tax workflows for German companies. Customers connect their bank accounts and send receipts by upload, email, WhatsApp or API. The platform extracts document text, matches receipts to transactions and turns them into ledger entries.

A customer checking for a duplicate receipt and an accountant closing the books both need to find the underlying document. The first search implementation used MongoDB. The team reported that full-text queries took a few seconds even on a modest document collection. It hid full-text search from customers, and its vector search setup required a separate cloud database for development.

One search layer for exact matches and meaning

The document pipeline keeps chunks of extracted text and their embeddings in Iceberg tables on Amazon S3. SereneDB searches those tables using hybrid search. Vector search can find a document from a description such as “the hosting bill from March.” Full-text search finds a supplier name or order number. SereneDB ranks the results together and locates matches in the text so boring.tax can highlight them in context.

AreaBeforeWith SereneDB
Full-text searchQueries took a few seconds and the feature was hiddenFaster search, available to customers again
RankingKeyword and vector search combined with workaroundsHybrid ranking in one engine
ResultsThe result identified the documentMatched words and surrounding text appear in the result
DevelopmentThe vector search setup needed a cloud databaseThe team can run the Postgres-compatible search engine locally

Customers can also connect their own AI agents through the boring.tax MCP server. An agent searches within the company it is connected to and inherits the permissions of its assigned role. It can, for example, identify transactions missing a receipt and create a follow-up task for each one.

Full-text search is back in the product

A search for an order number now shows the surrounding text, so users can confirm they have the right invoice before opening it. The same search layer serves customers, accountants and agents. At the time of the interview, boring.tax reported close to 1,000 companies on the platform and around 800,000 bank transactions.

“You can assume that every time someone searches for a document on boring, they use SereneDB.”

Thomas FlassbeckCo-founder and CTO, boring.tax

Bringing more document data onto SereneDB

The team plans to move more data onto SereneDB and retire MongoDB from its stack. It also wants to extend its template-based accounting workflows to more countries, starting with Austria.

Want search, analytics, and vector in one fast database?

Leave your details, and we’ll show you how SereneDB fits your stack.