Refunds, returns and damaged stock

What Landara does with a Shopify refund when restock is ticked and when it is not, and how to correct the cost when a returned item was damaged, lost or replaced.

Updated 2 December 2026

When you refund an order in Shopify, there is one box that decides what happens to the stock: Restock item. Landara follows that box. It never asks you to confirm a refund, because the usual answer is already the right one. The Returns page (Costs > Returns) is where you correct the cases where it is not.

The one rule behind everything

A refunded unit always answers to its own sale. If an order cost you $50 a unit when it shipped, that unit comes back at $50, not at whatever your newest or oldest stock cost. And if it is written off, it is written off at $50 too.

That is what keeps your cost of goods sold honest across months: the sale and its reversal carry the same cost, so they cancel exactly.

Restock ticked

Shopify puts the unit back in stock. Landara books it back at its sale's cost, so cost of goods sold goes down by that amount and your stock value goes up by it. There is nothing to do.

The exception is a unit you ticked back in that is not really sellable: it came back damaged, or it never came back at all. Shopify now counts a unit you do not have.

On Costs > Returns, under Restocked in Shopify, use Write off… on that refund. Landara takes it out at the cost it came back at and records the loss as damaged stock. Shopify needs the same unit taken off, and you choose who does it:

  • Write off and update Shopify: Landara adjusts Shopify for you (reason: damaged).
  • I'll update Shopify: you do it in Shopify yourself. The refund stays at the top of the Returns page until you click Done in Shopify.

Do not take the unit off in Shopify and book that difference in Reconcile. Reconcile takes a loss at your oldest stock's cost, not at the cost this unit came back at, and a later write-off from Returns would take the same unit a second time. Reconcile shows a note on the row when a recent return could explain it.

Restock not ticked

Shopify does not put anything back, so the unit's cost stays in cost of goods sold. That is right when:

  • the customer kept the item, or it was never sent back,
  • it was lost in the post, or
  • you sent a replacement and did not want the original back.

There is nothing to do. Under Refunded, not restocked, you may answer a refund if one of these happened instead:

What happenedUseCost of goods soldShopify
It came back fine and is going on sale againIt came back…Goes down by its sale's cost, today1 added (reason: restock), by Landara or by you
It was damaged or lost, and you want it shown as damaged stock rather than cost of goods soldWrite off…Goes down by its sale's cost, and damaged stock goes up by the same, todayNot changed

A write-off here books the unit back and takes it straight out again. The quantity nets to nothing, which is right: nothing physically came back into stock, so Shopify never needs to hear about it. What changes is where the cost sits.

A worked example: a broken item and a replacement

On 1 October you sell an item for $100. It cost you $50. October shows $50 of profit.

In November the customer says it arrived broken. You refund the $100 without ticking restock, because you do not want it back, and you send a replacement on a $0 order. That replacement is another $50 unit leaving the building.

RevenueCost of goods soldDamaged stockProfit
October: the sale$100$50$50
November: refund, then Write off…−$100−$50$50
November: replacement at $0$0$50
November−$100$0$50−$150
Both months$0$50$50−$100

You lost $100, two units at $50, and that is what the two months add up to. The write-off is dated when you make it, so October, which may already be closed and posted, is never reopened.

If you leave the refund alone instead, the totals are the same: the only difference is that both units show as cost of goods sold rather than one of them as damaged stock.

On the COGS report you can mark the $0 order as a Replacement, so a sale with a cost and no revenue reads as what it is.

Returns made with Shopify's return flow

Shopify's Return button (rather than a plain refund) works the same way in Landara. When you process a return and choose Restock, Shopify sends the restock with the refund, and Landara books the unit back at its sale's cost. You can restock now and refund later: the unit comes back once, however Shopify records it.

Why it came back. The return reason you or your customer chose, and the customer's note, show under each return on Costs > Returns. Landara needs permission to read returns for this: Shopify asks for it the next time you open Landara from your Shopify admin, and the banner in Landara has an Approve in Shopify button.

Exchanges. An exchange is a return plus a new item on the same order. The returned unit follows the rules above. The new item is a sale in its own right, dated when it was added to the order, not when the order was first placed, so it lands in the month it actually went out.

Why the tick matters

Shopify is the record of how many you hold, and Landara puts a cost on what Shopify reports. So the tick is the moment that decides whether the unit is back in stock. Ticking it when the item is not really sellable, or leaving it unticked when the item is on the shelf, leaves Shopify's count wrong, and those are the two cases the Returns page exists to correct, at the right cost.

Related articles

5.0 from 7 reviews on the Shopify App Store
“Landara has made it much easier to keep track of my actual product costs. I really like that it takes things like shipping and duties into account instead of just showing the basic cost. Simple app, easy to use, and I’m already getting a much clearer idea of my real margins.”
Panther Products
Verified review on the Shopify App Store
“Landara has made it much easier to understand our true product costs. Being able to factor in freight, duties, and other landed costs gives us a much clearer view of COGS and margins. Simple setup, less spreadsheet work, and genuinely useful.”
NOVAFITNESS
Verified review on the Shopify App Store
“Landara has made tracking our true inventory costs much easier and more accurate. The landed-cost feature helps us include freight, duties, and other expenses, while FIFO tracking gives us a clearer view of COGS, inventory value, and profit margins. The app is simple to use, saves time, and is especially useful for Shopify stores that import products or deal with changing supplier and shipping costs.”
Min butikk
Verified review on the Shopify App Store
“I installed Landara because I was getting tired of guessing what my inventory was actually costing me. What I liked most was being able to see the product cost together with things like shipping and duties, I've been trying to keep a closer eye on my margins, so having those costs in one place has made things much easier for me. It didn't take me long to get setup either, which was a nice bonus.”
Linssan Inc
Verified review on the Shopify App Store
“I usually have to keep track of different inventory costs myself, so having the app handle that is a big relief. It makes much more sense of my actual COGS, especially when I’m buying the same product at different”
John unisex collection
Verified review on the Shopify App Store
“I honestly didn’t expect Landara to make this part of my store that much easier. I installed it mainly to get a better handle on my actual product costs, and I was pleasantly surprised by how everything comes together. I’m still exploring it, but so far it’s been really useful and I’m impressed with how it works.”
BLIS FULL SKIN
Verified review on the Shopify App Store
“I've just started using Landara, and so far I'm impressed with how it handles landed costs. I especially like being able to account for things like freight and duty instead of treating the supplier price as the whole cost. Still exploring the app, but it already looks like it could save me a lot of spreadsheet work.”
Tollpatsch Stoffe und Handmade
Verified review on the Shopify App Store
Read the reviews on the Shopify App Store

Know your true costs

Landara extracts your documents and costs every order automatically. Start free.