WorkflowInternal Audit & SOX Compliance

SOX Control Testing

SOX control testing where you talk to the agents, see the evidence behind each cell and sign the workpaper yourself

See one case, screen by screen ↓
Watch with transcript →

Built forSOX testersSOX program managersControl ownersExternal auditorsChief audit executives

The Problem Today

Testers tick a small sample in spreadsheets, so one exception says nothing about the rest of the population.

16 h
per control test of operating effectiveness, up from 12 published
$2.3M
a year for the average SOX program, up from $1.6M published

Chased and ticked by hand

  • Populations
  • Samples
  • Evidence
  • Tick marks
  • The auditor tests it againWork the auditor cannot rely on is tested again, at your cost
  • Days spent chasing evidenceScreenshots and exports from the wrong period or version

The Solution

  1. Population tied to the ledgerCount and total agreed to the ledger, and the sample drawn with a recorded seed
  2. Each attribute testedEach sampled item checked point by point, with its evidence snippet
  3. Re-performed blindA second agent re-tests each exception and a few random items, unseen
  4. Failure swept, then classifiedAll items are checked, then the program manager classifies the deficiency

Built-in controls

  • A reason code on each judgment
  • Samples and evidence anyone can reproduce
  • A full audit trail for the external auditor

What You Get

Deficiencies are sized during interim testing, so fewer surprises reach the fourth quarter.

  • Exposure sized from the populationEach item checked for the failed attribute, with nothing projected from the sample
  • Workpapers drafted and citedEach claim opens its source, and the tester signs as preparer
  • Auditor questions answeredDrafted from the record, then sent by a person
In short

What is SOX Control Testing?

SOX control testing checks whether a key control over financial reporting is designed well and works in practice. The tester ties out a population, draws a sample and checks each attribute against evidence. Exceptions are evaluated and the result goes into a signed workpaper. SOX Control Testing adds seven agents. They sample, test, re-perform blind, check the whole population when a sample fails and draft the cited workpaper. The SOX tester and the program manager decide and sign.

How to choose AI solutions for back-office and enterprise work →

Updated

The problem

Each SOX control test takes 16 hours on average, and a small sample says little about the rest

Under SOX, a US law, public companies must test their key controls over financial reporting each year. A program tests hundreds of them, and most are still tested by hand. The tester asks the ERP team for a report of every transaction the control covers. That list is the population, and the tester must show it is complete and accurate. They pick a sample from the methodology table and email control owners for evidence. Then they tick five or six attributes per item in a spreadsheet, with tick marks and cross-references. An attribute is one point the item must meet, such as a signed approval. The evidence comes back as screenshots, PDFs and exports. It is often from the wrong period or in the wrong version, and the chasing takes days.

The risk lies in what the sample cannot tell you. One exception in a sample of 25 says nothing about the rest of the population. So teams extrapolate from the sample, and either rate the deficiency too low, until the auditor finds more, or too high. The manager's review is a second read of the same evidence, and review notes go back and forth for days. If the external auditor cannot rely on internal audit's work, it tests the control again. That cost shows up in the fee and in late Q4 surprises.

typical16hoursper control for the test of operating effectiveness, up from 12
typical$2.3Ma yearfor the average SOX program, up from $1.6M two years earlier
typical238of 3,307annual reports disclosed a material weakness by mid-2025
Where the hours go in one control testestimated
By hand16 hours
With the solution3 hours
  • Pulling the population and tying it to the ledger2 → 0.2 h
  • Choosing the sample size and drawing the sample1 → 0.1 h
  • Requesting, chasing and checking evidence4 → 1 h
  • Testing each attribute and writing up exceptions5 → 0.6 h
  • Drafting the workpaper2 → 0.5 h
  • Review notes and sign-off2 → 0.6 h

Estimated split of one test of operating effectiveness, by hand and with the solution. The 16-hour total is the published average. The ≈ 3-hour total is the design target.

How it works

Population, sample, attribute grid and sweep for each control under test

