An ERP AI assistant is a chat interface that answers business questions with live data from your ERP. You ask “Which customers are more than 30 days overdue?” and the assistant calls the ERP’s API, collects the records, computes the totals and replies in plain language, listing the sources it used. A good one also knows what you are allowed to see, and it never changes data without a person’s approval.

That last part is what separates a useful assistant from a demo. Placing a language model next to an ERP is the simple part; making its answers correct, permission-aware and auditable is the real work. This guide explains the architecture behind a trustworthy AI assistant for ERP, how it compares with the tools finance and operations teams already use, and what to check before you roll one out.

What an ERP AI assistant does

Most people who work in an ERP spend part of every day on lookups: finding a document, checking a balance, comparing this month with last month. Those lookups are exactly what an assistant handles well. Typical questions look like this:

  • “Which invoices issued in October are still unpaid, by customer?”
  • “Which items in the Chicago warehouse are below their reorder point?”
  • “Which purchase orders over $25,000 are waiting for approval?”
  • “How did sales in the north region change compared with the same quarter last year?”
  • “Raise the credit limit of Harbor Foods to $40,000.” (a write, which should become a draft for approval)

Each of these maps to one or more operations the ERP already exposes through its API. The assistant’s job is to pick the right ones, call them with the right parameters and turn the results into an answer you can check.

How it works: from API description to sourced answer

Behind the chat window, a well-built ERP AI assistant follows the same chain for every question.

  1. API description. The starting point is a machine-readable description of the ERP’s interface: an OpenAPI or Swagger file, a Postman collection, a SOAP/WSDL service, or read-only SQL views for systems without an API.
  2. Tools. Each useful operation becomes a tool: a named function with a clear description, typed parameters and a flag that says whether it reads or writes. A raw endpoint such as GET /api/v2/ar/docs becomes “List open receivables by customer”. People review the tools before anyone can use them. Our OpenAPI to MCP guide walks through this step.
  3. Permissions. A policy engine decides who may call which tool, with which parameters, and which rows and fields they may see. The default is deny. A sales rep in one region gets that region’s rows; salary fields are masked for everyone outside payroll.
  4. The agent plans tool calls. The language model reads the question, looks only at the tools this user may use and plans the calls. This is tool calling: the model proposes a call, the server checks the policy and runs it, and the result comes back.
  5. The calculation engine computes and verifies. Totals, averages, ageing buckets and period comparisons are calculated exactly from the tool results, not by the language model, and every figure is checked against those results.
  6. Sourced answer. The reply combines short text with tables and lists the tools and records it used, so anyone can trace a figure back to the ERP.

The order matters. Permissions are enforced on the server on every call, never by asking the model to behave. The model cannot see data the user could not open in the ERP, because that data is never fetched for them.

Why the language model should not do the maths

Language models are good at understanding a question and choosing tools. They are not reliable calculators: adding up 200 invoice lines or computing a percentage change as text is exactly where invented figures appear. A sound design keeps the model away from arithmetic. The model asks for a sum, the calculation engine adds the values with exact decimal arithmetic, and the answer refers to that verified result. If a result is incomplete or mixes currencies, the assistant should say so instead of producing a total. The guide on LLM math accuracy covers this in depth.

Reading is not writing

Answering questions carries little risk when permissions are right. Changing data is different: a credit limit, a price or a purchase order written by mistake costs money. The safer pattern is that every write starts as a draft. The assistant prepares the change, shows exactly what will be written and waits. An authorized person approves it, with optional four-eyes review in which the requester cannot approve their own change. Permissions are checked again at approval time, and the change is written once. The human-in-the-loop approval guide explains the details.

How it compares with what you use today

An assistant does not replace reports or ERP screens. It covers the questions that fall between them. Here is a neutral comparison of four common approaches to AI in ERP and the tools that came before it.

Excel export BI dashboard Vendor-built copilot API-based ERP AI assistant
Best for One-off analysis Recurring KPIs Tasks inside one product Ad hoc questions across systems
Freshness Snapshot at export time Depends on refresh schedule Live Live, through the API
Who sets it up The person exporting A data team builds models The vendor Your team imports APIs and reviews tools
Systems covered One export at a time What is loaded into the warehouse Mostly the vendor’s own Any system with an API or SQL view
Permissions Lost once the file is shared Row rules in the BI tool The vendor’s role model Your policies on every tool call
Numbers Formulas you write Defined measures Varies Calculated exactly, verified, sourced
Changing data Not possible Not possible Varies Drafts that wait for approval

Spreadsheets remain the right tool for deep one-off modelling, and dashboards for KPIs that everyone watches daily. A vendor copilot can be a good fit if all your data lives in one product. An API-based assistant earns its place when questions cut across several systems, or change faster than a dashboard can be rebuilt.

AI in ERP examples by department

  • Finance: overdue receivables, upcoming supplier payments, unusual expense lines. See AI for finance and accounting.
  • Inventory: stock below reorder point, slow-moving items, transfers between warehouses. See inventory and warehouse.
  • Purchasing: open orders by supplier, late deliveries, price changes against the last order. See purchasing.
  • Management: a monthly summary built from several systems, with every figure sourced. See management reporting.

In each case the pattern is the same: a question in plain language, a few tool calls the user is allowed to make, exactly calculated, verified numbers and an answer that shows where it came from.

Checklist before you start

  1. Does the ERP have an API description, a SOAP service or a database you can expose through read-only views?
  2. Which questions come up every week? Write down ten real ones and use them as your test set.
  3. Which roles exist, and what should each see? List the row filters and the fields to mask.
  4. Which writes, if any, should be possible, and who approves them?
  5. Which language model will you use, and may data leave your network? A local model keeps prompts and data inside it.
  6. Where is the audit trail kept, and who reviews it?

How ORQEN approaches it

ORQEN follows the chain described above. It imports OpenAPI, Swagger, Postman collections, SOAP/WSDL or SQL views and turns endpoints into documented tools that your team reviews before use. Roles and policies apply on every call, with default deny, row filters and field masks. The agent answers with its sources, the numbers are calculated exactly and verified, and writes wait as drafts for approval. ORQEN runs on your own servers or private cloud and connects to any system with an API, not only ERPs; see custom API integration and security. The same governed tools can also be opened to other AI clients through the Model Context Protocol.

Talk to your company.

Connect your systems, choose what to watch and give your team one place to ask and act. We will show you ORQEN on your own use case.