Workflows · Reconciliation
Your AI gave you a total. Does it tie out?
You paste a ledger into an AI and ask for the total. It answers in a second, to the cent, with total confidence. Whether that number is right is a separate question, and the AI is the wrong thing to ask. Here is how to make it show its work instead.
The setup
The data is synthetic: a clean ledger of 36 lines for one quarter, three departments and four expense accounts, plus the source file it should agree with (think of it as the bank statement). A second copy, the one as posted, has 37 lines and four planted errors.
| Line | What is wrong | Effect on the total |
|---|---|---|
| L011 | Amount posted as −3,952.71. The source has +3,952.71. | −7,905.42 |
| L021 | Posted to account 6999, which is not in the chart. The source has 6100. | None |
| L031 | Dated 2025-04, outside the quarter. The source has 2025-03. | None |
| L037 | A duplicate of L005, which is 502.01. | +502.01 |
What the total hides
Look at the effects. Two of the errors move the total, in opposite directions, so they partly cancel: −7,905.42 plus 502.01 is the 7,403.41 gap. The other two do not move the total at all. An account error and a period error leave the sum untouched.
That is the trap. A total that is close still tells you nothing about how many separate things are wrong. And a total that matches can hide errors that happen to cancel. The only place the period error shows up is a by-period view: 645.74 sits in a fourth period, 2025-04, that has no business being in a Q1 ledger.
So the first numbers I ask any AI for are not the total. They are the row count on each side, and the totals by period.
Make the AI show its work
Give it both files and ask for a comparison that leaves a paper trail. Then read the reply for the things below the prompt.
Here is a ledger as posted and the source file it should agree with. [paste the ledger] [paste the source file] Compare them line by line using the line ID. For every line that differs, or has no match, give: the line ID, which field differs, the value on each side, and the rule you applied to flag it. Compute both totals and both row counts in code, not in your head. Show totals by period for each file. Do not fix anything. List proposed fixes separately so I can accept or reject each one. If you are unsure about a line, say so instead of choosing.
What a good reply has:
- Row counts on both sides. 37 and 36 here. If they are missing, ask for them.
- One flag per problem, each with a rule. Four flags, and you can read why each was raised.
- Totals computed on both sides, and by period, so the 2025-04 line cannot hide.
- Nothing fixed quietly. Fixes are proposals you accept or reject.
Then check the checker
Before you trust the comparison on real data, plant an error of your own. Change one amount in a copy, run the same prompt, and see whether it is flagged. If the AI misses a mistake you put there on purpose, it will miss the ones you did not.
Run it yourself
The Lab has this exact ledger. Press run, watch each line matched or flagged, then accept or reject each correction and see the totals recompute. If you want to build your own version, the full build prompt is in the library.
Open the reconciliation in the LabGet the build prompt
Every figure here is computed from the Lab's synthetic data. Educational content only; not financial, legal or tax advice.