Clean a Shopify Payments transactions CSV export

The transactions export of a Shopify Payments payout has one line per charge, refund or adjustment, with a timestamp, the card and payout columns, and the amount, the fee and the net at the end. 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 Shopify Payments transactions CSV

The cleaner looks for the Transaction Date, Amount, Fee and Net columns 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 Shopify 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.

Shopify can change the columns of this export, 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 Shopify Payments transactions layout with invented values, was read by the same engine file: rows in 10, rows out 10. Its header line is the list of columns the Shopify Help Center gives for this export. The way it writes the amount, the fee and the net (numbers with a decimal point, a minus sign on a refund and a fee without a sign) is an assumption of that sample, not something Shopify 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 a Shopify Payments transactions CSV looks like

The header line this page was written from names these columns, in this order: Transaction Date, Type, Order, Card Brand, Card Source, Payout Status, Payout Date, Available On, Amount, Fee and Net.

Each line is one movement of a payout: a charge, a refund or an adjustment. The transaction date is a timestamp with a time and a time zone offset, such as 2024-05-02 10:15:42 -0400. The amount is what the customer paid, the fee is what the payment cost, and the net is the difference between the two. This is the transactions export of Shopify Payments, not the orders export of the shop.

What the cleaner changes in a Shopify Payments export

Look at the fee and net columns in the preview of your own file before you rely on them: the sign of the fee in your export may not be the one of the sample below.

Dates, amounts, fees and net of the Shopify-layout sample

The first and the last line of the synthetic sample in the Shopify Payments transactions layout. All values are invented.
Transaction Date in the exportAmount in the exportFee in the exportNet in the exportdate in the cleaned fileamount in the cleaned filefee in the cleaned filenet in the cleaned file
2024-05-02 10:15:42 -040048.001.6946.312024-05-0248.001.6946.31
2024-05-29 15:57:44 -040064.502.1762.332024-05-2964.502.1762.33

How to do the same by hand in a spreadsheet

These steps work in Excel, Google Sheets and LibreOffice Calc. The formula below uses a placeholder column letter: Transaction Date in A. Read your own header row and change the letter to match.

  1. Work on a copy and keep the downloaded file untouched.
  2. Import the Transaction Date column as text. A spreadsheet that reads the timestamp by itself may drop the offset or shift the time. 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.
  3. Cut the date out of the timestamp. With the timestamp as text in A2, =LEFT(A2,10) turns 2024-05-02 10:15:42 -0400 into 2024-05-02.
  4. Keep the columns you need (the new date, Type, Order, Amount, Fee, Net) and delete the others, after checking that none of them holds something your books require.
  5. Check one line by eye: the amount minus the fee should be the net when the fee is written without a sign.
  6. Look at repeated rows before removing them. Two charges of the same amount on one day carry different timestamps or order numbers, and both should stay.
  7. Paste 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.