---
title: "Can an AI assistant be trusted with your books? How ERPoida keeps finance under control"
description: "Language models misread things. So in ERPoida the model never writes numbers into the books. It picks an operation, and six layers that don't depend on the model decide what actually happens."
url: https://erpoida.com/blog/ai-assistant-finance-controls/
language: en
published: 2026-11-24T09:00:00.000Z
updated: 2026-11-24T12:57:02.496Z
author: "ERPoida team"
category: "Finance"
tags: ["AI accounting","AI hallucination","financial controls","audit trail","permissions","GoBD"]
publisher: "ERPoida"
translation_de: https://erpoida.com/de/blog/ki-assistent-buchhaltung-kontrollen/
---

# Can an AI assistant be trusted with your books? How ERPoida keeps finance under control

> Language models misread things. So in ERPoida the model never writes numbers into the books. It picks an operation, and six layers that don't depend on the model decide what actually happens.

The worry is fair. A language model can misread a request, and an ERP holds your invoices, stock and payroll. If "fix the Acme invoices" turned into fifty changed invoices, you would want to know before your tax advisor does.

So ERPoida is built on one rule: **the model never writes numbers into your books.** It chooses an operation and fills in its inputs, the same way a person fills in a form. The arithmetic, the tax, the journal entry and every check happen in ERPoida's own code and database, which work the same whether a person, the assistant or Claude over MCP made the request.

Here are the six layers between a request and your ledger.

![The assistant tries to change a posted invoice, the database refuses, and it explains the credit note route](/blog/media/ae2e2f4d-92ab-49db-a6d0-14adbeb06560)

## 1. It can only do what you can do

The assistant has no permissions of its own. Every call runs as the signed-in person and is checked against their role before it executes. Tools for an app that is switched off, or an action the role doesn't allow, are removed before the model even sees the list.

That gives you a simple control: a role that may *create* invoices but not *update* them can have the assistant draft invoices all day, and can't post a single one.

Changing the data model is locked separately. Whether AI agents may add or change fields and objects at all is a workspace switch, *AI agents can change schema*, that only the owner can turn on. It is off by default.

## 2. Inputs are checked, totals are computed

Every tool declares the shape of its inputs, and a call that doesn't match is refused. Then the business rules run: an invoice in Germany can't be posted without your address and VAT ID, a payment needs an open invoice, a delivery needs stock.

When the assistant drafts an invoice it supplies quantities, unit prices and the tax rate to apply. It doesn't supply the total. ERPoida computes line amounts, tax and totals, and posting writes the journal entry from the invoice itself, not from anything the model typed.

## 3. Drafts first, posting is a separate step

Creating an invoice or a journal entry creates a **draft**. Nothing reaches the ledger until a separate *post* operation runs. Before anything that posts, sends, deletes or overwrites, the assistant is told to say what it is about to do and wait for your yes.

That last part is an instruction to the model, and models don't follow instructions perfectly. Which is why the next three layers don't rely on it.

## 4. The database refuses bad books

These rules live in PostgreSQL, below the application:

- A journal entry that doesn't balance can't be posted.
- A posted entry can't be edited. The only change allowed is posted → reversed.
- A posted invoice's amounts can't be changed. You correct it with a credit note.
- A locked or closed period refuses new postings, so nothing can be backdated into a month you closed.

Whatever any caller does, the books stay balanced and the history stays intact.

## 5. One record per call

There is no "update every invoice" tool. Finance operations act on one record per call, so a misunderstanding produces one visible draft or change in the conversation, not a bulk edit. For automations you can add a flow that requires a manager's approval above an amount, and a flow can be test-run without changing anything before you switch it on.

## 6. Everything is written down first

Every tool call is logged before it runs, with its inputs, who it ran as, and whether it succeeded or was refused. Writes to finance-relevant records (accounting, invoicing, payments, purchasing, payroll, inventory) are kept for 8 years, the default period under § 147 AO; reads are kept 30 days. That covers the built-in assistant, Claude and ChatGPT over MCP, and flows.

![Action log with assistant, MCP and flow calls, a refused unbalanced entry and retention per row](/blog/media/30e36c8a-1340-49c1-810d-46e3b7594aa1)

## What stays your job

Review drafts before you post them, especially at first. Give people, and so their assistant, the narrowest role that works. And keep an eye on the action log the way you would on a new colleague's work in their first weeks.

If a model misreads you, the worst case is a wrong draft you catch, a refused call, or one change you reverse with a documented correction. Never unbalanced books, never a silent edit to a posted invoice.

Read more on [how permissions work](/help/security/) or [how GoBD fits in](/blog/gobd-gdpr-erpoida-tax-advisor/).

---
Run your business on ERPoida: https://erpoida.com/