What comes in
Evidence inERP, ledger, owners · populations, approvals, documents
Agents at work
Sampling agenttied to ledger, seed recorded
Then
Evidence agent
Testing agenteach cell cited
Then
Reviewer agentre-performs blind
Then
Deficiency agentchecks the population
Workpaper writer
A person decides
SOX tester and managerdecide and sign
What comes out
Signed workpaper
Deficiency drafted
Auditor can rely
One case, step by step

The invoice-approval control: one failed sample and 1,846 invoices checked

The company is testing its invoice-approval control for the interim period, the first nine months of the fiscal year. Under the control, invoices of $50,000 or more must be approved in the ERP workflow before payment is released. The approver's delegated limit must cover the amount. A senior SOX tester prepares the test and the SOX program manager reviews it. Here is how the work goes, screen by screen, in the working solution.

A worked example on sample data. Names, IDs and figures on the screens and in this section come from the demo.

  1. 01The morning after the run

    The agents worked overnight, and the day starts with what needs the tester

    Senior SOX tester

    Interim testing closes in 16 days, and the tester has 18 controls this cycle. The home screen lists what only the tester can do. The invoice-approval control has 1 exception and 1 disagreement. An order-to-cash control has a review note from the program manager. A record-to-report control has 2 evidence requests 3 days overdue. The screen also shows each agent's overnight steps, from the sampling agent's population re-run at 06:21 to the drafted workpaper at 07:11.

    Overnight, the agents: “Deficiency agent swept 1,846 invoices for attribute C. 4 found, $251,470. Drafted the deficiency.”

  2. 02One question

    Why did sample 17 fail? Asked in plain words

    Senior SOX tester

    The tester asks the assistant. The answer names the invoice, $61,240.00 from one supplier, and the approver, a plant finance manager. It gives that approver's $25,000 single-invoice limit under the delegation-of-authority matrix. It says the reviewer agent re-performed the cell blind and agrees. It points to the workflow change behind the failure, cites both sources and opens the cell beside the answer.

    “The cause is a workflow change made in early June. I have opened the cell.”

  3. 03The grid

    Five attributes across, 25 samples down, each cell a decision with its proof

    Testing agent

    Attributes A to E run across the top. They are approval present, approver on the authority matrix, amount within the limit, approved before payment, and evidence complete. The 25 sampled invoices run down the side. Each of the 125 cells carries its one-line evidence snippet. Above the grid sit the numbers. A population of 1,846 invoices, $214.6M, is tied to the ledger. The sample is random, with a recorded seed. Of the 25, 24 pass and 1 is an exception. Re-performance agrees on 24 of 25 cells, and 4 of 1,846 invoices have the same break.

    The sampling agent tied the invoice-approval report to the AP subledger, account 2100, with a $0.00 difference before it drew the 25.

  4. 04Sample 17 · attribute C

    $61,240 approved against a $25,000 limit

    Testing agent

    Opening the cell shows the evidence the agent read, with the figures highlighted. The invoice total is $61,240.00 and the approver's limit is $25,000, over by $36,240.00. Below that are the rule from the authority matrix, the testing agent's reasoning at confidence 0.98, and its sources. The approval came from the workflow itself, with no manual override. The reviewer agent worked from the source documents on its own and reached the same result.

    Cells below the 0.90 confidence floor always go to a person.

  5. 0506:52

    A second agent re-performs blind, and says when it disagrees

    Reviewer agent

    The reviewer agent re-performed samples 3, 9, 17, 21 and 24 before it could see the testing agent's answers. That is the exception plus random picks, which together make up 20% of the sample. It agrees on 24 of 25 cells. On sample 21, attribute E, the testing agent said pass at 0.96. The reviewer agent says not complete at 0.94. The invoice cites version 3 of its purchase order, issued with a price change, but the file holds version 2. Both reasonings sit side by side, and the cell waits for the tester.

    “The reviewer agent never resolves its own disagreement. Whatever you choose is recorded with your name and reason.”

  6. 06One click

    The right purchase order requested, and both agents check it again

    Senior SOX tester and the control owner

    The tester chooses to request version 3 of the PO from the control owner's team. The request goes to AP Shared Services, and the PO arrives. The evidence agent and the reviewer agent both re-check version 3. The cell passes and is marked as resolved by the tester. It shows version 3 received and re-checked by the reviewer agent. Now 25 of 25 re-performed cells agree.

    “PO v3 received and re-checked · 25 of 25 cells agree.”

  7. 0707:05

    One failed sample, and the whole population checked

    Deficiency agent

    The deficiency agent checked attribute C on all 1,846 invoices. It found 4 approved above the limit, $251,470 in total. The same approver approved all four, for one cost center, from late June to late September. All four are three-way matched, with goods received and priced per contract, so nothing is misstated. The cause was a workflow change. It sent tier 2 approvals for one plant to a role group without checking its limit. The agent opened a question on the IT general control over changes.

    Drafted evaluation: potential exposure $2.71M, 8.6% of $31.5M performance materiality. The compensating control, a monthly review of large invoices, tested effective.

  8. 08Classified

    The agent proposes a classification, and the program manager decides

    SOX program manager

    The draft sets out the condition, criteria, cause and effect. It adds the population check, the root-cause timeline and the evaluation under AS 2201, the US audit standard for these controls. The deficiency agent proposes a control deficiency that is not significant, at confidence 0.88, and says why. Only the SOX program manager can classify. They pick the reason code for agreeing with the proposal, write a note and sign. Remediation goes to the control owner. The owner must fix the routing, get approval after the fact from the Division CFO, and retest 30 days after the fix.

    The deficiency agent never classifies a deficiency. A changed classification needs its own reason code.

  9. 09Signed

    The preparer signs only when nothing is open

    Senior SOX tester, then the program manager

    The workpaper writer drafted the workpaper with 9 sections and 31 citations. The program manager's review note on section 5 asked how the reviewer agent picked the five samples. With all cells resolved, the tester signs as preparer. The result is 24 of 25 pass with 1 exception, and 25 of 25 cells agree on re-performance. The deficiency is proposed as a control deficiency. The program manager then signs as reviewer, because preparer and reviewer must be different people.

    “I performed or reviewed every attribute, the evidence supports each result, and the conclusion reflects the test.”

  10. 10Before the walkthrough

    The auditor's question, answered with citations and sent by a person

    External auditor

    The external auditor asks how the team showed the population was complete, and whether report parameters were checked. The workpaper writer drafts the answer from the record. The invoice-approval report ran on the first day after the period closed. Its $214,612,388.40 agrees to account 2100 with no difference. Its 1,846 rows agree to the ERP document count. Five rows were traced, and parameters were checked against the control description. The tester sends it. The audit firm plans to rely on 248 of 412 key controls.

    The workpaper writer never sends anything to the external auditor.

