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.
Report
Warnings
Lines not parsed
Lines dropped
Preview of the cleaned rows
| line | date | description | amount | currency | fee | net | reference | source |
|---|
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
- The lines above the header are listed, not output. The three descriptive lines at the top are not transactions, so the page lists them with their line numbers under "Lines dropped".
- The date becomes a year-month-day date.
01-Mar-2024is written as2024-03-01. The date comes from the Transaction creation date column, not from the Payout date column. - The amount is the Gross transaction amount. That is the payment for the transaction before eBay's fees. A refund keeps its minus sign.
- The net is the Net amount column, written as the file has it. Take the net from the net column of the preview, not from a sum of your own.
- The fee column is left empty. The report has several fee columns and the cleaner does not add them up. If you need the fees, compare the amount with the net in the preview of your own file.
- The reference is the Transaction ID column and the description is the Description column. In the sample, orders have two hyphens in Description, so check what yours holds before you rely on it.
- The buyer, shipping and payout columns are not in the output. Names and addresses of buyers do not appear in the cleaned file.
- Exact repeated rows are dropped and listed with their line numbers, and a row whose amount is not a number is left out and listed under "Lines not parsed" with the reason. Nothing is turned into zero.
Dates and amounts of the eBay-layout sample
| Transaction creation date in the export | Gross transaction amount in the export | Net amount in the export | date in the cleaned file | amount in the cleaned file | net in the cleaned file |
|---|---|---|---|---|---|
| 01-Mar-2024 | 48.00 | 41.34 | 2024-03-01 | 48.00 | 41.34 |
| 06-Mar-2024 | -48.00 | -41.64 | 2024-03-06 | -48.00 | -41.64 |
| 08-Mar-2024 | -7.85 | -7.85 | 2024-03-08 | -7.85 | -7.85 |
| 28-Mar-2024 | 100.00 | 86.45 | 2024-03-28 | 100.00 | 86.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.
- Work on a copy and keep the downloaded file untouched.
- Delete the descriptive lines above the header row so that the column names are on the first line.
- Import the date column as text. A spreadsheet may read
01-Mar-2024in 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. - Write the date as year-month-day. Replace the month name with its number and put the year first, so that
01-Mar-2024becomes2024-03-01. - 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.
- Replace the two hyphens in empty cells with nothing, so that a figure column holds only numbers.
- 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
- Privacy: files are read in your browser and never uploaded, stored or logged. Operator: Augeo.
- Independent tool, not affiliated with eBay, Etsy, PayPal, QuickBooks or any bank, and not endorsed by any of them.
- Check the output before you use it. This is not accounting, tax or financial advice.
- Price of the full download: 6 USD one-time. The key is for one buyer. Refunds are requested through the Gumroad receipt.
- Only upload data you have the right to process. Choosing a file here does not send it anywhere, but you remain responsible for the data in it.
Other exports
- Clean a Square transactions CSV
- Clean an Etsy sold orders CSV
- Clean a PayPal activity CSV
- Remove the lines above the header of a CSV
- Convert month-name dates in a CSV to YYYY-MM-DD
- Clean an Etsy monthly statement CSV
- Rows in versus rows out: the count check
- Remove duplicate rows from a CSV export
- Any other CSV export of transactions