Shopify fees & refunds in Xero
How to record Shopify fees and refunds in Xero
Shopify deducts processing fees and completed refunds before sending each Shopify Payments deposit, which is why your bank deposit is lower than gross sales. Reconcilely posts one Xero invoice per Shopify Payments payout with gross sales, negative refund lines and negative Shopify fee lines already separated, so the invoice total equals your bank deposit.
Enjoy a 7-day free trial. Enter your shop domain to install Reconcilely.
4.6 stars from 73 Shopify App Store reviews · Plans from $9/month · 7-day free trial
Step-by-step setup
How to set up fee and refund accounting in Xero
Map your fee and refund accounts in Account Code Mappings
Open Mappings in Reconcilely and assign Expense accounts for Shopify Fees, Refunds Fee, Adjustments Fee Amount, Reserved Funds Fee Amount and Retried Payout Fee Amount (default R.Fees). Map Refunds and Tax Exempt Refunds to your sales or returns revenue accounts (default R.Sales and R.ZeroTax).
Keep Shopify Payments Consolidation enabled
In Direct Order Settings, keep Shopify Payments Consolidation turned on. Reconcilely reads every balance transaction in each payout, deducts Shopify processing fees as negative lines, and validates that the invoice total matches the payout deposit.
Apply cash refunds on negative-payout credit notes
When refunds exceed sales in a payout period and Shopify debits your bank account, Reconcilely sends an Accounts Receivable credit note (ACCRECCREDIT) to Xero. Open that credit note in Xero and record a cash refund to your bank account so the bank debit line turns green on your Reconcile tab.
Reconcile PayPal and external gateway fees and refunds
PayPal, Afterpay and Stripe orders export to Xero individually, and refunds on those orders send as individual credit notes (<Order #> Refund: <ID>). Reconcile PayPal fees via Xero's PayPal bank feed (match the order invoice to the sale line, code the separate fee line to Merchant Fees, and transfer withdrawals). On Unlimited ($99/mo), you can also enable Deduct Gateway Fees to apply a percentage and fixed fee formula onto non-Shopify-Payments invoices.
Interactive walkthrough
See a payout invoice with fees and refunds in Xero
Toggle between a standard positive payout invoice and a refund-heavy negative payout credit note, then compare how Shopify Payments and PayPal fees reconcile in Xero.
Shopify Payments payout
142 order charges, refunds, fees and FX rolled up
| Payout activity | Count | Net |
|---|---|---|
| Charges (taxable & exempt) | 138 | 5,615.05 |
| Refunds in payout | 3 | -180.00 |
| Gift card redemptions | 1 | -50.00 |
| Shopify processing fees | 142 | -131.66 |
| FX rounding difference | 4 | 0.95 |
Xero sales invoice (ACCREC)
To: Shopify Payments · Ref: 108421185 · Tax inclusive
| Line description | Account | Amount (AUD) |
|---|---|---|
| Gross Sales | R.Sales | 5,120.00 |
| Tax Exempt Sales | R.ZeroTax | 310.00 |
| Shipping Income | R.Ship | 185.05 |
| Refunds | R.Sales | -180.00 |
| Giftcards | R.Giftcard | -50.00 |
| Shopify Fees | R.Fees | -131.66 |
| Gains/Losses from Currency Exchange Rates | R.FxConv | 0.95 |
| Invoice total (matches bank deposit) | 5,254.34 | |
Example figures. Reconcilely consolidates only Shopify Payments payouts into a single Xero invoice (or a credit note when refunds exceed sales) whose total equals the bank transfer.
Checking account statement line vs Xero transaction
Xero matches the deposit amount and date to the consolidated payout invoice sent by Reconcilely. You click OK to confirm.
PayPal bank feed in Xero (order by order)
PayPal orders are never consolidated into payouts. Reconcilely sends one invoice per order, and you reconcile inside Xero's PayPal feed.
| PayPal feed line | Amount | How you reconcile in Xero |
|---|---|---|
| Sale · Order #1341 PayPal auth 9XK48210 | +425.95 | Match Direct-order invoice #1341 (paypal) |
| PayPal fee · Order #1341 Merchant processing fee | -14.98 | Bank rule Code to Merchant / PayPal Fees account |
| Withdrawal to checking PayPal balance sweep | -1,200.00 | Transfer Record as bank transfer to main checking |
Example figures. Shopify Payments deposits match one consolidated invoice per payout. PayPal orders go to Xero individually and reconcile through Xero's PayPal bank feed (match invoice, code fee, transfer withdrawal).
Reference contract
How each fee and refund type lands in Xero
| Transaction type | What Reconcilely creates in Xero | What you do in Xero | Plan |
|---|---|---|---|
| Shopify Payments processing fees & fee adjustments | Negative line items (Shopify Fees, Refunds Fee, Adjustments Fee Amount) on the consolidated payout invoice, coded to your mapped expense account (default R.Fees). | Click OK when Xero matches the payout invoice to your bank deposit. | All plans ($9/mo+) |
| Refunds inside a positive Shopify Payments payout | Negative lines on the payout invoice split between taxable Refunds (R.Sales), Tax Exempt Refunds (R.ZeroTax), shipping refunds and gift card adjustments. | Reconciles automatically inside the single payout match. | All plans ($9/mo+) |
| Negative Shopify Payments payout (refunds exceed sales) | An authorised Xero credit note (ACCRECCREDIT) to your Shopify Payments contact equal to the debit amount. | Open the credit note in Xero, apply a cash refund to your bank account, then click OK on the bank feed debit. | All plans ($9/mo+) |
| Refund on a PayPal, Afterpay or Stripe order | An individual Xero credit note numbered <Order #> Refund: <Refund ID>, preserving item lines, shipping refund adjustments and cent rounding. | Match the cash refund on the credit note against the gateway refund line in Xero. | All plans ($9/mo+) |
| PayPal processing fees | Full gross direct-order invoice for each PayPal order (Shopify's API does not expose external gateway payout fees). | Use Xero's PayPal bank feed: match the invoice to the gross sale line and code the PayPal fee line via a Xero bank rule. | All plans ($9/mo+) |
| Configured external gateway fees (Afterpay, Klarna, Stripe) | Optional negative <Gateway> Fees line on each direct-order invoice calculated from the percentage, fixed fee and tax-on-fee formula you enter in Gateway Fees. | Match net settlement lines against the fee-adjusted direct-order invoices. | Unlimited ($99/mo) |
What to keep in Shopify and Xero
- Record every return, refund or partial refund inside Shopify Admin. Refunds arranged by email or directly inside a gateway dashboard without a Shopify refund record are not visible to Reconcilely.
- Shopify subscription billing charges (your monthly Shopify plan and app bills) are billed to your card or bank separately by Shopify and are not part of Shopify Payments payouts; code those bills directly in Xero.
- Configured Gateway Fees on the Unlimited plan calculate fees from your entered percentage and fixed rate rather than live third-party settlement files, so check variable cross-border or tier surcharges against your gateway statement.
Shopify fees and refunds in Xero FAQ
Why does my Shopify bank deposit not match my Shopify sales report?
Does Reconcilely record gross sales or net sales in Xero?
What happens when a Shopify payout is negative?
Does Reconcilely pull PayPal or Afterpay fees from Shopify automatically?
How are gift card purchases and redemptions handled on refunds?
Connect Shopify to Xero today
Install Reconcilely, connect Xero, pick a start date. Invoices for orders and payouts start flowing the same day.
Enjoy a 7-day free trial. Enter your shop domain to install Reconcilely.