Skip to the page
extrua
← Guides

How to clean up a messy Xero file

By Stephen Billingsly · Updated

Run the free Books Diagnostic (opens in a new tab)

Free, no card. Your live Xero is never touched.

Key takeaways

  • Work on a read-only export or copy, never the live file. Your live Xero keeps running and you apply an agreed list of corrections at the end.
  • Trust the bank: for each real deposit, work out which invoice it paid, using the downloaded bank statement rather than only the live feed.
  • Five things break a Xero file without anyone noticing: income counted twice, a clearing account that never clears, force-matched reconciliations, payments deleted in a previous fix, and blanket write-offs.
  • Reverse problems by name with an offsetting entry that references the original, not a blanket write-off. That gives a complete audit trail and keeps each period accurate.
In this guide

    Duplicate invoices, income counted twice, a clearing account nobody understands, a bank reconciliation that never quite balances. If your Xero file has drifted from reality, here’s how to bring it back calmly, without touching your live books.

    A lot of messes start with a fix made live: a payment deleted, a reconciliation forced, an entry added to make a number match.

    Rule one: work on a copy, never the live file

    The fastest way to turn a messy Xero file into a disaster is to start “fixing” it live. Delete the wrong payment, force a reconciliation, or bulk-edit a clearing account and you can make the numbers worse in ways that are painful to unwind. So before you change anything: export your data (or take a clone) and do all the investigation on that copy. Your live file keeps running. You only apply changes once you know exactly what each one does and why.

    Rule two: the bank is the truth

    Your accounting software can be wrong. Your bank statement can’t: money either came in or it didn’t. Every cleanup should work backwards from the bank: for each real deposit, which invoice (or invoices) did it pay? Anything in Xero that doesn’t tie back to a real bank movement is a candidate problem. Use the downloaded bank statement (the PDF, not only the live feed, which has gaps and timing quirks) as your source of truth.

    The five things that break a Xero file

    • Income counted twice. A payment recorded against the invoice, then again when the bank deposit (or a processor payout) lands. See how to find phantom income.
    • A clearing account that never clears. An “undeposited funds” or clearing account that’s collected entries for months or years. See how to clear it back to zero.
    • Force-matched reconciliations. Statement lines matched to whatever had the same amount, not the actual transaction. See why the bank stops matching.
    • Payments deleted in a previous fix. Leaving invoices falsely showing as unpaid, a close cousin of duplicate invoices.
    • Blanket write-offs. The variance gets dumped into a single adjustment so the balance “matches”, but now nobody can see what was wrong.

    A safe order to fix it in

    1. 1. Pull everything. Bank statement, the full Xero export, and every payment-processor history. Put them side by side.
    2. 2. Cross-reference. Match each entry against every other source. The unmatched items on each side are your investigation list.
    3. 3. Classify before you touch anything. Tag each entry: keep, duplicate, phantom, migrate, or investigate. Don’t action anything you’re unsure of.
    4. 4. Reverse by name, not in bulk (see below).
    5. 5. Verify against the bank. When you’re done, the file should match the real bank balance to the cent.

    Reverse problems by name, not with a blanket write-off

    Named reversals are what get a cleanup through an accountant’s review. Xero won’t let you delete a reconciled transaction until it’s been unreconciled, and deleting it would erase the trail anyway. The safe pattern is an offsetting entry that references the original (same amount, same account, backdated to the original period). That cancels the problem with a complete audit trail and keeps your P&L accurate for each period. A single blanket adjustment hides the problem; named reversals show your working.

    One caution before you backdate anything: if the original period sits inside a BAS that’s already been lodged, or behind a lock date, talk to your accountant or registered BAS agent first. A backdated entry changes figures that have already been reported, and how that gets corrected is their call. If you suspect GST was over-reported, start with why a BAS ends up overstating GST.

    What to send your bookkeeper or accountant

    Whether you finish the job yourself or hand it over, a tidy pack saves hours of back-and-forth. Before the first conversation, gather:

    • Bank statement PDFs for every bank and credit-card account, covering the whole period you think is wrong, plus a month either side.
    • Payment-processor payout reports (Stripe, Square and the like), showing what was charged, what was taken in fees and what landed in the bank. See why payouts don’t reconcile.
    • The BAS periods already lodged, and any lock date set in Xero, so nobody posts into a closed period by accident.
    • The history of past fixes: who changed what, roughly when, and why. Deleted payments and old write-offs are much easier to find when someone remembers making them.
    • Any account you can’t explain: a clearing account, a suspense account or a Historical Adjustment balance, with its current balance.
    • Your own suspect list: the customers, months or accounts that feel wrong. A hunch is a good place to start the cross-reference.

    When to get help

    A few months of drift you can usually work through yourself. Years of it (a clearing account in the tens of thousands, a BAS you suspect is overstated, a previous fix that made things worse) is what Extrua Reconcile is built for: it finds what’s wrong on a read-only copy and prepares each fix with the evidence behind it, for you or your accountant to apply. Paid cleanups aren’t on sale yet; the free Books Diagnostic is the place to start.

    See what this looked like on a real file: the $56k cleanup case study.

    Comparing tools?

    Books drifted too far to face?

    It’s free, with no card and no login. Tell Reconcile what’s going on with your books and get a plain-English diagnosis and a recommendation. Your file is never touched.

    FAQ

    Can you clean up Xero without affecting my live file?

    Yes. The safe way is to work on a read-only export or copy of your data. Your live Xero keeps running exactly as it is, and you apply an agreed list of corrections at the end. Nothing is changed behind your back.

    Why doesn't my Xero balance match my bank?

    Almost always because income or payments were recorded more than once, a clearing account collected entries that were never cleared, or bank-rec lines were force-matched. The fix is to trace every real bank deposit to the invoice it paid.

    How long does a Xero cleanup take?

    A focused cleanup of a couple of years of mess is usually days, not weeks, provided you work from the bank statement as the source of truth and reverse problems by name rather than with blanket write-offs.

    What should I give my accountant before a Xero cleanup?

    The bank statement PDFs for the whole period, every payment-processor payout report, a list of the lodged BAS periods and any lock date, the history of past fixes, and a short list of what you already suspect is wrong. That turns the first conversation into a scoping session rather than a fishing trip.