ERP AI Agents:
How AI Reads and Writes
Inside Your ERP
Which interface each ERP exposes, how an agent prepares a transaction without bypassing your controls, and what to ask before anything touches the ledger.
- How an agent reads: the interface decides everything
- How an agent writes without becoming a risk
- Native ERP AI and where it runs out
- The architecture that survives an upgrade
- What to ask a vendor before anything touches your ledger
- Data readiness decides your match rate
- Where it runs, and what your security team will ask
- Go deeper by system
- Questions IT and finance ask together
- The interface decides everything. Read through the published interface, write through the one that carries the ERP validations. Direct database access ends an evaluation rather than starting one.
- The safe write pattern is a draft: a parked document or pending transaction created through the official API, released by a person through the workflow that already governs it.
- Native ERP AI is real but it is usually a builder or a screen assistant, and it is often restricted to the newest cloud edition, which leaves large installed bases without a native path.
- An architecture survives upgrades if the core stays standard, the interfaces are long lived, and policy sits outside the ERP where a controller can change it.
- Seven vendor questions separate a product from a customisation with a model attached. The one about upgrades is the most revealing.
An ERP AI agent reads finance data through the interface your ERP already publishes, reasons about it against your policy, and prepares a transaction the ERP itself will validate and route for approval. Everything useful and everything risky about the category comes down to those two connection points, the read path and the write path.
This guide sets out what each major ERP exposes, how a write can happen without bypassing a single control, where native vendor AI genuinely helps and where it runs out, and the architecture choices that decide whether the whole thing survives your next upgrade. The connection patterns described are the ones ChatFin uses in production.
How an agent reads: the interface decides everything
Every serious conversation about ERP AI agents comes down to one question. How does it get the data, and what is it allowed to do with it. The answer is not the same on every platform, and the differences are worth knowing before you evaluate anything.
| ERP | Read path | Write path |
|---|---|---|
| NetSuite | SuiteQL queries and REST record access, saved searches for existing logic | REST record endpoints, with approval routing applied by the account configuration |
| Acumatica | OData feeds published from generic inquiries, which lets finance expose exactly the dataset it wants | Contract based REST API mapped to the screens, so calls run the same validations and workflow a user would |
| SAP ECC | RFC enabled function modules and OData through NetWeaver Gateway, reading document header and line item tables | BAPIs, which do not auto commit, creating parked documents for release through SAP workflow |
| SAP Business One | Service Layer over OData, identical behaviour on SQL Server and HANA | Service Layer objects, sharing definitions with the DI API |
| JD Edwards | Application Interface Services and Orchestrator, rather than direct table reads | Orchestrations that respect the application logic and approval structure |
The pattern across all of them is the same principle stated five ways. Read through the published interface, write through the interface that carries the validations. An agent connected to the database directly can produce a number faster and will eventually produce one the ERP would have rejected.
ChatFin uses exactly these paths and no others. There is no ChatFin deployment pattern that requires direct database credentials to your finance tables.
How an agent writes without becoming a risk
Reading is the easy half. Writing is where finance teams are right to be cautious, and where the design has to be explicit.
Drafts, not posts. The agent prepares a parked vendor invoice, a draft journal or a pending transaction. It exists in the ERP, visible and auditable, and it does not affect the ledger until a person releases it through the workflow that already governs that document type.
Least privilege, enforced by the platform. A dedicated service user with authorisation scoped to specific objects and company codes. In SAP terms that means a role built for the purpose rather than a broad profile, with the connectivity layer restricted to the specific function modules the agent is permitted to call. In Acumatica it means roles and restriction groups. The principle travels.
Two audit trails, not one. The ERP keeps its native record of what was changed and by whom. The agent layer keeps the record of why: the request, the data read, the reasoning, and the exact payload prepared. Together those answer the question an auditor actually asks, which is not what changed but on what basis.
ChatFin writes drafts only. On SAP ECC that means parked documents created through BAPIs, which do not auto commit. On Acumatica it means the contract based REST API, so the screen validations and approval maps apply. ChatFin keeps its own prompt to transaction log alongside the ERP native trail.
Native ERP AI and where it runs out
Every major vendor now ships something with AI in the name, so the reasonable question is why an independent layer is needed at all. The honest answer is that native features are real and they solve a different problem.
Native AI tends to be either a builder or an assistant scoped to a screen. Acumatica ships AI Studio, a no code builder that connects a model to a screen, plus reporting assistance and anomaly detection over generic inquiries. That is genuinely useful, and it is a construction kit rather than a set of finance workflows that arrive ready to run. There is more on that in the guide to Acumatica built in AI.
The second gap is edition. Several vendors have confirmed their AI stack targets the newest cloud product only. SAP has been explicit that Joule and the wider Business AI stack are for the S/4HANA cloud line, which leaves SAP ECC estates without a native path even though roughly forty percent of ECC customers were not yet live on S/4HANA as of late 2025, and mainstream maintenance for ECC 6.0 runs to the end of 2027 with extended support available to 2030. Those teams still have to close the books. That gap is the practical case for a governed layer that works on the system you run today, and it is covered in ChatFin for SAP ECC6.
| Option | What it is | Where it stops |
|---|---|---|
| Native ERP AI | A builder or screen assistant inside the platform | You configure the workflows. Often restricted to the newest edition, and usually read heavy. |
| iPaaS and integration platforms | Plumbing between systems | Moves data reliably. Ships no finance judgment and no exception handling. |
| RPA plus a model | Screen automation with language on top | Still positional. Still breaks when the screen or template changes. |
| Internal build | Your team, your models, your connectors | Achievable. The cost is the ERP expertise, the governance layer and the maintenance, not the model. |
| Independent agent layer | Prebuilt finance workflows over governed interfaces | Needs the interfaces to be available and the master data to be usable. |
ChatFin is the independent layer in that table. It ships prebuilt finance workflows rather than a builder, and it runs on the edition you have today, which is the reason ChatFin supports SAP ECC estates that have no native path.
The architecture that survives an upgrade
The most common objection to any ERP layer is that it becomes technical debt at the next upgrade. Three design choices decide whether that is true.
Built this way, a governed AI layer is portable. A team that later migrates from ECC to S/4HANA, or from an older Dynamics estate to Business Central, keeps the finance workflows and repoints the interface. That is very different from a set of customisations that has to be rebuilt.
ChatFin adds no custom objects to the ERP core and holds policy outside it. A team that later migrates from SAP ECC to S/4HANA keeps its ChatFin workflows and repoints the interface rather than rebuilding them.
What to ask a vendor before anything touches your ledger
Seven questions, and the answers should be immediate and specific rather than reassuring.
The last one separates a product from a project. If the answer involves rebuilding, you are buying a customisation with a model attached.
ChatFin answers all seven in writing during evaluation, including the exact interface, the service account scope and what happens at your next upgrade.
Data readiness decides your match rate
Before any interface conversation, there is a data conversation, and it predicts results more reliably than the choice of vendor.
Vendor and customer master. Duplicates, inconsistent naming and stale records set a ceiling on matching. If the same supplier exists three times, an agent will reasonably produce three different answers.
Chart of accounts discipline. Coding suggestions are learned from history. A chart with overlapping accounts used inconsistently teaches an agent to be inconsistent, precisely and at scale.
Open purchase order hygiene. Accrual identification reads open purchase orders and receipts. Orders left open long after delivery produce accrual noise that erodes trust in the output quickly.
Document flow completeness. Matching depends on the receipt existing. Where goods receipts are recorded late or in batches, the match rate reflects the process rather than the technology.
None of this is a reason to wait. It is a reason to look at these four before the first deployment, so the result is read correctly when it arrives.
ChatFin runs a readiness check on those four before the first workflow, so the first period result is read correctly rather than blamed on the model.
Where it runs, and what your security team will ask
Two questions come up in every security review, and both have straightforward answers that should be established early.
Where does the data go. The agent reads what a query returns and works on that, so the scope of data leaving the ERP is the scope of the query, not the database. Narrow queries are both better security and better output, because a focused dataset produces a more accurate answer than a broad one.
What can it do at worst. The honest test is not what the product promises but what the service account permits. If the account cannot post directly, cannot release a payment run and cannot reach company codes outside its scope, then the worst case is a bad draft that a person declines. That is a very different risk conversation from one about a broadly privileged technical user.
Data residency, retention of the prompt and payload log, and who inside your organisation can change the policy are the remaining three. All are configuration questions, and all should be answered in writing before a pilot rather than after it.
ChatFin operates on narrow queries scoped to the workflow, on a service account that cannot post directly or release a payment run, with data residency and log retention set during configuration.
Ask which interface it writes through. That single answer tells you more about a finance AI product than any demonstration will.
Ashok ManthenaGo deeper by system
The specifics matter more than the principles once you are actually building. Each ERP has its own guide covering interfaces, objects, exceptions and approvals, and under each sits a page per finance function and per task.
For a worked example of the connection pattern on a specific system, see how to connect Claude to SAP ECC6, or the Acumatica agents guide for the cloud side of the same problem.
Questions IT and finance ask together
How does an AI agent connect to an ERP?
Through the same governed interfaces an integration would use, not through database access. Acumatica exposes a contract based REST API mapped to its screens plus OData feeds from generic inquiries. SAP ECC exposes RFC enabled BAPIs and OData through NetWeaver Gateway. SAP Business One exposes the Service Layer over OData. NetSuite exposes SuiteQL and REST records. Using the official interface matters because the ERP then applies its own validations and workflow to anything the agent prepares.
Can an AI agent post transactions in the ERP?
It can prepare them. The safe pattern is that the agent creates a draft, a parked document or a pending transaction through the official interface, and the ERP routes it through the existing approval workflow for a person to release. The agent holds a least privilege service account scoped to the specific objects and company codes it needs, so it could not post unilaterally even if instructed to. ChatFin operates under exactly this constraint.
Do we need to upgrade or migrate the ERP first?
Usually not. The interfaces agents use are long standing. BAPIs have been stable across SAP ECC 6.0 enhancement packs and carry forward to S/4HANA, so a governed AI layer built on them is not migration debt. This matters because native AI in several vendor stacks is only available on the newest cloud edition, which leaves older estates without a native option even though the work still has to get done.
Governed access to the ERP you already run, with the approvals intact.
ChatFin connects through the interfaces your ERP publishes, holds a least privilege service account scoped to what it actually needs, and prepares work as drafts that your existing approval workflow releases. The ERP stays the system of record and applies its own validations to everything the agent prepares.
Alongside the ERP native audit log, ChatFin keeps its own record of the request, the data read, the reasoning and the exact payload prepared, which together answer the question an auditor actually asks. Check integration coverage for your stack, or start with the finance AI agents guide if you are still deciding which workflow to automate first.
No custom objects in the core. No direct database access. No control you cannot point an auditor at.
Book a demoDiagram: how close effort scales with entities, headcount and revenue, original ChatFin artwork.
Diagram: one agent layer over the finance stack compared with point to point integrations, original ChatFin artwork.
All images are hosted on ChatFin infrastructure or served from the Pexels content network. No third party product screenshots, vendor logos or licensed media are used on this page.
Bring your ERP and version. We will show the exact connection path.
We will walk the read path, the write path, the service account scope and the audit trail on your system, then run one finance workflow through it end to end.