Guides → Wrong account code on approved invoices and bills: a guide for Xero users
Wrong account code on approved invoices and bills: a guide for Xero users
Short answer: Xero's own find and recode usually fixes a wrong account code without any app. It changes the code on many invoice and bill lines at once, whatever their status. Edit in place when only a few are wrong, use a credit note when a sent invoice must be corrected on the record, and use Unapprove only when the documents have to come back as drafts.
Checked against Xero Central on 19 November 2026.
What you can change in place
- Approved and unpaid. Xero's page on editing an invoice says an awaiting payment invoice can be edited in any field. Its page on editing bills says the same for a bill with no part-payments or credit notes applied.
- Paid or part-paid invoices. Account is on the short list of fields you can change without removing the payment, so the code can be corrected with the payment in place.
- Paid bills. Xero names account code among the fields you can edit that don't affect the bill total.
- A locked period. Users can't edit transactions dated on or before a lock date (Set up or remove lock dates).
Many lines at once: find and recode
Xero's find and recode tool changes the account code on many lines in one go. It supports invoices and bills in every status from draft to paid, and needs the administrator role. You can recode the source transactions, or have Xero draft a manual journal and leave the originals showing their original details. Limits:
- About 200 lines at a time. Xero recommends no more than 200 lines, by one user at a time. A recode can't be undone, only recoded again or edited.
- Lines, not documents. Select every line of an invoice, or only part of it is recoded. If one line errors, none of that transaction's lines are recoded (Common issues for find and recode).
- Locked periods are view-only when a lock date applies to all users. Credit notes allocated to the invoice are recoded separately.
- Foreign currency lines can only be recoded through the source transaction option, and some system accounts can't be recoded.
Which fix fits
| Option | When it fits | What it keeps | Limits |
|---|---|---|---|
| Edit the document | A few documents | Same document, number and status | One at a time |
| Find and recode | Many lines, same new code | Same documents, recoded in place | Administrator role, about 200 lines, no undo |
| Credit note and new invoice | Sent invoice to correct on the record | Audit trail for you and the customer | Two new documents |
| Unapprove, then edit the drafts | Documents must return as drafts | Number, contact, dates, lines, tax, tracking, attachments | Skips paid, credited and locked documents |
When a credit note is better
Xero's page on deleting or voiding an invoice says to edit an invoice you haven't sent and to issue a credit note for one you have, so you and your customer keep an audit trail. A credit note can cover part or all of the amount outstanding (Create and approve a customer credit note), and you then raise the right invoice. If the code was wrong on lines of a sent invoice, check with your accountant whether the record needs that. The void or credit note guide compares the options.
The manual route, step by step
- Find the lines. In the Accounting menu, select Find and recode, then Find and recode. Add a condition such as Account, Contact or Date, and click Search.
- Check the period. Is any line behind a lock date? Those are view-only. Ask whoever set the date first.
- Check what is in scope. Look for credit notes, foreign currency lines and sent invoices, and decide each group's fix.
- Select the lines. Tick every line of each document you want to change, up to about 200.
- Recode. Click the arrow next to Recode and choose the method. Enter the new account, then click Review.
- Confirm and check. Click Confirm. In the Recode Summary, click this search to see what is left; lines you already recoded don't show.
For one invoice, open it from Sales > Invoices, click the menu icon, select Edit, change the account on each line and click Update. Xero says approved invoices can only be edited or voided one at a time (Approve and send an invoice).
Where Unapprove saves time
Unapprove is a web app that works with Xero. It does not change an account code and it does not touch your reports. It turns a selection of approved documents into drafts, so you can correct them in Xero's normal editor and approve them again.
- Select. Filter approved sales invoices and bills by date range, contact, number or reference; there is no account filter. The preview writes nothing.
- Draft copy. Each document becomes a draft with the same
number, contact, dates, lines, tax and tracking, and its attachments. The
account on each line is copied as it was, so you still have to change it. A
sales invoice's original is renamed with a
-Vsuffix and voided; a bill keeps its number on the copy. Both get a history note. - You correct, then approve. Fix the account on each draft; Xero approves several invoices at once from the list.
- Typed confirmation, for example
UNAPPROVE 37. The preview offers a CSV backup of the selection to download first.
It fits when the code is not the only fix, or each document should be approved again as a fresh draft. If only the account code is wrong, find and recode will be quicker and needs no new documents.
What it skips, and tells you why: documents with a payment applied (why) or a credit note allocated, documents in a locked period (why), and documents for an archived contact (why). For those, edit in place or use a credit note. A document with an attachment over 10 MB, or with more than 10 attachments, can only be voided: it gets no draft copy, and the preview says so. For US organisations it only voids and makes no copies. A void is permanent.
What access it asks for: your name and email to sign you in, read and write on invoices and bills, read and write on attachments, and read-only on organisation settings and contacts.
Price: free for 14 days, with unlimited previews and three documents processed in total. After that, $39 per month per connected organisation, or a one-off $49 Clean-up Pass for 30 days with up to 1,000 documents (larger jobs: $199 or $299). Prices in USD, excluding VAT / sales tax; Paddle adds any that applies at checkout. The pricing page has the details.
Connect and preview free See pricing
Questions
Can I change the account code on an approved invoice in Xero?
How many lines can find and recode change at once?
Can I undo a recode?
Will Unapprove change the account code for me?
Who makes Unapprove?
Related guides
- Bulk unapprove invoices and bills: a guide for Xero users
Compare the manual copy-and-void steps with a free batch preview for approved invoices and bills.
- Bulk void approved invoices and bills, or delete drafts: a guide for Xero users
Which documents can be deleted or voided in bulk, which only one at a time, and how to void a batch.
- Download all attachments and receipts: a guide for Xero users
The one-file-at-a-time routes, what they leave out, and how to get every attachment as dated ZIP folders.
- Bulk unapprove bills: a guide for Xero users
No unapprove for bills: when to edit instead, the manual route back to draft, and running it on a whole selection.
- Archive every receipt and attachment for record keeping: a guide for Xero users
Why keep your own copy, what the Xero exports leave out, and how to get every file out with an index.
- Year-end clean-up checklist for duplicate and misposted invoices: a guide for Xero users
Find duplicates and misposted lines before the lock date, then void or redo a large batch.
- Void paid invoices in bulk: a guide for Xero users
Remove the payment, then void: the manual steps, what to check first, and doing it for a batch.
- Undo a bad CSV import of invoices: a guide for Xero users
No undo button: delete the drafts, void or unapprove the approved ones, and what happens to the numbers.
- Write off many invoices and bad debts at once: a guide for Xero users
The credit-note method, its tax and lock-date catches, and clearing a whole selection with an undo.
- Send invoices and bills from awaiting approval back to draft: a guide for Xero users
What Xero offers for documents stuck in awaiting approval, and sending a batch back to draft.
- Invoice number already exists? Reuse the number of a voided invoice: a guide for Xero users
Find which invoice holds the number, why a voided number stays used, the rename-first order, and keeping numbers across a batch.
- Should you void an invoice or issue a credit note? A guide for Xero users
Edit, void or credit: what Xero says for each case, and what can be done in bulk.
- Repeating invoices approved or sent by mistake: a guide for Xero users
Fix the template first, then clear what it created, and why a sent email cannot be recalled.
- Duplicate invoices after a Shopify, Amazon, A2X or Link My Books sync: a guide for Xero users
Why sales syncs post twice, removing the copies by hand, and voiding a whole batch of approved ones.
- Invoices posted twice after a migration or conversion: a guide for Xero users
Conversion balances, open invoices that came across twice, and clearing the extra copies.
- Duplicate bills from Dext, Hubdoc or the bills inbox: a guide for Xero users
Xero's duplicate bill review, where it stops with paid bills, and clearing a large batch.
- An app sent invoices or bills in as approved instead of draft: a guide for Xero users
Change the app setting first, then take what it approved back to draft with the same numbers.
- Delete all invoices, or start over: a guide for Xero users
No reset button: delete the drafts, void the approved ones, or start a new organisation.
- Move invoices entered in the wrong organisation: a guide for Xero users
Export from one organisation, import into the other, carry the files across, void the originals.
- Wrong tax rate on approved invoices and bills: a guide for Xero users
Edit, find and recode, credit note or return adjustment for a wrong VAT or GST rate, and redoing a batch as drafts.
- Wrong contact on an approved invoice or bill: a guide for Xero users
What can be edited after approval or payment, what to do when Edit is blocked, and redoing a batch as drafts.
- Void an invoice that has a credit note allocated: a guide for Xero users
Why the void is blocked, taking the allocation off by hand, what to do with the credit note, and doing it for a batch.
- POS daily sales posted twice: a guide for Xero users
What Square, Lightspeed, Zettle, Epos Now and SumUp say they post, how a day goes in twice, and how to void the copies.
- Redo a migration whose open invoices and bills landed as approved: a guide for Xero users
Why migrated documents arrive approved, what the conversion balances need, the manual redo, and redoing a batch with the same numbers.
- Change the date on approved invoices and bills, one or many: a guide for Xero users
What can be edited after approval or payment, why dates have no bulk tool, credit note or edit, and redoing a batch as drafts.
- Wrong currency on an approved invoice: a guide for Xero users
What Xero says about editing the currency, credit note or void and re-create, multicurrency, and redoing a batch as drafts.
- Change tracking categories on an approved bill: a guide for Xero users
Edit in place, find and recode and its limits, when a draft copy is needed, and redoing a batch of bills as drafts.
- A bill approved under the wrong supplier: a guide for Xero users
Edit, find and recode the contact, credit note or void and copy for a wrong supplier, and redoing a batch as drafts.
- Download all invoice PDFs for a date range: a guide for Xero users
What Print gives you, why it is one combined PDF, and downloading one PDF per invoice for a From and To date.
- Export receipts and supporting documents for an audit: a guide for Xero users
What Xero exports for an auditor, what it leaves out, and pulling every attached file for a period with a manifest.
- Move bills back to draft, whatever their status: a guide for Xero users
Awaiting approval, approved or paid: which way back to draft applies, what Xero offers, and moving a batch.
- Delete or void a bill: a guide for Xero users
Delete drafts, void approved bills, take the payment off a paid one first, and void a batch of paid bills.
- Delete a payment on an invoice or bill: a guide for Xero users
Remove & Redo step by step, unreconcile or delete, batch payments, and removing payments before a void.
- How to allocate a credit note: a guide for Xero users
The Allocate Credit steps for customers and suppliers, why the option goes missing, and undoing a wrong allocation.
- Add attachments to many invoices at once: a guide for Xero users
One PDF per invoice, added by hand or from a folder named by invoice number, with a preview and exact matches only.
- Unapprove multiple sales invoices, step by step: a guide for Xero users
The void, copy and re-attach steps for sales invoices, one at a time, and where that runs out.
- Revert approved bills to draft: a guide for Xero users
Edit first, then copy, void and re-attach; bills can be voided in bulk, the rest is manual.
- Bulk void vs unapprove: a guide for Xero users
Void or unapprove: what each does, what Xero does in bulk, and how to choose.
- Fix wrong approved invoices after bank reconciliation: a guide for Xero users
Unreconcile or remove the payment, fix or replace the invoice, reconcile again.
- Pricing · Support