A finance team reviewing work at a laptop, the internal audit and compliance work AI agents support
Function Hub · Compliance and Internal Audit

AI Agents for Compliance
and Internal Audit

Where agents take real work off risk based testing, fieldwork, evidence and issue tracking, and test the full population instead of a sample.

Key takeaways
  • Audit and compliance run on samples and after the fact, so most transactions are never tested and an issue is often found long after it started.
  • An agent tests the full population against the audit programme, gathers the evidence into workpapers, and drafts the findings, leaving the judgment and the conclusion to a person.
  • The 2024 ACFE Report to the Nations estimates the typical organisation loses about 5 percent of revenue to fraud, and the median scheme runs about 12 months before detection.
  • Continuous monitoring against policy and regulation moves compliance from an annual event to a standing check, with the evidence produced as it runs.
  • The audit programme and the risk assessment set the ceiling. Define what to test and why before you point an agent at the population.

An AI agent for compliance and internal audit tests the full transaction population against the audit programme instead of a sample, gathers the results into workpapers, flags the exceptions, and drafts the findings for an auditor to conclude on. It does not sign the opinion. It removes the sampling, the evidence gathering and the first draft write up that consume most of an audit.

This hub covers the audit and compliance workflows agents handle first, risk based planning, fieldwork and testing, evidence and workpapers, and continuous compliance monitoring, then the controls on the agent itself and the programme that decides how well it runs. ChatFin builds these across NetSuite, Acumatica, JD Edwards, SAP and Dynamics 365, so the examples are drawn from how ChatFin runs them.

Internal AuditComplianceRisk AssessmentControl TestingAudit EvidenceContinuous MonitoringFraud DetectionHuman In The Loop
A calculator on financial documents, the transactions an audit agent tests across the full population
The agent tests the full population and gathers the evidence. The auditor concludes and signs.
01

Where the audit hours go

Internal audit and compliance have a structural problem: there is never enough time to look at everything, so they look at a sample and they look at it late. Most transactions are never tested, and when something has gone wrong, the sample tends to find it well after it started, if it finds it at all.

The cost of that gap is measurable. Fraud and control failures that run undetected compound, and weak or overridden controls are behind a large share of them. An agent that tests the whole population, continuously, closes the window in which a problem can hide.

Source. The 2024 ACFE Report to the Nations, drawn from more than 1,900 cases across 138 countries, estimates that the typical organisation loses about 5 percent of revenue to fraud each year, with a median loss of 145,000 dollars and a median scheme running about 12 months before detection. More than half of the cases were tied to a lack of internal controls or a management override of them.
Sampling tests a fraction of the population, late. Testing the whole population continuously is the change that matters.
In ChatFin

ChatFin tests the full transaction population against the audit programme and gathers the evidence as it runs, so audit moves from a periodic sample toward continuous coverage.

02

Use case: risk based audit planning

The first workflow is the plan. The agent reads across the ledger and the operational data, ranks the areas by risk, exposure and change, and drafts a risk based audit plan that points the team at where the money and the weakness actually are, rather than at last year's plan with the dates changed.

It reads through the same governed interfaces the rest of finance uses, SuiteQL on NetSuite, Generic Inquiries over OData on Acumatica, transaction data through BAPIs on SAP. The audit lead sets the scope; the agent surfaces the risk signal that should shape it.

In ChatFin

ChatFin ranks the auditable areas from the live data, so the plan is built on where risk has actually moved rather than on the prior year's programme.

03

Use case: fieldwork and testing

The second workflow is the fieldwork. For each test in the programme, the agent runs it against the whole population rather than a sample: every payment for a duplicate, every journal for a policy breach, every access grant for a segregation of duties conflict. It flags the exceptions with the record and the reason.

Testing the full population changes the nature of the assurance. Instead of extrapolating from twenty five items, the auditor is looking at every exception in the set, which is stronger evidence and less work at the same time.

Fieldwork runs on the full population, not a sample, so the auditor reviews every exception rather than extrapolating from a handful.
04

Use case: evidence and workpapers

The third workflow is the evidence. As the tests run, the agent assembles the workpapers: the population, the test applied, the exceptions and the support behind each, linked to the source records. The tie out from a conclusion back to the transactions is built rather than reconstructed.

The reviewer works from a complete, traceable workpaper instead of a folder of screenshots. When the external auditor or the regulator asks how a conclusion was reached, the trail is already there.

In ChatFin

ChatFin builds the workpaper as the test runs, with every exception linked back to the source record, so the evidence is ready to hand a reviewer rather than assembled after the fact.