Who it’s for

Who prepares, reviews, owns and relies on a SOX control test

The same invoice-approval test from four seats: the cycle by hand, then the cycle now.

Senior SOX tester
Tests 18 controls this cycle
Before
Spends more time chasing the right PDF than testing the control. Works through tick marks, cross-references and write-ups, one sample at a time.
Now
Opens a grid the agents tested overnight and asks about what is unclear. Resolves the one disagreement and signs as preparer.
SOX program manager
Reviews workpapers and answers to the CAE and the auditor
Before
Re-reads the evidence because what the tester saw is not visible. Review notes go back and forth for days.
Now
Reads a workpaper where each claim opens its source and leaves a note. Classifies the deficiency with a reason code and signs as reviewer.
Accounts payable director
Owns the invoice-approval control and 11 others
Before
Wants to know exactly which document is needed, for which invoice, by when. Evidence requests arrive as loose emails.
Now
Gets one request naming the invoice, the document and the due date, here version 3 of a purchase order. Accepts the remediation plan for the control.
External audit senior manager
Decides how far to rely on internal audit
Before
Relies on work that can be re-performed in ten minutes. Work that is not ready for reliance gets tested again.
Now
Opens shared workpapers read-only and sees the reliance checks per control. Re-performs a cell and gets answers with citations.
The agents

