# Cost of Goods Sold

Learn how to calculate and track cost of goods sold for inventory valuation

289 posts [View all tags](https://beancount.io/blog/tags) [Back to All Posts](https://beancount.io/blog)

July 8, 2026 8 min read

## [Obsolete Inventory Write-Downs: GAAP's Lower of Cost or Net Realizable Value Rule Explained](https://beancount.io/blog/2026/07/08/obsolete-slow-moving-inventory-write-down-lower-of-cost-net-realizable-value)

GAAP requires inventory to be reported at the lower of cost or net realizable value under ASC 330; here's how to identify obsolete and slow-moving stock, calculate the write-down, and record it while satisfying the IRS's stricter subnormal-goods test under Treasury Regulation §1.471-2(c).

Mike Thrift

inventory cost-of-goods-sold financial-reporting

July 8, 2026 9 min read

## [On-Demand 3D Printing Service Bookkeeping: True Costs, Failure Rates, and Depreciation](https://beancount.io/blog/2026/07/08/on-demand-3d-printing-service-bookkeeping)

Filament is only 20-30% of what a 3D print actually costs - machine depreciation, a 2-25% failure rate, and labor make up the rest, and Section 179 combined with 100% bonus depreciation under the OBBBA can let a print-for-hire shop deduct a new printer's full cost in the year it's purchased.

Mike Thrift

3d-printing small-business bookkeeping

July 8, 2026 9 min read

## [Permanent Jewelry Studio Bookkeeping: Chain Costing, Deposits, and Compliance](https://beancount.io/blog/2026/07/08/permanent-jewelry-welded-bracelet-studio-bookkeeping)

A $65 welded bracelet costs $2-4 in gold-filled chain, but real cost of goods sold includes scrap, consumables, and gold spot-price volatility — here's how permanent jewelry studios should track chain costs, deposits, gift card liabilities, and OSHA/body-art licensing as recurring compliance expenses.

Mike Thrift

bookkeeping small-business creative-industries

July 8, 2026 7 min read

## [Veterinary Practice Bookkeeping: AAHA Chart of Accounts and Drug Inventory Controls](https://beancount.io/blog/2026/07/08/veterinary-practice-bookkeeping-aaha-chart-of-accounts-drug-inventory)

Pharmaceuticals and supplies run 20-25% of revenue at a typical small-animal practice, and the AAHA/VMG chart of accounts plus DEA-compliant drug logs are what keep that margin from quietly leaking away.

Mike Thrift

bookkeeping healthcare inventory

July 6, 2026 9 min read

## [Taxidermy Studio Bookkeeping: Costing Mounts, Sales Tax, and Cash Flow Through the Off-Season](https://beancount.io/blog/2026/07/06/taxidermy-studio-bookkeeping)

In most states taxidermy labor — not just materials — is subject to sales tax, and accurate mount pricing requires materials, labor, and allocated overhead; this guide covers job costing, sales tax rules, and cash flow forecasting for a trade where most revenue lands in a three-month season.

Mike Thrift

bookkeeping small-business cash-flow

June 4, 2026 11 min read

## [Life After Section 321: How Small E-Commerce Importers Are Rebuilding Landed Cost, Pricing, and Cash Flow in 2026](https://beancount.io/blog/2026/06/04/end-of-section-321-de-minimis-shopify-amazon-fba-importers-htsus-type-01-formal-entry-section-301-china-tariffs-landed-cost-rebuild-guide)

A practical guide for Shopify and Amazon FBA sellers on rebuilding landed cost, pricing, and bookkeeping after the May and August 2025 suspensions of the Section 321 de minimis exemption, with line-by-line duty math, entry-type tradeoffs, and cash-flow tactics.

Mike Thrift

tariffs customs e-commerce

June 4, 2026 11 min read

## [State EPR Packaging Laws Are Now a P\&L Line Item: The 2026 Compliance Playbook for CPG Brands, Shopify Sellers, and Amazon FBA Operators](https://beancount.io/blog/2026/06/04/state-epr-packaging-laws-2026-cpg-brands-online-retailers-california-sb-54-oregon-recycling-modernization-colorado-minnesota-maine-circular-action-alliance-eco-modulation-fees-pcr-content-guide)

Six U.S. states now enforce Extended Producer Responsibility laws for packaging, with fee invoices arriving in 2025 and 2026. Here is how California SB 54, Oregon's Recycling Modernization Act, and Colorado's HB22-1355 reshape CPG brand P\&L, plus the SKU-level bill of materials, ship-to-state allocation, and inventoriable vs. SG\&A accounting treatment required for clean 2026 filings.

Mike Thrift

compliance sustainability esg

June 3, 2026 13 min read

## [Artisan Cheese Maker and Farmstead Creamery Bookkeeping: How to Track Milk-to-Wheel Costs, Aging Cave WIP, and Yield KPIs Without Losing Your Margin](https://beancount.io/blog/2026/06/03/artisan-cheese-maker-farmstead-creamery-bookkeeping-section-263a-wip-aging-cave-cost-layers-fda-pmo-21-cfr-133-raw-milk-60-day-aging-section-179-vat-pasteurizer-acs-yield-cost-per-wheel-kpi-guide)

A practical accounting guide for farmstead creameries covering Section 263A inventory capitalization, aging cave WIP cost layers, FDA Pasteurized Milk Ordinance and 21 CFR 133 raw milk compliance, Section 179 equipment treatment, channel-specific revenue recognition under ASC 606, and the yield and cost-per-wheel KPIs that separate sustainable cheesemakers from hobbyists.

Mike Thrift

bookkeeping inventory manufacturing

June 3, 2026 13 min read

## [Ghost Kitchen and Virtual Restaurant Bookkeeping: How Multi-Brand Delivery-Only Operators Untangle DoorDash, Uber Eats, and Grubhub Revenue Under ASC 606](https://beancount.io/blog/2026/06/03/ghost-kitchen-cloud-kitchen-virtual-restaurant-brand-bookkeeping-asc-606-marketplace-facilitator-doordash-uber-eats-grubhub-multi-brand-pl-packaging-cogs-per-brand-contribution-margin-kpi-guide)

How multi-brand ghost kitchens record gross revenue under ASC 606, segregate marketplace-facilitated sales tax from DoorDash, Uber Eats, and Grubhub payouts, allocate shared kitchen costs across virtual brands, and compute contribution margin per brand and platform.

Mike Thrift

restaurant bookkeeping revenue-recognition

June 2, 2026 13 min read

## [Cannabis Dispensary Bookkeeping Under Section 280E: COGS, METRC, FinCEN BSA, and the KPIs MSOs Track](https://beancount.io/blog/2026/06/02/cannabis-dispensary-adult-use-retail-bookkeeping-section-280e-section-471c-inventory-carve-out-metrc-seed-to-sale-fincen-bsa-marijuana-limited-sar-form-8300-mso-sales-per-square-foot-basket-size-kpi-guide)

How disciplined cannabis dispensaries build books that survive Section 280E—segregating COGS from disallowed expenses, applying the Section 471(c) small-taxpayer carve-out, reconciling METRC to the POS to the general ledger daily, handling FinCEN BSA cash-banking and Form 8300 reporting, and reporting the sales-per-square-foot and basket-size KPIs MSO lenders read.

Mike Thrift

tax-compliance bookkeeping inventory

June 2, 2026 13 min read

## [Culinary School and Cooking Academy Bookkeeping: Recognizing Prepaid Tuition Under ASC 606, Tracking Ingredient COGS Per Lab Session, and Surviving the Title IV Audit](https://beancount.io/blog/2026/06/02/culinary-school-cooking-academy-bookkeeping-acfef-accreditation-title-iv-asc-606-deferred-tuition-section-263a-ingredient-yield-acf-chef-instructor-w2-vs-1099-section-179-combi-oven-cost-per-student-hour-kpi-guide)

How accredited and recreational culinary schools should defer tuition under ASC 606, allocate ingredient COGS per lab session, handle Title IV refund calculations, classify chef instructors, and apply Section 179 and 2026 bonus depreciation to kitchen build-out.

Mike Thrift

bookkeeping education revenue-recognition

June 2, 2026 11 min read

## [The Decorator's Profit Math: A Bookkeeping Guide for Custom Screen Printing and Embroidery Shops](https://beancount.io/blog/2026/06/02/custom-screen-printing-embroidery-decorator-shop-bookkeeping-plastisol-ink-stitch-count-standard-hour-asc-606-customer-specific-goods-section-179-conveyor-dryer-dtg-printer-ppai-asi-pieces-per-press-hour-guide)

Custom decorator shops sit at the crossroads of manufacturing, retail, and service work. This guide walks through the four-layer job cost model, ASC 606 treatment of customer deposits on custom goods, Section 179 expensing of presses and embroidery machines, and the press-hour and stitch-hour KPIs that separate profitable shops from merely busy ones.

Mike Thrift

job-costing inventory manufacturing

[Start Free→](https://beancount.io/sign-up/?next=%2Fledger%2F) [Documentation](https://beancount.io/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
