Finance workspace where data lives across several systems that have to agree with each other
Pillar · ERP Integration

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.

Key takeaways
  • 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.

ERP AI AgentsNetSuiteAcumaticaSAP ECCSAP Business OneJD EdwardsAPI IntegrationLeast PrivilegeAudit Trail
01

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.

ERPRead pathWrite path
NetSuiteSuiteQL queries and REST record access, saved searches for existing logicREST record endpoints, with approval routing applied by the account configuration
AcumaticaOData feeds published from generic inquiries, which lets finance expose exactly the dataset it wantsContract based REST API mapped to the screens, so calls run the same validations and workflow a user would
SAP ECCRFC enabled function modules and OData through NetWeaver Gateway, reading document header and line item tablesBAPIs, which do not auto commit, creating parked documents for release through SAP workflow
SAP Business OneService Layer over OData, identical behaviour on SQL Server and HANAService Layer objects, sharing definitions with the DI API
JD EdwardsApplication Interface Services and Orchestrator, rather than direct table readsOrchestrations 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.

If a vendor proposes direct database access to your finance tables, that is the end of the evaluation, not a detail to negotiate.
In ChatFin

ChatFin uses exactly these paths and no others. There is no ChatFin deployment pattern that requires direct database credentials to your finance tables.

02

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.

Chart showing how financial close effort scales as entities, headcount and revenue grow
Close effort scales with entities and volume. Governed write access is what stops headcount scaling with it.
In ChatFin

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.

03

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.

OptionWhat it isWhere it stops
Native ERP AIA builder or screen assistant inside the platformYou configure the workflows. Often restricted to the newest edition, and usually read heavy.
iPaaS and integration platformsPlumbing between systemsMoves data reliably. Ships no finance judgment and no exception handling.
RPA plus a modelScreen automation with language on topStill positional. Still breaks when the screen or template changes.
Internal buildYour team, your models, your connectorsAchievable. The cost is the ERP expertise, the governance layer and the maintenance, not the model.
Independent agent layerPrebuilt finance workflows over governed interfacesNeeds the interfaces to be available and the master data to be usable.
Source. SAP maintenance and support strategy, support.sap.com, which sets mainstream maintenance for SAP Business Suite 7 core applications to the end of 2027 and optional extended maintenance to the end of 2030 at a premium of two percentage points.
In ChatFin

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.

04

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.

Keep the core standard. No custom objects in the ERP, no modifications to standard programs. The agent sits outside and speaks through published interfaces, so an upgrade to the ERP does not touch it.
Choose interfaces with a long life. BAPIs have been stable across ECC enhancement packs and carry forward to S/4HANA. Contract based APIs are versioned deliberately. Direct table access and screen scraping have neither property.
Hold policy outside the ERP. Thresholds, tolerances and coding rules live in a layer a controller can edit, so changing a policy is a configuration change rather than a development cycle.

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.

Diagram of a single governed agent layer over the ERP compared with point to point integrations
A layer that speaks through published interfaces survives an ERP upgrade. Point to point integrations rarely do.
In ChatFin

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.

05

What to ask a vendor before anything touches your ledger

Seven questions, and the answers should be immediate and specific rather than reassuring.

Which exact interface do you use to read, and to write, on our specific ERP and version?
What privileges does the service account need, and can you operate with it scoped to named objects and company codes?
Does anything you write bypass the ERP validations or the approval workflow? Show us.
What exactly is logged for each action, and can we export it for an auditor?
When the agent cannot resolve an item, what does the reviewer actually see?
Which finance workflows ship prebuilt, and which would we be configuring ourselves?
What happens to this deployment when we upgrade or migrate the ERP?

The last one separates a product from a project. If the answer involves rebuilding, you are buying a customisation with a model attached.

In ChatFin

ChatFin answers all seven in writing during evaluation, including the exact interface, the service account scope and what happens at your next upgrade.

06

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.

In ChatFin

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.

07

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.

Judge the risk by what the service account permits, not by what the product promises.
In ChatFin

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 Manthena

Go 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.

System guides
One per ERP
NetSuite, Acumatica, JD Edwards, SAP Business One, SAP ECC, SAP S/4HANA, Oracle Fusion, Oracle EBS, Dynamics 365 Finance and Operations, Dynamics 365 Business Central, Sage Intacct.
Function inside the system
The commercial core
Accounts payable inside NetSuite. Month end close inside SAP ECC. Intercompany inside Dynamics 365. This is the level where interface, objects and approval path become concrete.
Task inside the function
The long tail
2 way and 3 way matching, duplicate invoice detection, accrual identification from open purchase orders, subledger to general ledger reconciliation, cash application, trial balance analysis, each on the platform you run.
Connection guides
Bringing your own assistant
How to connect Claude, ChatGPT or a spreadsheet workflow to the ERP through the supported interface, with the same governance model. See the SAP ECC6 connection guide linked below for the pattern.

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.

How ChatFin puts this into practice

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 demo
AM
Ashok Manthena
CEO and co founder, ChatFin

Ashok Manthena is the CEO and co founder of ChatFin, an AI agent platform for enterprise finance that runs across NetSuite, Acumatica, JD Edwards, SAP and Dynamics 365. He works with CFOs and controllers on governed automation of the close, payables, receivables and reporting. Connect on LinkedIn.

Image credits. Header photograph: a finance workspace spanning several systems, sourced from Pexels and used under the Pexels licence, which permits free use including commercial use and does not require attribution. Pexels asks that credit link to the photo page, which the link above does. Add the photographer name from that page before publishing if you want the fuller credit Pexels encourages.
Diagram: 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.
Get started

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.

✓See the exact interface and objects used on your ERP and version
✓Walk the approval path and the audit trail an auditor would ask for
✓Leave with a 30 day plan to deploy your first governed agent
Request a demo
Confidential & private