Skip to main content

How to separate Shopify sales in Xero by channel

If you want to see a breakdown of your Shopify sales by channel in Xero then this article is for you. (Not available for Quickbooks classes)

Daniel Little avatar
Written by Daniel Little
Updated over 2 weeks ago

This feature is currently in beta testing and if you have any feedback please contact [email protected]

Shopify channels help you to understand where your sales are coming from. Channels include the likes of:

  • Web Sale

  • Recharge Subscriptions

  • Shop App

  • One Click Upsell - Zipify OCU

These are just a handful of the possible channels you may have showing in your Shopify store.

Link My books now has built in functionality to be able to separate your Shopify sales by channel so that you can better understand where your sales revenues are coming from.

How does it work?

With this new feature enabled, Link My Books will automatically group your Shopify settlement summaries by channel.

We'll automatically create tracking codes in Xero for each of the different channels and then we'll apply those to the relevant lines of the settlement invoice we send to Xero.

Your current account mappings can remain the same, meaning you can still have all Shopify Sales assigned to your chosen sales account etc. as the tracking codes will be doing all the hard work for you.

Hers is what a settlement summary for Shopify would look like:

A Link My Books invoice summary screen for Shopify dated February 7, 2023, covering the period from February 7 to February 8, 2023. The total invoice amount is £695.77 and is marked "Ready to send." The breakdown includes multiple line items with descriptions, invoice amounts, account names, and tax rates. Examples include:  Sales shipped to the UK: £546.00 (20% VAT on Income)  Sales shipped outside the UK: £90.00 (Zero Rated Income)  Shopify shipping: £11.80 (20% VAT on Income)  Shopify fees: -£12.79 (Reverse Charge Expenses 20%)  A blue button on the right says "SEND INVOICE TO XERO."

If we hone in on the detail here you can see that all transactions are being separated by channel on separate lines in the summary invoice:

A screenshot of a Link My Books invoice breakdown, with red boxes highlighting specific text in the "Description" field. The highlighted words include “Web,” “Sale,” “Web Sale,” and “Shop App,” which appear throughout the line items. These terms differentiate between types of Shopify sales and fees, such as sales from the web storefront versus the Shop App. The layout shows invoice amounts, account names, and tax rates for each line.

The real magic happens when you send the settlement to Xero as then we add a tracking code to each of these lines with the name of the channel.

A Xero invoice entry screen for Shopify, dated 7 February 2023 with invoice number INV-0179. The invoice is marked as “Awaiting Payment” and totals £695.77, including VAT of £118.30. Line items include Shopify sales, shipping income, discounts, and fees. Each row displays the item description, quantity (all 1.00), unit price, account code (e.g., LMB30 - Shopify Sales), tax rate (e.g., 20% VAT on Income or Reverse Charge Expenses), and LMB tracking category such as “Shopify - Web Sale” or “Shopify - Shop App.” The invoice is set to "Tax Inclusive." Buttons for "Update" and "Cancel" appear at the bottom.

If we punch in we can see that the tracking codes are being applied to each of the different channels accordingly:

A cropped table from an invoice system showing Shopify-related sales and fees, with the "LMB Tracking" column highlighted in red. This column contains values like “Shopify - Web Sale” and “Shopify - Shop App.” The table also includes item descriptions, quantities (all 1.00), unit prices, account names (e.g., LMB30 - Shopify Sales), and tax rates such as “20% (VAT on Income)” and “Reverse Charge Expenses (20%).” The highlighted column visually distinguishes how different transactions are categorized for tracking within Link My Books.

How does it look in your P&L report?

If you run a P&L in Xero, by default it will show all your data together (not split by tracking category).

To run a P&L split by tracking category, follow these steps:

  1. From the Accounting menu, select Profit & Loss in the Accounting Reports section

  2. Select Compare LMB Tracking Codes format from the Common formats menu on the left menu

  3. Choose a Date range for your report and click Update

A screenshot of a Profit and Loss report in Xero for a custom date range of 28 February 2023. The report belongs to “LMB Demo Xero” and shows key figures under the Turnover section, including:  Shopify Refunds: (£195.83)  Shopify Sales: £536.37  Total Turnover and all profit metrics: £340.54  An arrow points to the left-hand sidebar where a custom report option titled “Compare LMB Tracking Codes” is listed under “Common formats.” Buttons for filtering, comparing, and updating the report are visible at the top.

You should end up with something that looks like this:

A Profit and Loss report from Xero for “LMB Demo Xero,” covering the period 7 February 2023. The report is split into two tracking categories: “Shopify - Shop App” and “Shopify - Web Sale,” with a total column for the day.  Turnover Section:  Shopify Sales: £55.00 (Shop App), £526.67 (Web Sale), £581.67 (Total)  Shopify Shipping: £0.00 (Shop App), £9.83 (Web Sale), £9.83 (Total)  Total Turnover: £55.00 (Shop App), £536.50 (Web Sale), £591.50 (Total)  Administrative Costs:  Shopify Fees: £1.24 (Shop App), £12.79 (Web Sale), £14.03 (Total)  Total Administrative Costs: same as above  Profit Metrics (Identical values across all):  Operating Profit: £53.76 (Shop App), £523.71 (Web Sale), £577.47 (Total)  Profit on Ordinary Activities Before Taxation: same values  Profit after Taxation: same values

Now you can see your figures from each of the different Shopify channels shown in their own column.

How do I set up this feature?

For now, this feature is in beta testing, so you'll need to get in touch with our support team and ask them to "enableShopifyChannelSplit". Once we do this then no further action is required on your side.

Your Shopify sales will be automatically separated by marketplace source and the tracking codes will be automatically created in your Xero account.

With this feature being in beta testing we ask that you report any bugs to our support team should you see them.

If you have any questions about this article or feedback on how we could make it better please reach out to the support team via the blue chat icon on the bottom right of the page or via email to [email protected].

Did this answer your question?