Import marketplace sales into Xero with the manual journal CSV
Xero can import manual journals from its CSV template. For resellers on Poshmark, Depop, Mercari, Whatnot, eBay or Etsy, that is a practical way to book a month of sales, fees and payouts without typing every line. The template is strict, though, and it works differently from QuickBooks. Here is what Xero's own help page says, and how to get a marketplace file through it.
What Xero requires (from Xero Central)
From Xero's Add, import and post manual journals article, read December 3, 2026:
- Who can import: the administrator role, or standard + manual journals.
- Where: Accounting → Manual journals → Import → Download template file. Fill it in, save as
.csv, then Browse, Import, review the message and Complete Import. - Don't change the column headings in the template. Xero warns that this makes the import fail.
- Up to 300 lines per template file (you can add lines in Xero afterwards).
- Imports create draft journals. Post them from the Draft tab, where you can select several at once.
- Base currency only if your plan has multicurrency.
Field rules
| Template field | Rule |
|---|---|
| Narration | Required. Put it on the first row of each journal and leave it blank on that journal's other rows. |
| Date | Required, first row only. Format dd mmm yyyy or dd/mm/yyyy (for example 30 Jun 2019 or 30/06/2019). Both formats put the day first. |
| Description | Optional, per line. |
| AccountCode | The account code only, not the name (for example 200). Some system accounts can't be used in a manual journal. |
| TaxRate | The full tax rate name as it appears in your Xero tax settings. You can import without one, but must add it before posting. |
| Amount | Required. Debits positive, credits negative. Total debits must equal total credits before you can post. |
| TrackingName1/2, TrackingOption1/2 | Optional. Enter both the category name and option exactly as in Xero. |
If both the date and narration cells on a row are blank, Xero treats that row as part of the journal above it. That is how one sale becomes one multi-line journal.
A balanced marketplace journal
Invented example, not a real seller. Made-up numbers: a $40.00 Mercari sale with a $4.00 selling fee and a $1.50 processing fee (amounts picked for easy arithmetic, not Mercari's fee schedule), then a $34.50 payout four days later. The rows below are exactly what PayoutBooks writes for that entry.
| Account | Debit | Credit |
|---|---|---|
| Mercari Clearing | $34.50 | |
| Marketplace Fees | $4.00 | |
| Payment Processing Fees | $1.50 | |
| Sales | $40.00 | |
| Total | $40.00 | $40.00 |
The Xero CSV for the sale and the payout. Account codes here are example codes; yours will differ:
*Narration,*Date,Description,*AccountCode,*TaxRate,*Amount,TrackingName1,TrackingOption1,TrackingName2,TrackingOption2
MER-1001 Mercari order (example),14 Nov 2026,Net to Mercari balance,613,Tax Exempt,34.50,,,,
,,Selling fee,404,Tax Exempt,4.00,,,,
,,Processing fee,405,Tax Exempt,1.50,,,,
,,Item price,200,Tax Exempt,-40.00,,,,
MER-PAY-1 Mercari payout (example),18 Nov 2026,Payout to bank,090,Tax Exempt,34.50,,,,
,,Payout to bank,613,Tax Exempt,-34.50,,,,
Credits are negative, each journal sums to zero, and only the first row of each journal has a narration and date.
How PayoutBooks builds this file
- Converts your marketplace exports into balanced journals, then writes the Xero columns in the order shown above, with dates as
dd Mmm yyyy. - Needs an account name = code map. The app pre-fills example codes; replace them with the codes from your own chart of accounts. It refuses to build the file if any account has no code.
- Writes the tax rate as
Tax Exempt. If your organisation's no-tax rate has a different name, find-and-replace it in the CSV before importing. - Splits large exports into files of at most 300 lines without splitting a journal, and stops if an entry isn't in your base currency.
- The header row marks required fields with
*(*Narration,*Dateand so on). Xero's help page names the fields but doesn't show the template's exact heading text, and it says not to change headings, so compare our first row with the template downloaded from your own organisation before your first import.
Common problems
- Import fails straight away: a heading was changed, or the file wasn't saved as CSV.
- Journal won't post: debits and credits don't net to zero, a tax rate is missing, or the line uses a system account Xero blocks in manual journals.
- Lines merged into the wrong journal: a row has a blank date and narration when it should start a new journal.
Try PayoutBooks free, no signup Check a CSV first Buy Seller — $29/year
First 50 transactions are free. Your files are processed in the browser and are not uploaded. Not tax advice: this is a bookkeeping walkthrough.
FAQ
How many lines can I import into Xero at once?
Xero says you can import up to 300 lines in one manual journal template file. Split bigger months into several files.
Do I enter credits as negative numbers in the Xero import?
Yes. Xero says to enter debit amounts as positive and credit amounts as negative numbers. Total debits must equal total credits before the journal can be posted.
Are imported Xero manual journals posted automatically?
No. The import creates draft journals. Post them from the Draft tab in Manual journals.
What date format does the Xero manual journal import use?
Xero accepts dd mmm yyyy or dd/mm/yyyy, for example 30 Jun 2019 or 30/06/2019. Put the date only on the first row of each journal.