Bank Reconciliation With AI: A Step-by-Step Spreadsheet Guide

· DoubleX

Quick answer

To do bank reconciliation with AI, put your bank statement and ledger export in Google Sheets or Drive, then ask an agent to match entries and list what doesn't match. In DoubleX IA OS, the agent reads the files, flags discrepancies, and you review each one before anything changes.

Bank reconciliation is the monthly job of checking that every line on the bank statement has a matching entry in your books, and the reverse. Most teams do it by hand with two exports and a lot of filtering. An AI agent can do the matching and surface the exceptions, while a person decides what to do about them.

This guide works with files and spreadsheets you already have. It does not require a direct connection to your bank.

What files go into a bank reconciliation?#

You need two sources: the bank statement for the period and your internal record of the same transactions. Everything else is optional context that helps the agent explain differences.

FileWhat it containsTypical format
Bank statementDate, description, amount, balanceCSV, Excel, or PDF export from your bank
General ledger or cash bookDate, account, memo, amount, referenceExport from your accounting system, or a Google Sheet
Opening balanceLast reconciled balanceA cell in the sheet or a note
Reconciliation rulesHow your company treats fees, timing, and transfersA document or a Brain note

Keep the same period in both files. Mixing a statement that ends on the 30th with a ledger that runs through the 31st creates false differences.

How do you get the statement and ledger into Google Sheets or Drive?#

Upload both exports to Google Drive or paste them into two tabs of one Google Sheet, then connect Google Sheets and Google Drive to your agent. The agent can then read the files by name.

Here is the setup in DoubleX IA OS:

  1. Create an agent for finance, or run the diagnostic and turn the result into a team of agents. Name it something like "Reconciliation Assistant."
  2. Open Connectors and connect Google Sheets and Google Drive. Gmail is optional if the statement arrives by e-mail.
  3. Set permissions for this agent: allow it to read files and, if you want results written back, allow writing only to the reconciliation sheet. Leave actions that change other data turned off.
  4. In your sheet, use clear headers (Date, Description, Amount, Reference) on each tab. Consistent columns make matching more reliable.
  5. Ask the agent to run the reconciliation, or schedule it to run on the first business day of each month.

PDF statements work less predictably than CSV or Excel. If your bank offers a spreadsheet export, use that.

How do you ask for the match and the discrepancy list?#

Ask the agent to match each statement line to a ledger entry by amount, date window, and reference, then return the lines that have no match on either side. Be specific about the tolerance you accept.

A good request names the files, the period, the matching logic, and the output format. The agent can return a table of matched items, a list of unmatched statement lines, a list of unmatched ledger entries, and a short summary of the difference between the two balances.

Typical discrepancy types to ask about:

  • Timing differences, such as a payment recorded on the 30th that clears the bank on the 2nd.
  • Bank fees or interest that appear on the statement but not in the ledger.
  • Duplicate entries in the ledger.
  • Amounts that differ slightly, for example from a typo in a manual entry.
  • Transfers between your own accounts that show up on one side only.

Because every request becomes a task with a full history, you can see what the agent read, what it wrote, and when.

How do you teach the agent your company's rules?#

Write your reconciliation rules once and store them in a skill or in the Brain, so the agent applies them every month without you repeating them. A skill is a reusable set of instructions you can attach to any agent. The Brain is the company knowledge base with notes, processes, and documents.

Good candidates for rules:

  • Date tolerance: match entries within three days of each other.
  • Amount tolerance: treat differences under a set value as "review," not "error."
  • Known recurring items: bank fees, payment processor payouts, loan installments.
  • Naming patterns: how supplier and customer names appear on the statement versus the ledger.
  • What counts as a final answer: which discrepancies need an accountant's sign-off.

Use a skill for "how we reconcile" (the procedure) and the Brain for reference material such as your chart of accounts or a list of recurring payees. You can learn more in the Skills documentation and the Brain documentation.

What requests can you copy?#

Start with these and adjust the file names, dates, and tolerances to your case:

  • "Compare the tab 'Bank March' with the tab 'Ledger March' in the sheet 'Reconciliation 2025'. Match by amount and a date window of three days. Write matched items, unmatched bank lines, and unmatched ledger entries to the tab 'Reconciliation'."
  • "List every bank line without a ledger entry and suggest the most likely reason for each one, such as fee, timing, or missing entry."
  • "Find possible duplicates in the ledger tab: same amount and same date or reference. Show them in a table and don't change anything."
  • "Summarize the reconciliation: opening balance, total matched, total unmatched on each side, and the remaining difference between statement and ledger."
  • "Every first business day of the month, read the latest statement in the Drive folder 'Bank Statements' and prepare the reconciliation draft for my review."

For the last one, you can set up a schedule in the agent. See Triggers for how routines work. If you also track what comes in and goes out weekly, the guide on automating a weekly cash flow report with AI pairs well with this one.

What precautions should you take: review and read-only access?#

Treat the agent's output as a draft that an accountant or finance lead reviews before any entry is posted. The agent finds and explains differences; a person decides which ones are errors and how to correct them.

Practical safeguards:

  • Give the agent read-only access to source files and write access only to the results tab.
  • Keep the original statement and ledger exports unchanged.
  • Ask the agent to explain each match it is unsure about instead of forcing a pairing.
  • Before the agent sends, deletes, or changes anything in your systems, it asks for confirmation and shows the steps it took.
  • Check the task history if a number looks wrong. It records the request, every tool used, and the result.

Your company's content is not used to train models, and each company has its own separate database. For models that keep nothing after answering, the Models screen offers a zero-retention option.

If reconciliation is one of several finance routines you want to automate, read AI agents for finance teams: what to automate first to decide the order.

Frequently asked questions#

Do I need a direct connection to my bank?#

No. This approach works with exports you download from your bank and your accounting system, stored in Google Sheets or Google Drive. The agent reads those files rather than your bank account.

Can the agent post corrections to my accounting system?#

It can only use the systems and actions you allow for that agent. For reconciliation, a safe setup is read-only on the source files and write access to a results tab, with a person making the actual corrections.

What if my bank only gives me PDF statements?#

PDFs can be read, but spreadsheet formats such as CSV or Excel give more consistent results. If you must use PDFs, check the extracted lines against the original before trusting the match.

How do I make the process repeatable every month?#

Save your rules in a skill or in the Brain, keep the same sheet structure each month, and schedule a routine that prepares the draft on a set day. You then only review the exceptions.

Is this a replacement for my accounting software?#

No. The agent works on top of the files and systems you already use. Your accounting software remains the system of record.

Related guides

More Finance guides