For bookkeepers
Fixing miscoded transactions in Xero before year-end
Year-end review is when the miscodes surface: a supplier that went to the wrong expense account all spring, a bank fee carrying GST, a subscription split across two accounts. Xero's find and recode tool changes the account, tax rate, contact or tracking on a batch of lines at once, which beats opening each transaction.
It also changes the books in bulk and can't be undone with a button. A short routine before and after each batch keeps the trial balance explainable.
What find and recode can and can't do
From Xero's help pages on find and recode, checked 27 Oct 2026:
- You need the administrator user role to use it.
- It changes individual transaction lines, not whole transactions. Once a line is recoded, the only way back is to recode it again or edit the transaction.
- There are two methods. Recoding the source transaction updates the original. Recoding with a manual journal creates a draft journal for you to post and adds a note to the original, which keeps its original details.
- When you change a tax rate, the line total stays the same and the unit amount changes in proportion to the new tax.
- Xero suggests one administrator recoding at a time and no more than 200 lines per batch, and waiting for each batch to finish before starting the next.
- Some system accounts can't be recoded, including accounts receivable, accounts payable, bank accounts, fixed assets and tracked inventory. Bank transfers, overpayments and voided transactions can't be searched or recoded at all.
- Lines in a period locked for all users show up in the search if you ask for them, but they're view only until the lock is removed.
- Foreign currency transactions can only be recoded through the source transaction, and a contact can't be changed through a manual journal.
Source transaction or manual journal
For lines in the current year, in a period you haven't reported on, recoding the source keeps the books simple: the transaction just shows the right account. For lines in a period you've already closed and delivered, a manual journal leaves the original as the client saw it and puts the correction in a dated entry you can point to. Use the source method when you need to change a contact or a foreign currency line, since the journal method can't do either.
A year-end recode routine
- Find the miscodes first. Run the account transactions report for the accounts that look off in the year-end review and note the pattern: same contact, same reference, same wrong tax rate.
- Save the trial balance for the fiscal year before you recode anything.
- Check the lock dates. If the all-users lock covers the dates you need, decide whether to move it back or post a journal in an open period instead.
- Search with conditions narrow enough that every result belongs in the batch, and keep each batch at 200 lines or fewer. Let it finish processing before the next one.
- Run the trial balance again. A pure account change should move amounts between the two accounts in your log and nothing else. A tax rate change also moves the GST/HST account and the net expense, because the line total stays fixed.
- Fix the cause. If the lines came from a bank rule or a repeating bill, correct the rule or the template too. Xero says a recode doesn't change the repeating template, so next month's copy will arrive miscoded again.
- Log each batch: search used, from and to account, from and to tax rate, method, date, and both trial balance checks.
When a recode touches a filed GST/HST period
Changing an account code alone doesn't change the tax. Changing a tax rate does, and if the GST/HST return for that reporting period is already filed, the books and the filed return now disagree. The CRA's guidance is not to file a new return for a period you've already filed. Changes go through the adjust a return option in the CRA business account, or by letter to the tax centre. Record the reporting period and the tax difference for whoever handles the client's returns, and decide with them before you move a lock that protects a filed period.
Slips that come up often
- A search that's too broad. "Any" instead of "All" in the conditions pulls in lines you didn't mean to move, and they can't be put back in one step.
- Recoding a pile of bank feed lines without changing the bank rule that coded them.
- Starting a second batch while the first is still processing, then finding the trial balance mid-update.
- Changing tax rates across a quarter that's already filed and finding out at the next return. The check column in the free recode log flags any finished batch that changed a tax rate in a filed period.
Free recode log
A CSV with one row per recode batch: the search you used, from and to account and tax rate, method, lock and filing status, and the before and after trial balance checks. The check column says whether to remove a lock first, finish the trial balance check, or note the change for a filed return. It opens in Google Sheets or Excel. The three sample rows are examples, so delete them before you start.
The rest of year-end
Recoding is cleanup before the real year-end work. YearEndStack is a December to February year-end pack for bookkeepers, Canada first: T4 and T5 working papers, a GST/HST year rollup, a slip register and packet templates, with an optional US 1099 module. It's a download of Sheets trackers and Notion CSVs, not filing software. US$59 on Gumroad.