Clean an eBay transaction report CSV

An eBay transaction report saved as a CSV starts with a few descriptive lines, then has one line per order, refund, shipping label or fee, with dozens of columns, empty cells written as two hyphens and dates written with the month in letters. Choose the file below: the page cleans it in your browser, shows the first 20 cleaned rows and lists every line it left out, with the reason.

Clean your eBay transaction report CSV

The cleaner finds the columns by their names in the header row and writes eight fixed columns: date, description, amount, currency, fee, net, reference and source. The file is read with the general bank layout of this site; there is no layout written for eBay alone.

Your file is read in your browser and is never uploaded, stored or logged. It is held in the memory of this tab only, and closing or reloading the page discards it. Operator: Augeo. See the privacy notice.

eBay lets a seller choose the columns of the report and can change them, and this page makes no promise about yours: the free preview shows what it does to your file. If the header names are not recognised, the page says so and outputs nothing.

The cleaning logic is checked by an automated test script that runs the engine file of this site over six synthetic sample files and a set of checks of the parsing rules; it ran in a sandbox before this site was published and finished with no failed check. The script does not open this page in a browser, does not test the licence key step, and nothing was tested against a real export from any provider. Use the free preview to check your own file.

One more synthetic sample, written in the eBay transaction report layout with invented values, was read by the same engine file: rows in 11, rows out 11. In that run the header was found on line 5, below three lines above the header, and no date order had to be chosen. The date was taken from the Transaction creation date column, the amount from Gross transaction amount and the net from Net amount; the fee was left empty, the description came from Description and the reference from Transaction ID.

The header line of that sample follows the column names that an eBay seller listed in eBay's own community forum, and the lines above the header follow what that thread says about the descriptive lines before the field names. No help page published by eBay that gives the column order could be read. The values, the way empty cells are written and the three lines above the header are assumptions of that sample, not something eBay has published, so your file may differ.

Download the full cleaned file

  • Price: 6 USD, paid once on Gumroad. No subscription. You receive a licence key.
  • What the key unlocks: the download of every cleaned row of the file you chose, as one CSV named after your file with -cleaned.csv at the end, instead of the first 20 rows on screen. The report and the way files are read stay the same.
  • The key is for one buyer. Runs are not counted and no number of runs is promised. The key is kept in the memory of this page only, so you enter it again after closing or reloading the page.
  • Refunds are requested through your Gumroad receipt and follow Gumroad's refund policy.
  • Try the free preview first. If the preview cannot read your file, the full download cannot either.

Get a licence key on Gumroad for 6 USD

Prefer a file you keep? Offline CSV cleaner, single HTML file, 6 USD on Gumroad. The offline file was built from an earlier version of the engine, and its build self-check covered the six original sample layouts (PayPal activity, Etsy sold orders, Etsy monthly statement and three bank layouts); it does not include the later Fee/Net column reading used for the Stripe, Shopify, eBay and Square pages. The offline file was not checked against the layout of this page.

What an eBay transaction report CSV looks like

The sample starts with three descriptive lines: a title, the report period and the seller name. The header row comes next, on line 5. Its first column is Transaction creation date and its last is Description. In between are the Type, the order number, buyer and shipping columns, the payout columns, the item columns, five fee columns and the Gross transaction amount.

Each line of the sample is one movement of the account: an order, a refund, a shipping label or a fee that belongs to no order. Dates are written like 01-Mar-2024. A cell with nothing to say holds two hyphens.

What the cleaner changes in an eBay transaction report

Dates and amounts of the eBay-layout sample

Four lines of the synthetic sample in the eBay transaction report layout: an order, a refund, a shipping label and an order. All values are invented.
Transaction creation date in the exportGross transaction amount in the exportNet amount in the exportdate in the cleaned fileamount in the cleaned filenet in the cleaned file
01-Mar-202448.0041.342024-03-0148.0041.34
06-Mar-2024-48.00-41.642024-03-06-48.00-41.64
08-Mar-2024-7.85-7.852024-03-08-7.85-7.85
28-Mar-2024100.0086.452024-03-28100.0086.45

How to do the same by hand in a spreadsheet

These steps work in Excel, Google Sheets and LibreOffice Calc. Read your own header row to find which column holds what.

  1. Work on a copy and keep the downloaded file untouched.
  2. Delete the descriptive lines above the header row so that the column names are on the first line.
  3. Import the date column as text. A spreadsheet may read 01-Mar-2024 in the date format of its own locale. In LibreOffice Calc set the column to Text in the Text Import dialog. In Excel use Data, From Text/CSV, Transform Data, and set the column type to Text.
  4. Write the date as year-month-day. Replace the month name with its number and put the year first, so that 01-Mar-2024 becomes 2024-03-01.
  5. Keep the columns you need (the creation date, the gross amount, the net amount, the transaction ID and the description) and delete the others, after checking that none of them holds something your books require.
  6. Replace the two hyphens in empty cells with nothing, so that a figure column holds only numbers.
  7. Paste the formulas back as values and save as CSV UTF-8. Then open the saved file in a text editor and read one line.

Notices

Other exports

Report a problem — tell us what failed; we reply to your email when it is fixed.