How do I export all of my Xero data?
Xero has no single button for it. You export each area and each report on its own, starting with the general ledger.
| Record | Where to find it | What you get |
|---|---|---|
| General ledger (every entry in your books, in one list) | Accounting, then Accounting settings, then Export accounting data | CSV (a file that opens in Excel) or Excel, by date range |
| Chart of accounts (your list of accounts, like Rent or Sales) | Accounting, then Chart of accounts, then Export | CSV |
| Contacts | Contacts, then Export | CSV |
| Invoices and bills, with credit notes | The Sales or Purchases list, then Export | CSV |
| Fixed assets | Accounting, then Fixed assets, then Export | CSV |
| Inventory items | Products and services, then Export | CSV |
| Reports: Account Transactions, Payable Invoice Detail, Journal report | Accounting, then Reports, then Export | Excel, PDF or Google Sheets |
| History and notes (who changed what, and when) | Accounting, then Accounting tools | PDF or Excel, run by an admin |
| Files library | The Files screen | Download |
| Attachments on each invoice or bill | Open each record | One at a time |
Menu names can change. Keep to the order: ledger first, then lists, then reports.
Xero Central help pages, checked 19 Nov 2026.
The Account Transactions report lists every transaction, account by account. If you use more than one currency, show all columns before you export.
Read about the API route
An API is the way software asks Xero for records directly. Xero's API returns each invoice and its attachments one record at a time, with the numbers that link them.
A large company's history can take a few days to pull, so start early. We can pull everything with Xero's own export, its API or our connectors, working with your admin.
A connector is our software link that fetches records once your admin approves it. We are building connectors to tools like Xero, so records can be fetched automatically.
What happens to my Xero data after I cancel?
You keep full access for one month. Then the data is archived, and nobody can open it unless the subscriber pays to reactivate.
| Situation | What you can do | For how long |
|---|---|---|
| Paid plan cancelled | Full access for all users, and you are still billed | A 1-month notice period |
| After the notice month | Nothing. The data is archived and no one can open it | Until someone reactivates, up to 7 years |
| You need a look later | Reactivate, export, then cancel again | One paid month each time |
| Payroll, projects or expenses data later | Buy a plan that has that feature | Only while you pay |
| Read‑only plan | None. You can move to a cheaper plan instead | Not offered |
Xero Central and Xero FAQ, checked 19 Nov 2026.
Write down who the subscriber is
The subscriber is the person who pays for the Xero plan. Only they can cancel, and Xero may ask the original subscriber to reactivate. Write down who that is before anyone leaves.
Do not count on the archive, since opening it means paying again. If your team also used QuickBooks, read our QuickBooks export guide for what happens there after you cancel.
Are old Xero books worth money?
Often, yes. You do not need to export anything to get an estimate.
Work Data Lab is a New York company that buys company work records, removes personal details and licenses them to AI labs. Sellers are typically paid $50K to $2M, with no fees, when a lab pays.
- No fees and nothing upfront.
- You are paid when a lab pays, usually 30 days to 6 weeks after the sale.
- Most licenses are not exclusive, so you can be paid more than once.
- We check that a lab wants the data before we ask for a full export.
- 100+ companies sell their data with us, and we have paid $10M to partner companies.
| People | Indicative range |
|---|---|
| Under 50 | See your range in the estimate |
| 50 to 100 | $50K to $107K |
| 100 to 200 | $50K to $157K |
| 200 to 500 | $79K to $249K |
| 500 to 1,000 | $113K to $356K |
| 1,000+ | $181K to $570K |
Indicative, from our estimate. The range moves up with tools added in the dashboard, years of records, and records special to your trade.
Read why AI labs want accounting records and what company data is worth.
Read why real books are hard to find
Mercor buys company data for AI work. The company says value depends on how unusual the records are, how many years they cover, how much there is, and how records link across systems.
Mercor also built a test of AI on accounting work. It used made-up companies at month-end close. The company says most AI failures came from flawed reasoning.
Made-up books have no history of fixes. Real books with years of credit notes, voids and journals are hard to find, so labs pay for them.
What can a lab use, and what stays out?
Labs use the records that show how each sale moved: the quote, the invoice, any credit note, the payment, and manual journals with notes. Payroll, bank and card numbers, and tax IDs stay out of what we license.
What a lab can license
- Invoices and bills
- Credit notes
- Quotes and purchase orders
- Manual journals with notes
- History and notes, cleaned
- Attachments linked to records
- Chart of accounts
What stays out
- Payroll and pay history
- Per-employee pay lines from Gusto
- Social Security numbers
- Bank and card numbers
- Vendor tax IDs
A manual journal is an entry your accountant types in by hand, often with a note on why. Here is one before and after we remove personal details.
Credit to Ace Freight on claim 4471, moved per Dana Kim. Refund to bank 4410 2291.
- Labs see your company's name. Personal details in the records are removed.
- You check a cleaned sample and can remove anything, including customer and supplier names.
- Labs are barred by contract from identifying anyone.
- Xero's terms say Xero does not own the data you put in. Your company also has duties for the personal details in your books. Check this with your own lawyer.
- Read how de‑identification works.
Read the rules on payroll, bank, card and tax data
| Record | Rule | What it says |
|---|---|---|
| Card numbers | PCI DSS (the card industry's security standard for businesses that take cards) | Businesses that store card numbers must protect them. |
| Vendor bank details for ACH payments | Nacha rules (for companies that send more than 2 million ACH payments a year) | Those companies must make stored bank account numbers unreadable. Others should protect them too. |
| Vendor tax IDs and 1099 data | IRS Form W‑9 | Vendors give their tax ID on Form W‑9 for 1099 reporting. It identifies the vendor, so it stays out. |
| Payroll in Xero US | Xero, powered by Gusto | It holds Social Security numbers, W‑4 data and bank accounts. |
| Gusto entries posted into Xero | Gusto | Each pay run can post per-employee pay lines. Personal details are removed before anything ships. |
| Client tax data at a firm that prepares returns | Section 7216 | A tax return preparer may not share or use return details without the client's written consent, in the form IRS rules require. See accounting firms. |
PCI SSC, Nacha, IRS, Xero, Gusto and Cornell LII, checked 19 Nov 2026.
History and notes logs changes to supplier bank details. So we clean the log too, before anything ships.
For the full picture, read how to license safely. Check this with your own lawyer.
Can I download all attachments from Xero at once?
Not with one button. The Files library downloads in one go, but files on each invoice or bill come out one at a time.
- Download the Files library.Open Files and download everything there. Check every tab on the Files screen.
- List the records with files.Note which invoices and bills have attachments.
- Save a small set by hand.For a few dozen records, open each one and save its files.
- Ask us for years of bills.We pull them through Xero's API (the way software asks Xero for records) or our connector, with your admin. Start your estimate first.
- Keep an index file.One line per file: file name, invoice or bill number, date and contact.
Read why the index file matters
A receipt with no invoice number is just an image. Matched to its bill, it shows what was bought, from whom, and why the amount changed.
Labs value that match most. Keep the file name and the record number side by side in your index.
How do I save who changed what in Xero?
Use History and notes. It lists who created, edited or deleted each item, and when, and admins can export it to PDF or Excel.
- Sign in as an admin.An admin is a user with full rights in Xero. Other roles may not see this report.
- Open History and notes.Go to Accounting, then Accounting tools. Older menus call it Advanced.
- Filter one quarter at a time.Small date ranges keep each export easy to open.
- Export each quarter as Excel.Name it by date range, for example history-2021‑Q1.xlsx.
The log shows each void, each fix and who made it. Here is one month of it, around one freight claim.
- CreatedInvoice INV‑4471, by name.
- VoidedINV‑4470, a duplicate of INV‑4471.
- Credit noteCN‑0091 applied, 4 pallets short, claim 4471.
- Contact editedBank details changed by name.
- Journal postedMJ‑0318, note: claim 4471.
A lab can follow how a mistake was found and put right. Lines like the bank change are cleaned before anything ships.
How do I keep invoices, bills and files linked?
Keep the numbers, dates, notes and every file next to its record. A lab can then follow one sale from quote to payment.
- To
- name
- Line
- Freight, 40 pallets
- Credit note
- CN‑0091, 4 pallets short, claim 4471
- Attachment
- INV‑4471.pdf
- History
- Edited by name, 2021‑03‑18
- Keep invoice, bill and credit note numbers.
- Export quotes and purchase orders, even ones that never became invoices or bills.
- Keep manual journals with their narration, the note on why.
- Note which years came over from another tool, and keep close files kept outside Xero.
Which Xero user can run the exports?
An admin, for almost all of it. Payroll reports need payroll admin access, and only the subscriber can cancel.
| Xero role | What they can export |
|---|---|
| Admin | All lists, reports, History and notes, and the 1099 report (the yearly list of payments to contractors) |
| Viewer or report user | Reports they can view, print and export |
| Payroll admin | Payroll reports, which stay with you |
| Subscriber | Cancel and reactivate the plan |
Xero Central, user roles in Xero (US), checked 19 Nov 2026.
- Your admin runs the exports, or approves our connection.
- Our team helps your people with each step. We never ask for passwords.
- Everything is stored on secure servers.
How do I export from Sage 50, Sage Intacct or Sage Accounting?
Sage 50 makes one full backup file. Sage Intacct sends one file per record type. Sage Accounting exports reports.
| Product | Best full copy | Watch for |
|---|---|---|
| Sage 50 (US) | File, then Back Up. Tick the option to include attachments. | Import/Export gives one data type at a time. |
| Sage Intacct | Data Delivery Service: one CSV file per record type | Your Sage account manager must turn it on. Leave the employee file out. |
| Sage Accounting (cloud) | Reports to PDF or CSV. Invoices and credit notes as PDF. | Access locks when the plan ends. A 2022 Sage Canada help page says the account may be deleted 90 days later. |
Sage 50 (US), Sage Intacct and Sage Canada (updated Sep 2022) help pages, checked 19 Nov 2026.
Read the Sage details
- A Sage 50 backup is one file that ends in .ptb. It holds the whole company file.
- For lists you want to read in Excel, export Sage 50 data one area and one year at a time.
- Data Delivery Service sends each record type to your cloud storage as its own CSV file.
- It can send a full copy, or only what changed since the last run.
- We found no US figure for how long Sage Accounting keeps a closed account. Export before the plan ends.
What should I do before I cancel Xero?
Export everything during the notice month, check the files open, and write down who the subscriber is.
- Run the exports in the first table.Ledger first, one file per year, then the lists and the key reports with all columns.
- Save Pay History for each year.Keep it for your own files. It stays out of what we license.
- Export History and notes by quarter.As Excel, named by date range.
- Get the files out.Download the Files library, then match attachments to their records in your index file.
- Open a few files.Check that they read and that nothing is cut off.
- Store two copies.Write down the subscriber's name next to them.
If the company is closing, read selling records from a closed company and startups winding down. If it is being sold, read selling your business.
What happens after I start the estimate?
You see a range in about two minutes, with no email needed to see it. Then you book a 20-minute call, and our team helps your people with the export.
- 1Estimate
- 220-minute call
- 3NDA
- 4Agreement
- 5Export by your admin
- 6Clean and approve
- 7Paid
- The estimate asks two or three one‑tap questions. Then you add your work email and a 6-digit code.
- You book the call on the page, at no fee. We go through your books and how many years you have.
- Sign a mutual NDA first if you want one. Your admin runs the export, and we never change your books.
- You check a cleaned sample, and you are paid when a lab pays.
Read how to sell company data to AI, license vs sell and before you sign a data offer.
Common questions
What happens to my Xero data after I cancel?
You get one month of full access, and you are still billed. Then the data is archived. Nobody can open it unless the subscriber pays to reactivate, for up to seven years.
Does Xero have a read‑only plan?
No. You can move to a cheaper plan. Or you can reactivate later for a paid month and export then.
Who owns my Xero data?
Xero's terms say Xero does not own the data you put in, and the subscriber controls who can use the account. Your client contracts and privacy rules also matter. Check this with your own lawyer.
How do I back up Sage 50 or export from Sage Intacct?
In Sage 50, make a .ptb backup with attachments included. In Sage Intacct, use Data Delivery Service, which your account manager turns on.
Do payroll and bank details go to the AI lab?
No. Payroll, pay history, Social Security numbers, bank and card numbers and vendor tax IDs stay out of what we license. You keep them for your own records.
Do I need to export before I get an estimate?
No. The estimate asks how many people, how many years and your industry. We check that a lab wants the data before we ask for a full export.
Do you need our Xero login?
No. We never ask for passwords. Your admin runs the exports or approves our connection, and our team helps your people.
Who buys accounting records for AI?
AI labs buy them, directly or through data programs such as Mercor, which says on its blog that it buys company data. We license books like yours direct to labs. Read what labs buy and who buys company data.
Is Work Data Lab legit?
We are a New York company. 100+ companies sell their data with us, and we have paid $10M to partner companies, with no fees. See our facts and how we write these guides, or email hello@workdatalab.com.
Sources (24)
- About exporting data out of Xero, Xero Central.
- Export accounting data out of Xero, Xero Central.
- Export fixed assets, Xero Central.
- History and notes report, Xero Central.
- Cancel your Xero subscription, Xero Central.
- Suspend a subscription, Xero Central.
- User role access to reports, budgets and manual journals (US), Xero Central.
- Frequently asked questions, Xero.
- Terms of use, Xero.
- Data processing terms, Xero.
- Understanding online payroll, Xero.
- Set up Xero Payroll, Xero Central.
- Integrate with Xero, Gusto.
- Bank Account Changes Report (staff reply), Xero Product Ideas.
- Back Up Company Data, Sage 50 (US) help.
- Export Data from Sage 50, Sage 50 (US) help.
- Configure Data Delivery System, Sage Intacct.
- Cancel your Sage service, Sage (Canada).
- Your company is sitting on a new asset: its data, Mercor.
- Introducing the AI Productivity Index for Accounting, Mercor.
- Glossary, PCI Security Standards Council.
- Supplementing Data Security Requirements, Nacha.
- About Form W-9, IRS.
- 26 U.S. Code 7216, Cornell Law School, Legal Information Institute.
Figures about Work Data Lab come from our own records. Third-party figures link to their source and the date we checked it. Nothing on this page is legal or tax advice.