A sampling agent, a blind reviewer and a population check behind the grid

Samples are drawn by method, tested attribute by attribute and re-performed blind. On a failure, the whole population is checked. The tester and the program manager sign.

Planning agent

Rolls forward the risk and control matrix from last year. Finds design changes in the year's change tickets and policy updates. Proposes the test plan, with new, changed and retired key controls, each with its source.

  • Never adds or removes a key control. The SOX program manager approves
  • Cites the source of each change
Sampling agent

Runs the population report with the control's parameters and ties its count and total to the ledger. Traces five rows to source. Picks the sample size from the methodology table and draws at random with a recorded seed.

  • Never re-draws without a reason code
  • Never picks items haphazardly instead of at random
Evidence agent

Sends evidence requests to control owners and reads what comes back. Checks the period, version, signature and completeness of each file.

  • Never accepts evidence outside the test period
  • Never edits evidence
Testing agent

Checks each attribute of each sample against the evidence. Records pass or exception with the passage it relied on, its reasoning and a confidence.

  • Below 0.90 confidence a cell goes to a person
  • Never concludes the test
Reviewer agent

Re-performs each exception, plus enough random picks to reach 20% of the sample and at least 5 items. Works from the same sources on its own. When it reaches a different answer, it says so on the grid.

  • Never sees the testing agent's answer first
  • Never resolves its own disagreement
Deficiency agent

Checks the whole population for the failed attribute and sizes the exposure. Traces the root cause to the system event behind it. Drafts the condition, criteria, cause and effect, and how likely and how large the misstatement could be.

  • Never classifies a deficiency. It proposes, with reasons
  • Each figure cited
Workpaper writer

Drafts the workpaper and the answers to the external auditor's questions, with a citation behind each claim.

  • Never signs
  • Never sends to the external auditor
SOX tester and program manager

Preparer and reviewer sign.

Ask in plain words

Plain-word answers on a sample, a deficiency or a dependent control

Ask in plain words, or tell the assistant what to do next. Answers cite their sources and open the right place in the test.

Why did sample 17 fail?

Sample 17 is a supplier invoice for $61,240.00. A plant finance manager approved it at 09:12 one July morning. Under the delegation-of-authority matrix, that manager's single-invoice limit is $25,000. The reviewer agent re-performed it blind and agrees. The cause is a workflow change made in early June.

Is this exception isolated or systemic?

It is more than one invoice, but it is contained. The deficiency agent checked attribute C on all 1,846 invoices. It found 4 approved above the limit, $251,470 in total. All were approved by the same approver, for one cost center, from late June to late September. None is misstated, because all four are three-way matched. Potential exposure is $2.71M, 8.6% of performance materiality.

Which other controls depend on the same approval workflow?

Three. The first is the monthly review of invoices over $50,000, the compensating control, which tested effective. The second is the IT general control over changes to production, which let the workflow change through. An evidence request is with its owner. The third is purchase-order approval, which uses the same role groups.

Draft the status note for the audit committee

Interim testing is 69% complete (286 of 412), against a 70% plan. There are 14 exceptions on 12 controls, and each led to a check of its whole population. Of 7 control deficiencies, none is significant. The invoice-approval deficiency covers 4 invoices, $251,470, approved above limit after a workflow change, with no misstatement. The external auditor plans to rely on 248 key controls. This summary is in Reports for the CAE to approve.

The screens

The attribute testing grid, blind re-performance and the population check

From the working solution, on its sample data. Pick one to see it large.

