Skip to content
Agents Finance
TutorialEvidence: Real case

How to reconcile accounts in Claude Cowork: 2–3 days down to just over an hour

Summary: Tyler Whitlock, a certified public accountant (CPA), explains on LinkedIn the six steps he used to tie a close’s accounts to the trial balance with Claude Cowork. He says 2–3 days of work were reduced to an hour of review, and he published the folder structure and instructions on GitHub.

Published on Updated on 3 min read739 words

What it is about

It is a method for an accounting professional to use an assistant with file access to prepare close reconciliations. It is more like putting an intern to work with a file system, clear instructions and a review cycle than chatting with a chatbot.

What it offers, according to the source

Stated by the post’s author: from 2–3 days of heavy, interrupted work to a little over an hour of review. The author insists that it is not an AI “doing the accounting” but an orderly environment with rules and a review cycle. Accounts such as the bad-debt provision needed several rounds of comments.

Stated figures. An identified person or organization states that they have used it. The results are stated by the source; we have not audited them.

What has really been tested

The author did it himself with the data from his March close; he does not publish the data or the account figures. The repository contains the process template and examples of instructions, not the real data, and it does not declare a formal license (it only invites using and adapting the template). We have not reproduced the flow.

How to follow it

Try first with a close that has already been reviewed and with one or two accounts, to compare the result with a person’s work. Remove client names and personal data from the folders before giving an AI assistant access and check your provider’s terms. Follow the steps below and do not post anything based on the assistant’s work without a person reviewing it.

  1. Create a working folder for the close (for example, MARCH_RECON) and give Claude access only to it. Inside, add subfolders for documentation, evidence, inputs, reports, scripts and the trial balance.
  2. Drop into the inputs folder the CSV, XML and PDF files you export from your programs. Rename only the files that are opaque.
  3. Write a short text file with what you want: review the documents and tie them to the trial balance, use a fixed tag (#TB:account:balance) so you can check them later with a script, create one file per account explaining how it was reconciled and keep a summary and a to-do list.
  4. Give that file to Claude and ask it to rewrite it and to ask you whatever questions it needs. Save the final version in the folder as claude.md.
  5. Tell it to start reconciling.
  6. Review the result as you would a junior accountant’s, ask for changes and have Claude document each new instruction for next time. Fix logic and edge cases and iterate.

What to keep in mind

  • The method does not depend on a specific ERP: it starts from exports of the programs you use.
  • The useful idea is the fixed tag so that a script can check that each reconciled balance matches the trial balance. It is a mechanical check that does not depend on the assistant being right.
  • In the LinkedIn post, the accountant adds that the repository includes his instructions; we do not copy those texts and link to the original.

Copy and adapt

Tyler Whitlock’s repository, tylerwhitlock50/month_end_claude, shares the process template: CLAUDE.md, the master guide reconciliation_instructions.md and sanitised per-account examples in documents/examples/. It does not declare a licence, so we link the files instead of reproducing them, and his reconciliation scripts are kept out of the repository. From his material we quote only the tag convention, #TB:{account}:{amount}, placed in the cell immediately to the right of the reconciled balance. The two blocks below are Agents Finance templates based on his method, not his files. The code is identical in English and Spanish.

Prerequisites

  • Claude Cowork or Claude Code with access to one close folder only, with the subfolders from the steps above.
  • Exports of the trial balance and the subledgers (CSV or Excel), with client names and personal data removed.
  • Python 3 with openpyxl (pip install openpyxl) for the tie-out script.

Agents Finance template: CLAUDE.md for the close folder

# CLAUDE.md: month-end reconciliations (Agents Finance template)

## Goal
Tie every balance sheet account in trial_balance/ to subledger detail in
inputs/, explain every difference and leave evidence a reviewer can sign.

## Rules
1. The latest file in trial_balance/ is the source of truth. Never change,
   estimate or round a trial balance figure.
2. Before working on an account, read documents/account_<number>.md. If it
   does not exist, create it from documents/_template.md and ask me the
   questions you need before reconciling.
3. One workbook per account in evidence/, named <number>_<YYYY-MM>.xlsx.
   Put the tag #TB:<account>:<balance> in the cell right of the reconciled
   balance, with the balance exactly as in the trial balance.
4. Every figure in a workbook is a formula or comes from a named input
   file. No typed numbers without a source note.
5. Differences: exact match expected. Anything you cannot explain goes to
   todo.md under "Open items" with the amount and what you checked.
6. Never propose journal entries as posted. Draft them in
   reports/proposed_entries.csv for me to review.
7. When done, run `python scripts/tb_tieout.py trial_balance/<file>.csv
   evidence/` and paste its output into todo.md.
8. When I correct you, update documents/account_<number>.md so the
   correction applies next month.

Agents Finance template: tie-out script

scripts/tb_tieout.py reads every #TB tag in the evidence workbooks, compares it with the trial balance and lists the accounts that have no evidence yet. It is the mechanical check described above, and it does not depend on the assistant being right. We tested it with three sample accounts (one match, one variance, one missing).

"""Tie every reconciliation workbook back to the trial balance (Agents Finance template).

Each evidence workbook carries a tag such as #TB:1100:245310.50 in a cell.
The script reads every tag, compares it with the trial balance and lists the
accounts with no evidence. Usage:
  python tb_tieout.py trial_balance.csv evidence/
trial_balance.csv columns: account,name,balance
"""
import csv
import re
import sys
from decimal import Decimal
from pathlib import Path

from openpyxl import load_workbook  # pip install openpyxl

TAG = re.compile(r"#TB:(\w+):(-?[\d,]+(?:\.\d{1,2})?)")
TOLERANCE = Decimal("0.00")  # exact match unless your policy says otherwise


def load_tb(path):
    with open(path, newline="", encoding="utf-8-sig") as f:
        return {r["account"]: Decimal(r["balance"].replace(",", "")) for r in csv.DictReader(f)}


def scan(folder):
    found = []
    for wb_path in sorted(Path(folder).glob("*.xlsx")):
        wb = load_workbook(wb_path, data_only=True, read_only=True)
        for ws in wb.worksheets:
            for row in ws.iter_rows(values_only=True):
                for value in row:
                    if isinstance(value, str):
                        for acct, amount in TAG.findall(value):
                            found.append((acct, Decimal(amount.replace(",", "")), wb_path.name, ws.title))
    return found


if __name__ == "__main__":
    tb = load_tb(sys.argv[1])
    tags = scan(sys.argv[2])
    problems = 0
    for acct, amount, file, sheet in tags:
        if acct not in tb:
            print(f"UNKNOWN  {acct} in {file}/{sheet}: not in the trial balance")
            problems += 1
        elif abs(tb[acct] - amount) > TOLERANCE:
            print(f"VARIANCE {acct} in {file}/{sheet}: tag {amount} vs TB {tb[acct]}")
            problems += 1
        else:
            print(f"OK       {acct} {amount} ({file})")
    missing = sorted(set(tb) - {t[0] for t in tags})
    for acct in missing:
        print(f"NO TAG   {acct}: no evidence workbook yet")
    sys.exit(1 if problems else 0)

Sources

We wrote this entry in our own words from the sources above and checked that the links worked on October 17, 2026. Is anything incorrect? Tell us.

Share this entry

This entry is part of the guide: AI agents for accounting

Related entries

  • Diagram: an Excel agent with an audit skill turns a messy general ledger export into working data, a change log and a reconciliation to the trial balance that a person reviews.
    TutorialEvidence: First-hand experience

    59,157 GL rows cleaned and tied out in 10 minutes with ChatGPT in Excel

    Gang (Ernest) Pan and Li Wang (University of Akron)Individual · Audit and accounting education (United States)

    Two accounting professors show in the Journal of Accountancy how a custom skill in ChatGPT for Excel cleans a messy general ledger export, reconciles it to the trial balance and logs every change, in about 10 minutes for 59,157 simulated rows. A tested method on simulated data, not a client result; we add a skill, formulas and a re-check script.

    Same process: Accounting · Same type: Tutorial

  • Four-step diagram: Xero organisation, official MCP (remote or local), Claude Code asking for unpaid invoices and reports, a person confirming before any write.
    TutorialEvidence: First-hand experience

    How to connect Xero to Claude Code with the official MCP server in ten minutes

    Evgeny (techconcepts.org, Madrid)Individual · Small-business / freelance bookkeeping with Xero

    Xero offers a hosted Remote MCP (api.xero.com/mcp/v1, PKCE, Core+) and the self-hosted npm package @xeroapi/xero-mcp-server for Claude Code. A Madrid developer set up unpaid-invoice reads in about ten minutes; we contrast that with Xero's FAQ, the read-only Claude marketplace connector and bulk-read limits.

    Same process: Accounting · Same type: Tutorial

  • Five-step diagram: CSV of assets, Claude with MCP drafting depreciation books and journal lines, a person reviewing and posting, Business Central calculating depreciation, and Claude checking book values.
    TutorialEvidence: First-hand experience

    Business Central fixed assets with Claude Code and MCP: 9 assets, zero lines of AL

    Silviu Virlan (Business Central Musings, SureHoofERP)Individual · ERP consulting (Microsoft Dynamics 365 Business Central)

    Silviu Virlan, a Business Central consultant and former Microsoft MVP, shows how Claude Code, connected to Business Central through MCP and OData V4, turns a CSV of assets into depreciation books and draft fixed asset journals that a person reviews and posts. It was done in Microsoft's demo company: a reproducible method, not a measured result.

    Same process: Accounting · Same type: Tutorial

Keep exploring