Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
AI Apps

AI Agents in ERP Systems

Last updated:

The ERP handles the rules. People handle the rest.

An ERP is very good at the happy path. An order with a known customer, a price from the price list and stock in the warehouse flows straight through. The trouble is everything else: the invoice that does not match the purchase order by two pounds, the goods received note entered against the wrong line, the customer on credit hold who has just paid. Each lands in an exception queue, and those queues are where finance and operations teams spend their days.

That is where AI agents fit inside ERP systems. Not replacing the ERP, and not chatting on top of it for the sake of a demo, but working through exceptions that need someone to look in three places and make a sensible judgement.

Exceptions agents handle well

  • Three-way match failures. Invoice, purchase order and goods receipt disagree. The agent finds the cause: partial delivery, price change, unit of measure, a duplicate.
  • Unapplied cash. A payment arrives with a vague reference. The agent matches it to open invoices using amounts, remittance emails and customer history.
  • Order holds. Credit or pricing holds where the agent gathers the facts the credit controller needs to release or keep the hold.
  • Stock discrepancies. Counts that disagree with system stock. The agent traces recent movements and suggests the likely error.
  • Master data problems. Duplicate customers, suppliers with inconsistent details, items missing attributes.

Take a distributor with 2,000 supplier invoices a month where a tenth fail matching. At ten minutes each, that is over 30 hours a month of investigation. An agent that resolves the obvious ones and hands over a clear explanation for the rest makes a visible dent, even if a person still approves every correction.

Read widely, write narrowly

The design principle that keeps ledgers safe is to give the agent broad read access and very narrow write access.

CapabilityAgent accessWhy
Read orders, invoices, receipts, stock, customersYes, read-onlyInvestigation needs context
Read related emails and documentsYes, scopedExplanations often live outside the ERP
Add notes and attach evidence to a recordYesLow risk, high value for reviewers
Propose a correction or journalYes, as a draftA person reviews before posting
Post journals, release holds, change pricesOnly after approvalFinancial and customer impact
Change supplier bank details or master data in bulkNoFraud and data integrity risk

All writes go through the ERP's own API or business logic, so the ERP's validations, period locks and audit trail still apply. We never let an agent write to ERP database tables directly. It bypasses the rules the ERP exists to enforce.

Which ERPs this works with

Most modern cloud ERPs, including the platforms mid-sized UK and US businesses commonly run, expose APIs good enough for an agent to read transactions and create draft documents. Older on-premise systems vary: some have usable APIs, some only database access, some only screens. Our guide to AI integration with ERP systems covers the integration options by type.

Many ERP vendors also now ship their own built-in assistants and agents. They are worth trying first for tasks entirely inside the ERP. A custom agent earns its place when the investigation crosses systems, such as the ERP plus email, a warehouse system and a bank feed, or when the process is specific to your business.

A realistic rollout

  1. Pick one exception type with high volume and clear resolution rules, usually invoice matching
  2. Pull six months of resolved exceptions and how they were resolved, which becomes the evaluation set
  3. Build read-only tools and an agent that explains the likely cause, with no write access at all
  4. Measure how often its explanation matches what the team actually did
  5. Add draft corrections for review, and track how often reviewers accept them unchanged
  6. Allow automatic posting only for narrow, low-value categories with strong evidence, and keep it reversible

Steps three and four often deliver most of the benefit. An accurate explanation attached to every exception halves the time spent investigating, before the agent has changed a single figure.

Controls finance and auditors will ask about

  • Segregation of duties: the agent's service account must not both propose and approve
  • A complete log of what the agent read, what it proposed, who approved it and when
  • Period-end behaviour, so the agent does not draft entries into closed periods
  • Materiality thresholds that force human review above a set value
  • Regular sampling of approved agent corrections by someone independent

Build these in from the first release. Retrofitting them after an auditor asks is slower and more awkward. The wider governance picture is in our post on AI governance and compliance.

When not to put an agent in your ERP

If exception volumes are low, a well-organised queue and a clear procedure will serve you better. If your ERP data is badly inconsistent, an agent will reason confidently over bad data, and a data clean-up is the right first project. And if the ERP is due to be replaced within a year, build the agent against the new system rather than the old one.

At SpiderHunts we tend to begin ERP agent work with a two-week look at exception data before proposing anything, because the numbers usually point to the right starting point. Larger multi-entity deployments sit within our enterprise AI work, and the purchasing side connects with agents for purchase approvals.

Frequently asked questions

Can AI agents work inside an ERP system?

Yes, through the ERP's APIs. They are most useful on exception handling, investigating mismatches and data problems across the ERP and related systems, and preparing corrections for people to approve.

Should an AI agent post journals in our ERP?

Only as drafts for approval at first. Automatic posting may be reasonable later for narrow, low-value categories with strong evidence of accuracy, and it should always go through the ERP's business logic and audit trail.

Do ERP vendors' built-in AI agents make custom agents unnecessary?

For tasks entirely within the ERP, built-in agents are worth trying first. Custom agents make sense when investigations span several systems or follow processes specific to your business.

What is the best first use of AI agents in ERP?

Invoice matching exceptions are usually the best start: high volume, clear resolution patterns, good historical data and a natural human approval step.

Keep reading

ERP exception queues growing faster than your team?

Tell us which ERP you run and where work piles up. We will say which exceptions an agent could clear or prepare, and which should stay firmly with finance.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

AI AgentsCustom Software DevelopmentSaaS Development