What the agent preparesWhat a person approves
PlanningA risk ranked audit plan from the live dataThe scope and the priorities
FieldworkEach test run on the full populationThe exceptions and the conclusions
EvidenceWorkpapers linked to the source recordsThe findings, before they are issued
"

A control tested on twenty five items is a control you are trusting on faith for everything the sample never touched, which is almost all of it.

Ashok Manthena
05

Use case: continuous compliance monitoring

The fourth workflow moves compliance from an event to a standing state. The agent monitors transactions and configuration against your policies and the regulations that apply, and raises an exception when something drifts out of line, a policy limit breached, a required approval skipped, a control setting changed.

Instead of discovering a compliance gap at the annual review, the team sees it when it happens, with the evidence attached. This is the same population wide discipline the financial controls hub applies to the control set, pointed at policy and regulatory compliance.

A compliance gap is caught when it happens, with evidence, rather than at the annual review.
06

The controls on the agent itself

An agent in the assurance function has to be governed at least as tightly as what it audits. It reads through supported interfaces, not the database. It gathers and evidences rather than posting, and where it writes it goes through the official API. And every test, exception and conclusion is logged with the data read and the person who reviewed it.

That independence and that trail are the point. An audit function whose own work is fully traceable is more defensible, not less, and the log is itself auditable. It is the discipline a controller managing agents instead of analysts expects of anything in the assurance path.

In ChatFin

ChatFin runs on a least privilege read account for audit work, evidences every test as it runs, and keeps a traceable record of what was tested and who concluded on it.

07

What to get right before you start

The ceiling on an audit agent is the programme you give it. Without a current risk assessment, a clear definition of each test, and policies the agent can read, the output is noise rather than assurance. Define what to test and what good looks like before the agent looks at the population.

Settle the risk assessment and the audit programme first, then start with fieldwork on a few high risk areas, because it delivers full population coverage and evidence immediately. Add continuous monitoring once the first tests are trusted.

Fix the risk assessment and the audit programme first. Without them the agent produces noise instead of assurance.

Common questions on AI agents for compliance and internal audit

Short answers to what audit and compliance leaders ask before they start.

Can an AI agent replace internal auditors?

It replaces the sampling and the evidence gathering, not the judgment. The agent tests the full population, assembles the workpapers and drafts the findings, and an auditor concludes and signs. ChatFin works this way, so audit gains full population coverage while a named person still owns the opinion and the independence it depends on.

How do audit agents test the whole population instead of a sample?

They read the full transaction set through the ERP interface and apply each test in the programme to every item, flagging the exceptions with the record and the reason. ChatFin does this so the auditor reviews every exception rather than extrapolating from twenty five items, which is both stronger evidence and less manual work.

Do compliance agents keep evidence for the external auditor?

Yes, and it is produced as the work happens. ChatFin builds the workpaper as each test runs, links every exception to its source record, and logs who concluded on it, so the tie out from a conclusion back to the transactions is ready for the external auditor or the regulator rather than reconstructed under deadline.

Where this hub sits

This is a function hub inside the AI Agents for Finance cluster. Beneath it sit the per ERP and per use case pages.

Function hub
AI Agents for Compliance and Internal Audit
This page. Use cases, workflows and controls for audit and compliance.
Related hub
AI Agents for Financial Controls
Controls monitoring is the sibling of audit testing, covered on the controls hub.
Use case
Planning, fieldwork, evidence, monitoring
The individual workflows this hub links down to as they ship.
How ChatFin puts this into practice

Compliance and internal audit, from planning to evidence, on the ERP you run.

ChatFin runs audit and compliance as standing work above your ERP. It ranks risk from the live data, tests the full population against the programme, builds the workpapers, and monitors compliance continuously, leaving the judgment and the sign off with your team.

Because it reads through the ERP interface and evidences as it runs, the assurance work keeps its own traceable record. See integration coverage to check your stack, or read the AI agents for finance guide for the wider model. Control monitoring is the sibling function, covered on the financial controls hub.

The goal is not an audit tool beside a monitoring tool. It is one agent that tests the whole population and evidences as it goes, on the system that holds the truth.

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 team reviewing work at a laptop, sourced from Pexels. Body photograph: a calculator on financial documents, by Mikhail Nilov, from Pexels. All images are used under the Pexels licence, which permits free use including commercial use and does not require attribution. Each credit links to the photo page. No third party product screenshots, vendor logos or licensed media are used on this page.
Get started

See an agent test a full population from your own ledger.

Bring an audit test and a slice of your transactions, and we will run it across the full population and build the workpaper end to end on your ERP.

✓Watch a test run on your full population, not a sample
✓Bring an audit programme and we will assemble the evidence
✓Leave with a 30 day plan to put full population testing into production
Request a demo
Confidential & private