The Bank and the Ledger Disagree: Reconciling Month-End Transactions with Claude
The Bank and the Ledger Disagree: Reconciling Month-End Transactions with Claude
Month-end close was two days away, and the numbers didn't agree. The bank statement said one thing. The accounting ledger said another.
The accountant didn't write code, and she didn't have time to tick through every line by hand. What she did have was Claude.
The idea was simple:
Bank export + ledger export → Claude → Exceptions file → Human review
The AI does the matching. The accountant does the checking.
The Ask
She wrote it the way most people would, with two files attached:
Hi Claude. Attached are our November bank export and our November cash ledger. I need to reconcile them before close. Can you match up the transactions and give me a file of everything that doesn't match? The bank usually posts a few days after we record something, so don't make a big deal about small date differences. Please give me the totals for each file too.
The Data Going In
Here is the ledger export:
entry_id,description,amount,entry_date
G101,Pioneer Office Rent,"$3,600.00",11/01/2026
G102,Harbor Insurance,"$1,875.00",11/03/2026
G103,Summit Software,$249.00,2026-11-04
G104,Lone Star Utilities,$412.38,November 5 2026
G105,Greenway Landscaping,"$1,540.00",11/09/2026
,,,
G106,Payroll Run,"$14,250.00",11/13/2026
G107,Metro Courier,$88.50,11/18/2026
G108,Lakeside Catering,$625.00,11/20/2026
G109,Payroll Run,"$14,250.00",11/27/2026
And here is the bank export:
txn_id,memo,amount,post_date
T9001,PIONEER RENT,"-3,600.00",11/03/2026
T9002,HARBOR INS PREMIUM,"-1,875.00",11/05/2026
T9003,SUMMIT SOFTWARE,-249.00,2026-11-06
T9004,SUMMIT SOFTWARE,-249.00,Nov 7 2026
T9005,LONE STAR UTIL,-412.38,11/07/2026
T9006,GREENWAY LANDSCAPE,"-1,450.00",11/11/2026
T9007,PAYROLL,"-14,250.00",11/13/2026
T9008,METRO COURIER,-88.50,11/20/2026
T9009,PAYROLL,"-14,250.00",11/27/2026
T9010,MONTHLY SERVICE FEE,-30.00,11/30/2026
Dollar signs in one file, negatives in the other, three date styles, a blank row, and cryptic bank descriptions. A normal Tuesday.
What Came Back
Claude replied with a short summary and an attached file.
I matched 7 of the 9 ledger entries to bank transactions by amount, allowing up to 3 days between the ledger date and the bank date. Five items didn't match, and they are in the attached file.
Totals: ledger $36,889.88, bank $36,453.88, difference $436.00.
Worth a look: the ledger has Greenway Landscaping at $1,540.00 and the bank has $1,450.00. Those may be the same payment. The bank also shows two $249.00 charges from Summit Software, and the ledger has one.
I matched on amount and date only, not on vendor names, so a spot check of the matched items is worth doing.
The attached file,
reconciliation_exceptions.csv:
status,amount,entry_id,description,entry_date,txn_id,memo,post_date,days_apart
Only in bank,1450.00,,,,T9006,GREENWAY LANDSCAPE,2026-11-11,
Only in bank,249.00,,,,T9004,SUMMIT SOFTWARE,2026-11-07,
Only in bank,30.00,,,,T9010,MONTHLY SERVICE FEE,2026-11-30,
Only in ledger,1540.00,G105,Greenway Landscaping,2026-11-09,,,,
Only in ledger,625.00,G108,Lakeside Catering,2026-11-20,,,,
Now the Real Work: The Review
Claude has done its part. Now the accountant earns her paycheck.
1. Tie out the totals. The ledger is $436.00 higher than the bank. The two ledger-only items total $2,165.00 and the three bank-only items total $1,729.00. The difference is $436.00, so the exceptions explain the whole gap and nothing was dropped. Had the math failed, she would have stopped right there.
2. Chase each exception to a real document.
- Greenway Landscaping. The invoice says $1,450.00. The digits in the ledger were swapped. Claude saw two unrelated lines, and a person with the invoice saw one typo. She corrects the ledger.
- Summit Software. The bank charged $249.00 twice. She contacts the vendor for a refund.
- Lakeside Catering. The $625.00 check hasn't been cashed. She notes it as outstanding and watches for it next month.
- Monthly service fee. The $30.00 isn't in the books yet. She records it.
3. Spot-check a few matches. The report lists only problems, so the matches are what nobody looks at. She picks three at random and confirms both sides agree. Claude said it matched by amount and date, so a wrong pairing is exactly what this catches.
4. Ask follow-up questions. "What date gap did you allow?" "Show me the matched list." Anything she doesn't trust, she can ask Claude to explain.
What Claude Did Under the Hood
For readers who like to know what happened between the files going in and the report coming out:
- Read both files as plain text, so nothing got reformatted along the way.
- Dropped the blank row in the ledger.
- Cleaned the amounts and dates, and flipped the bank's negatives to positive so both files could be compared.
- Matched transactions by amount, to the penny. When the same amount appeared more than once, it paired them in date order.
- Allowed up to three days between the ledger date and the bank date.
- Labeled anything left over as "Only in ledger," "Only in bank," or "Timing gap."
- Totaled both files and wrote the exceptions to a new file.
Notice what Claude did not do. It didn't read the invoices or check vendor names, and it couldn't know that $1,540.00 was a typo. Those calls belong to the person who knows the business.
Claude did the matching. The accountant did the checking.
Both the AI and the person matter, and only one of them can pick up the phone.
