Skip to main content
guest@lcCode:~$
CostLedger icon
Finances

CostLedger: track receipt costs and estimate Shopify COGS

See the receipt costs behind your margin reports. CostLedger keeps a dated cost ledger, shows its receipt-weighted calculation, and helps you review estimated monthly COGS and current inventory valuation. Record receipts manually or by CSV; Plus adds completed Shopify purchase-order PDF imports. Shopify’s Cost per item stays unchanged.

$ install costledger

Install on Shopify

// features

>Dated receipt costs

Record the date, quantity and unit cost of a receipt manually or by CSV. Review included and excluded amounts before recording a completed Shopify PO PDF on Plus.

>Inspect the cost calculation

Follow each variant’s cost timeline. The basis is cumulative receipt-weighted: receipt quantities and costs contribute to the average. This is not FIFO or lot-level costing.

>Estimated monthly COGS

Review a calendar-month estimate alongside order coverage, data freshness and uncosted units. It supports manual bookkeeping review; it is not a closed-period journal or exact refund-event accounting.

>Current inventory valuation

Value current on-hand stock at the ledger cost basis. Review uncosted units separately. The report is a point-in-time snapshot; exports are available on Plus.

>Review PO imports before recording

Plus previews completed Shopify PO PDFs, shows what contributes to cost, protects against duplicate receipts, and supports guarded receipt reversals. It does not write to Shopify’s Cost per item.

>Margin reports and alerts

Pro adds 30/60-day margin reports and email or Slack alerts. Plus adds ledger and report exports. Reports depend on the retained order evidence and cost history available.

// inside_the_app

Example screens with demonstration data. Select a screenshot to enlarge it.

Inspect dated receipt costs and their contribution to the cumulative weighted average. Sales do not deplete this weighting.
Review coverage, estimated units and uncosted units before relying on a report. Pro includes reports; Plus adds CSV export.
On Plus, review resolved SKUs and included merchandise costs before recording. Tax, shipping and fees are excluded in this example.
Check the as-of time and uncosted inventory. This is a point-in-time valuation, not a locked month-close report.

Screenshot preview

// pricing

free
$0

Free

For stores starting to track cost

  • ✓Up to 50 SKUs
  • ✓Cost ledger + variant timeline
  • ✓Manual entry & CSV import
  • ✓Receipt-weighted cost history
Install free
pro
Featured plan
$19/mo

Pro

For stores that live and die on margin

  • ✓Up to 500 SKUs
  • ✓Estimated monthly COGS & margins
  • ✓Inventory valuation
  • ✓Margin-squeeze alerts (email & Slack)
Start free trial
plus
$39/mo

Plus

For high-SKU stores that need the full record

  • ✓Everything in Pro
  • ✓Shopify PO PDF import and history
  • ✓Unlimited SKUs
  • ✓Ledger & report CSV exports
Start free trial

// how_it_works

workflow.log

From a receipt to a report you can inspect

Keep source receipts and review coverage before using a report in your bookkeeping process.

  1. step_01

    Record a receipt

    Enter a batch or map a CSV to the import template. On Plus, preview completed Shopify PO PDFs and confirm the included amounts.

  2. step_02

    Inspect the cost timeline

    Check dates, quantities and unit costs. The ledger exposes its receipt-weighted math; backdated or corrected records require another report review.

  3. step_03

    Review report coverage

    Check the report month, sync time, order coverage and uncosted units. Export on Plus for your own review; nothing posts automatically to accounting software.

receipt_example.csvsynthetic data
Illustrative receipt-weighted cost calculation, excluding any opening baseline
Receipt / resultFirst receiptCalculation10 units × $6 = $60ReviewCheck receipt date and cost
Receipt / resultSecond receiptCalculation10 units × $8 = $80ReviewTotal: 20 units, $140
Receipt / resultReceipt-weighted basisCalculation$140 ÷ 20 = $7 per unitReviewSales do not deplete this weighting

>Read the import and reporting guidance

// after_stocky

after_stocky.md

Stocky stopped managing inventory and its APIs stopped working on August 31, 2026. Shopify documents read-only export access for at least 90 days afterward. Preserve the records you need through Stocky’s built-in reports; do not rely on its retired APIs or assume an exact access-end date.

Start with the inventory and purchasing tools now included in Shopify. Add CostLedger if you need an inspectable receipt-cost history and estimated COGS reports. lcCode: RestockRadar provides a separate reorder dashboard and supplier-draft workflow; neither app is a complete Stocky clone.

>Move forward after the shutdown

  1. Export available reports and purchase-order records using Stocky’s built-in reports. Suppliers cannot be exported directly; reconstruct required supplier details from records you actually retain.
  2. Keep copies of source receipts and closing records. Historical Stocky records do not migrate automatically into Shopify.
  3. Map retained batch data to CostLedger’s CSV template. This is not a direct Stocky CSV importer: verify SKU, quantity, unit cost, dates and currency before recording.
  4. Review Shopify-seeded opening baselines before adding history so you do not double-count starting quantities. Follow the supported opening-balance workflow where appropriate.
  5. Check cost timelines and report coverage on representative SKUs. Estimated monthly COGS is not a locked accounting period; review it with your bookkeeper.

>Read the current Stocky export and migration checklist

// faq

?Does CostLedger change Shopify’s own costs or profit reports?
No. Shopify’s native profit reports snapshot cost at sale. CostLedger maintains its own dated receipt ledger and reports; it does not overwrite Shopify’s Cost per item or rewrite Shopify’s issued reports.
?Is monthly COGS an exact month-close journal?
No. It is an estimate for manual bookkeeping review, based on available order evidence and ledger costs. Coverage, current net quantities, refund handling, freshness and uncosted units can affect it. It is not a closed-period journal, exact refund-event accounting, or direct accounting-system import.
?How does the cost average work?
The ledger uses cumulative receipt-weighted costs: receipt quantities and unit costs contribute to the average. Sales do not deplete the quantities in that weighting. This is not FIFO or lot tracking. Review any opening baseline as well as subsequent receipts.
?Will past report totals always remain fixed?
Do not treat reports as locked periods. Backdated or corrected receipt evidence and changes in available order data can affect a report. Keep the source records and exported snapshot you used for a bookkeeping decision.
?What does inventory valuation include?
It is a point-in-time view of current on-hand units valued at the ledger cost basis. Uncosted units are disclosed separately. Plus includes CSV export; it is not historical stock reconstruction or a lot-level valuation.
?Can I import Stocky files directly?
Map retained records to the CostLedger CSV template and review dates, quantities, costs and currency first. There is no source-specific Stocky mapper. Plus supports completed Shopify PO PDFs; that is a separate input format, not a promise to parse every supplier or Stocky document.
?Does CostLedger replace all of Stocky?
No. Check Shopify’s current native inventory and purchasing tools first. CostLedger focuses on receipt costs and reports. For a dedicated reorder dashboard and supplier-grouped drafts, review lcCode: RestockRadar separately.
?Which plans include reports and exports?
Free includes manual and CSV receipt entry for up to 50 SKUs. Pro includes reports, valuation and alerts for up to 500 SKUs. Plus adds unlimited SKUs, supported Shopify PO PDF imports, and ledger/report CSV exports.

Explore the calculation, migration guidance, or a complementary inventory workflow.