TodayWhat needs the tester today, ranked by deadline and risk, and what each agent did overnight, step by step.
Ask the assistantA plain-word question answered with the invoice, approver, limit and cause, each cited, beside the cell it opened.
The attribute test gridFive attributes across and 25 samples down, each cell a pass or exception with its evidence snippet. Above sit the population, sample, results, re-performance and population check.
Replay the agentsThe agents' plan and each step they took on the test, with sources, confidence and the hand-off to the tester.
One cell, all its proofThe evidence with figures highlighted, the rule, the testing agent's reasoning and confidence, and the reviewer agent's own answer.
Blind re-performanceBoth agents cell by cell, the one disagreement with both reasonings side by side, and the choices for the tester.
A disagreement resolvedThe right purchase order requested, received and re-checked by both agents. A person marked the cell as resolved.
Population and sampleThe population tied to the subledger with no difference, five rows traced, the methodology row and the 25 items drawn with a recorded seed.
Deficiency and population checkCondition, criteria, cause and effect, all 1,846 invoices checked for the same break, and the drafted evaluation against materiality.
The program manager classifiesThe proposed classification agreed with a reason code and a note, and signed by the SOX program manager.
The drafted workpaperNine sections with a citation behind each claim, the sources panel and the reviewer's notes.
Sign as preparerThe test summed up before signing, with the attestation. Sign-off is blocked while any cell is open.
External auditor reliancePlanned reliance, the reliance checks per workpaper, and the auditor's questions answered with citations and sent by a person.
Governance

Blind re-performance, reason codes and two signatures in SOX control testing

Each cell and each claim citedEach cell carries the evidence it was read from (document and page) and the rule it was checked against. Claims in the workpaper carry a citation that opens their source.
A blind second check before the human reviewThe reviewer agent re-performs each exception and a random subset without seeing the testing agent's answer. It cannot be switched off, and it hands any disagreement to a person.
People decide and signThe tester resolves cells and signs as preparer. The SOX program manager signs as reviewer and classifies each deficiency. The preparer and the reviewer must be different people, and agents hold no signing rights.
Reason codes on each judgmentOverrides, re-draws, targeted items, classification changes and send-backs each need a reason code and a note. Each is recorded with the person's name.
Evidence and samples you can reproduceEvidence is kept unedited, each population is fingerprinted and each sample seed is kept. A re-draw with the same seed gives the same items.
An audit trail for the external auditorActions by people and agents are recorded with who, what and when. Entries can only be added, never changed, and can be filtered and exported. A signature records the time and a fingerprint of the workpaper.
Configuration

The program manager sets sample sizes, re-performance and materiality

The SOX program manager sets how the program runs. Testers see the settings read-only. Each change is versioned and on the audit trail.

SettingDefaultChoose from
Sample sizes (methodology v4.2, table 3)Many times a day: 25 at low or moderate risk, 60 at high riskAnnual 1/1 · quarterly 2/2 · monthly 2/5 · weekly 5/15 · daily 20/40 · many times a day 25/60, each editable
Selection methodRandom with recorded seedHaphazard selection, picking items without a random draw, is not allowed. A re-draw needs reason code RD-01 or RD-02
Re-performance rateEach exception, plus random picks to reach 20% of samples, at least 5Set by the SOX program manager
Sweep the whole population when a sample failsOnSet by the SOX program manager
Reviewer agent works blindOnCannot be switched off
Testing agent confidence floor0.90Below it, the cell goes to a person
MaterialityOverall $42.0M · performance $31.5M · clearly trivial $2.1MSet each year, agreed with the external auditor
Evidence SLA5 business days, escalation on day 8Reminders on days 5 and 7, then escalation to the control owner's manager
Connections

The ERP, ledger and change tickets behind each SOX control testing cycle

ERPpopulations, approval workflow logs and payment runs, each night and on demand
General ledgeraccount and subledger balances, to show populations are complete and accurate
Document storeevidence from control owners (invoices, POs, approvals) and signed workpapers
IT service managementchange tickets, to trace an exception to its root cause
HR systemroles, movers and leavers
Emailevidence requests to control owners and their replies
What it changes

