Caltru Ledger for Shopify
The same argument holds on any platform: a cost is a fact about a moment, and a store’s own reporting will tell it what it sold and not what it kept.
The Shopify app is in build. This page will say what it does when it does it.