AI in bookkeeping preparation: Why less is often more

We use AI, but not for every task. Why we prefer fixed rules, pseudonymise data and have people check AI output.

A character grid and contextual building blocks as complementary tools beside an invoice

Software does not need to ask artificial intelligence for the total of ten invoices. It needs to calculate it. Nor does it need a language model to copy a clearly recognisable IBAN from a text.

Nevertheless, AI is now being used for tasks that can be done faster and more reliably with ordinary software. Why exactly?

We use artificial intelligence. Our developers have decades of experience with AI and have spent tens of thousands of hours putting language models through their paces. We have trained our own models and use our own OCR models. That depth of knowledge is precisely why we understand the narrow limits within which AI is justified.

Before we use AI, we want to know: Is there already a clear rule for this? Can a database answer the question? Is the required information already available?

If this is the case, no AI is needed.

What does “deterministic” mean?

The word sounds more complicated than the idea behind it. A deterministic calculation follows fixed rules. The same inputs produce the same result.

If there are three invoices of 100, 200 and 300 euros, their sum is 600 euros. For this, software does not have to interpret anything or formulate an answer. It adds up the amounts.

The same applies to many other tasks in preparatory bookkeeping:

  • Add invoice amounts.
  • Compare payments with outstanding amounts.
  • Search records by specific criteria.
  • Add up existing numbers for a report.
  • Check whether a number matches the expected format.

Such tasks belong in fixed calculations and rules.

AI can only make this worse. A perfect result cannot be improved by AI. Here, AI would be an avoidable source of error. Anyone who has spent a few hours working with AI knows those situations where it simply makes things up. That is why leaving bookkeeping preparation entirely to artificial intelligence is unacceptable.

Why extracting an IBAN must not be a job for a language model

An IBAN has a fixed structure. Software can search for matching strings, remove spaces and check the check digit.

Software does not need linguistic interpretation for this. An AI model would also be an unnecessary source of error for extracting an IBAN.

The same applies to many other invoice details. If a clearly legible date follows the label “invoice date”, the label and position can often establish the connection. Tax numbers and VAT identification numbers can also be checked against their respective format rules.

An invoice may contain several dates or bank details. The software then has to distinguish which information is meant. It can use labels, context and logical rules. A due date does not normally precede the invoice date. A service date often does. Such rules help check whether the information found is plausible.

Spatial rules help too. Invoices and other documents often follow recurring templates or DIN layout rules. Once software recognises a layout, it can use the positions of the details. Fuzzy matching also helps find labels despite differences in spelling or recognition errors. Combining these methods allows more accurate matching without AI.

Only when these rules are not enough might additional interpretation become unavoidable. A person must then check the AI output. AI is a poor form-filling assistant, nothing more.

Calculations and reports need correct data and clear rules

“How much did we spend in October?”

For this question, software needs the correct accounting entries, a period and a fixed calculation. It must know which transactions should be taken into account and how cancellations, for example, are handled.

The result should be calculated from these data.

A language model can then help explain the figures in plain language. It should not invent a supposedly suitable total from the invoice documents itself.

The distinction matters: summarising a report in words is a different task from calculating its figures.

Even 95% would be too little for many of these tasks

Take a 95% recognition rate as a worked example. Out of 100 details, five would be wrong.

An imprecise phrase in an automatically written summary may not matter much. An IBAN, invoice amount or payment deadline is different. One incorrect detail can cause a wrong bank transfer or an unnecessary query.

For those tasks, “the model is pretty good” is not enough for us.

Where a value can be clearly checked or calculated, the software should do just that. A successful format check answers a specific question. For example, it does not automatically confirm who owns a bank account. Good software distinguishes these questions, instead of deducing more from a single test result than is actually established.

Why wait for an answer that could have been calculated long ago?

A database query can answer a suitable question within milliseconds. A language model can take several seconds to produce a comparable output.

The specific duration depends on the task, the data and the system used. But the basic problem remains the same: Why should software wait for an additional model call when it can already determine the result itself?

And then there are the costs. A simple rule does not have to be sent as a request to a language model for each invoice.

For us, an extra AI call is not a sign of quality in itself. It needs to provide a clear benefit.

Where AI can actually help

Invoices have different layouts. Descriptions vary. Sometimes a connection is explained only in free-form text.

This is where AI can be useful: when information is unstructured and its meaning must be understood.

Which service was described? Which line items belong together? What is meant by an unusual wording? Such questions cannot always be answered with a single formatting rule.

Therefore, our approach is to process unambiguous information with fixed procedures and use AI for the tasks that require interpretation.

Afterwards, fixed rules can take over again. For example, totals can be calculated from recognized invoice lines and compared with the total amount specified. The AI then does not simply provide an answer that is reused unchecked.

Send less data to AI

When we use AI, the next question is which details it actually needs.

In order to recognize a document type or evaluate a description, a model does not necessarily need to know the real name of a person.

That is why we use pseudonymisation. Personal information is replaced with substitute values before processing. For example, a name can become firstname_01 and a place can become location_01.

The mapping is kept separately. When the response comes back, the corresponding original details can be put back in.

Here too, we want to give AI the information it needs for its task. Additional data does not automatically make a request more meaningful.

For us, AI in preparatory bookkeeping means using it selectively

We don’t want to build software that asks a language model for every little thing.

We want to process invoices, calculate amounts correctly and avoid unnecessary waiting. We use fixed rules, databases and traceable checks for this. AI helps where unstructured information needs to be understood.

The crucial question is therefore not how much artificial intelligence is in accounting software.

Rather, what task does it accomplish better?

Sources and further information

  1. allinvoice: Automatic invoice data extraction
  2. allinvoice: Reports for preparatory bookkeeping
Scroll to top
Select individual services

Login and security, forms, shopping cart and saving your cookie choices. These functions remain available.

ii_consent_fd0feb0ed55c: your choice and consent record identifier for 180 days, for this website only. Session and login cookies remain valid for the relevant session or login period.

PrivacyLegal noticeYour selection applies only to allinvoice.de