Whole-population checks and control testing an auditor can rely on

Each figure carries its label: a target the solution is built to, an estimate, a typical published result, or a proven one.

target
100%
of the population checked whenever a sample fails
Sample only25 of 1,846
With agents1,846 of 1,846
target
60%
of key controls relied on by the external auditor
248 of 412
sample key controls relied on
target
≈ 3h
per control test, from a 16-hour average
Today16 h
With agents≈ 3 h

“Demo” means seen in the working solution, on its sample data. “Target” means the design goal, measured in the live solution. “Estimated” means our estimate. “Typical” means published figures. KPMG's 2025 SOX Survey found 16 hours per control for the test of operating effectiveness, up from 12. The same survey found an average program cost of $2.3M, up from $1.6M. KPMG's Trends in material weaknesses found that 238 of 3,307 annual reports disclosed a material weakness by mid-2025. PCAOB AS 2201 and AS 2605 are named as context only. Names on the screens are sample data.

Questions

SOX control testing questions from testers and program managers

What is SOX control testing?

SOX control testing checks whether a key control over financial reporting is designed well and works in practice. The tester ties out a population, draws a sample and checks each attribute against evidence. Exceptions are evaluated and the result goes into a signed workpaper. SOX Control Testing adds seven agents. They sample, test, re-perform blind, check the whole population when a sample fails and draft the cited workpaper. The SOX tester and the program manager decide and sign.

How does AI SOX testing work on a single control?

The sampling agent ties the population to the ledger. It draws the sample from your methodology table with a recorded seed. The evidence agent requests and checks the evidence. The testing agent checks each attribute of each sample. It pins the passage it relied on to the cell, with its reasoning and confidence. You see the result as one grid, and can ask about any cell in plain words.

What happens when a sample fails?

The deficiency agent checks the same attribute across the whole population. In the working solution, that meant 1,846 invoices rather than 25. It sizes the exposure, dates the first and last occurrence and traces the root cause to the system change behind it. It then drafts the condition, criteria, cause and effect, and how likely and how large a misstatement could be. A person decides.

How is the agents' work checked?

A second agent, the reviewer agent, re-performs each exception, plus enough random picks to reach 20% of the sample and at least five items. It does this without seeing the testing agent's answers. Where it disagrees, both reasonings are shown side by side and the cell goes to the tester. The reviewer agent does not resolve its own disagreement.

Does the AI classify deficiencies?

No. The deficiency agent proposes a classification with its reasons. The tester submits the deficiency. Only the SOX program manager can classify it, as a control deficiency, significant deficiency or material weakness. That takes a reason code and a signature.

Can our external auditor use the work?

The auditor opens shared workpapers read-only and sees the reliance checks for each one. These cover objectivity, population tested, cells cited, re-performance, and preparer and reviewer signatures. The auditor can re-perform any cell in the browser and ask questions. Answers come with citations and are sent by a person. How far to rely on internal audit's work stays the auditor's decision.

Can we use our own testing methodology?

Yes. The SOX program manager edits these settings. They cover sample sizes by frequency and risk, the selection method, the re-performance rate and the confidence floor. They also cover materiality, evidence SLAs, reason codes, roles and notifications. Changes are versioned and on the audit trail.

Who signs the workpaper, and who answers our external auditor?

People do. Agents do not conclude a test, sign, classify a deficiency or send anything to the external auditor. Cells below the confidence floor go to a person, and any override needs a reason code. The tester signs as preparer only when all cells are resolved. A different person signs as reviewer.

What should we bring to try it on one of our key controls?

The Agentic Solution Engine builds and deploys it from your requirements and documents. Bring your risk and control matrix, testing methodology, delegation of authority and a past workpaper. It goes live once all quality gates have passed. We will walk you through it on one of your own key controls first.

Test one of your key controls
with last year's workpaper beside it.

We'll run SOX Control Testing on one of your own key controls, with its population and last year's workpaper.