# Use Codex to catch an S-Corp tax field mapping error

John Sambrook prepared S-Corp tax materials with Claude Code and Codex working in different roles. QuickBooks data and bank statements went into a private Git repository; Claude wrote Python scripts to compute forms, while Codex reviewed those scripts using a model configured for deeper reasoning.

Agent: Codex
Tools: Codex, Claude Code Opus 4.6, QuickBooks, Python
Category: Money, bills & benefits
Date: 2026-02-15

Outcome: Codex flagged three issues, including the Schedule L line-eighteen mapping error; Claude repaired findings through repeated review under Sambrook's supervision.

## Steps

1. Put financial records and calculation scripts in a private repository.
2. Have a second agent trace computed fields back to source data.
3. Fix findings, repeat review and personally check generated figures.

Human oversight: Sambrook directed the process, checked results and made tax decisions himself.

Source: [John Sambrook](https://common-sense.com/insights/doing-taxes-with-ai-coding-agents/)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-audit-s-corp-tax-field-mappings/
