Reseller cost of goods sold (COGS) in QuickBooks and Xero
Your Poshmark, Mercari, eBay, Etsy, Depop or Whatnot export tells you what sold and what the platform kept. It does not tell you what you paid for the item. That number, your cost of goods sold, comes from your own receipts. This guide shows the IRS formula, the accounts to set up in QuickBooks Online or Xero, and balanced journal entries for a reseller who buys inventory and sells it on marketplaces.
Try PayoutBooks free, no signup Check a CSV first Free 1099-K worksheet Buy Seller — $29/year
First 50 transactions are free. Seller is $29/year. Your file is processed in the browser and is not uploaded. Platform copies of Form 1099-K are generally due to recipients by January 31.
Not tax advice. This is a bookkeeping walkthrough. It does not decide what is taxable or deductible, and it does not file anything. Rules and thresholds change; check the linked official pages and a tax professional before you file.
The IRS formula (Schedule C, Part III)
IRS Publication 334 (2025), chapter 6 says that if you make or buy goods to sell, you can deduct the cost of goods sold from gross receipts on Schedule C, and to figure it you must value inventory at the beginning and end of each tax year. Lines 35–42 are:
- Line 35: inventory at the beginning of the year (usually last year's closing inventory).
- Line 36: purchases, less the cost of items withdrawn for personal use.
- Line 37: cost of labor (not amounts paid to yourself). Publication 334 says small merchandisers usually do not have labor costs that belong in COGS.
- Line 38: materials and supplies.
- Line 39: other costs.
- Line 40: add lines 35–39 (goods available for sale).
- Line 41: inventory at the end of the year.
- Line 42: cost of goods sold = line 40 minus line 41.
A few details from the same chapter that matter for resellers:
- Freight-in on merchandise you purchase for sale is part of cost of goods sold.
- Trade discounts: use the price you actually paid, not the list price.
- Purchase returns and allowances are deducted from total purchases.
- Items you take for personal use come out of purchases and are charged to your drawing account.
The Schedule C instructions say inventories can be valued at cost, the lower of cost or market, or another IRS-approved method. Publication 334 also says that if you want to change your method of figuring inventory cost, you must file Form 3115.
The small business exception
Publication 334 says a small business taxpayer (average annual gross receipts of $31 million or less for the 3 prior tax years, indexed for inflation, and not a tax shelter) can choose not to keep an inventory, but must still use a method of accounting for inventory that clearly reflects income. Such a method can treat inventory as non-incidental materials and supplies, deducted in the year you provide the items to customers, or follow how inventory is treated in your books and records. Choosing between these is a tax decision; ask your tax professional. The bookkeeping below works with either an inventory account or a simple per-sale cost record.
Accounts to set up
- QuickBooks Online: Intuit says that when you set up your first inventory item, QuickBooks adds an Inventory Asset account (Other Current Asset) and a Cost of Goods Sold account, and that it uses weighted average cost (Intuit: Inventory assets and COGS tracking). If you do not use QuickBooks inventory items, you can create the same two accounts and post journals yourself.
- Xero: Xero's accounting API lists account types including INVENTORY and DIRECTCOSTS (Xero OpenAPI spec). Use an Inventory-type (or current asset) account for stock on hand and a Direct Costs account for COGS.
- Keep your marketplace clearing accounts (Poshmark Clearing, Mercari Clearing and so on) for sales and fees. COGS never goes through a clearing account, because the platform never paid it.
Invented example: a year of thrifted inventory
Invented example, not a real seller. Every number is made up to show the mechanics.
Inventory on hand January 1: $3,000.00. Bought inventory during the year: $9,500.00 by debit card, plus $250.00 freight-in on a pallet. Took a jacket that cost $150.00 for personal use. Counted inventory at cost on December 31: $4,100.00.
COGS (Schedule C style): $3,000.00 + ($9,500.00 + $250.00 − $150.00) − $4,100.00 = $8,500.00.
1. Inventory purchases for the year (summary of many purchases):
| Account | Debit | Credit |
|---|---|---|
| Inventory | $9,750.00 | |
| Bank (debit card) | $9,750.00 |
2. Item taken for personal use:
| Account | Debit | Credit |
|---|---|---|
| Owner's draw | $150.00 | |
| Inventory | $150.00 |
3. Year-end adjustment. Inventory before the adjustment is $3,000.00 + $9,750.00 − $150.00 = $12,600.00; the count says $4,100.00, so $8,500.00 moves to COGS:
| Account | Debit | Credit |
|---|---|---|
| Cost of goods sold | $8,500.00 | |
| Inventory | $8,500.00 |
Each entry balances, and Inventory ends at $4,100.00, matching the count.
Per-sale costing instead of a year-end count
If you record each item's cost when you buy it (a SKU or a note in the listing), you can post COGS when the item sells instead of once a year. For instance, a sweater bought for $12.00 that sells on Poshmark would add this entry next to the sale journal:
Invented example, not a real seller.
| Account | Debit | Credit |
|---|---|---|
| Cost of goods sold | $12.00 | |
| Inventory | $12.00 |
Monthly is often easier than per order: total the cost of everything that sold in the month and post one entry. If you use QuickBooks Online inventory items on invoices or sales receipts, QuickBooks posts COGS for you (Intuit), so do not add these journals on top.
Common reseller mistakes
- Expensing every purchase as COGS when you buy it while also keeping an inventory account. Pick one method and use it consistently.
- Mixing postage. Freight-in on inventory belongs in COGS (Publication 334); labels for shipping sold items to buyers usually belong in shipping expense, which PayoutBooks already books from the marketplace files.
- Forgetting personal-use items pulled from stock.
- Confusing personal-item sales with inventory. The IRS treats selling personal items you owned for your own use differently from selling goods as a business (IRS: What to do with Form 1099-K), and Whatnot's US tax guide makes the same distinction (Whatnot tax guide).
What PayoutBooks does, and does not do, with COGS
PayoutBooks turns Poshmark, Depop, Mercari, Whatnot, eBay and Etsy exports into balanced journals for sales, fees, shipping, refunds and payouts, with QuickBooks Online and Xero CSV exports, a 1099-K cross-check and bank payout matching, all in your browser. Marketplace exports do not carry your item cost, so PayoutBooks does not calculate COGS; post the COGS entries above from your own purchase records. It does not read Amazon or TikTok Shop exports. Check a file for free with the payout CSV checker.
- Free: first 50 transactions in journals and exports, no account.
- Seller: $29 per year for unlimited journals, 2 devices.
- Bookkeeper: $149 per year, 5 devices.
One payment covers 12 months and does not auto-renew. See pricing. Platform copies of Form 1099-K are generally due to recipients by January 31.
Buy Seller — $29/year Buy Bookkeeper — $149/year Free 1099-K worksheet
Open the app and book your marketplace sales Buy Seller — $29/year Free 1099-K worksheet
FAQ
Do marketplace exports include my cost of goods?
Generally no. Mercari, for example, says that as a marketplace it does not have the original cost of your sold items (Mercari Gross Sales Report help). You keep purchase records yourself.
How does the IRS figure cost of goods sold for Schedule C?
Beginning inventory plus purchases (less items withdrawn for personal use), labor, materials and supplies and other costs, minus ending inventory, on Schedule C lines 35 through 42 (IRS Publication 334, chapter 6).
Do I have to keep an inventory as a small reseller?
The IRS says a small business taxpayer can choose not to keep an inventory but must still use a method of accounting for inventory that clearly reflects income, such as treating inventory as non-incidental materials and supplies or following the treatment in its books and records (Publication 334). Which method fits you is a question for your tax professional.
Is shipping I pay to receive inventory part of COGS?
The IRS says freight-in on merchandise you purchase for sale is part of cost of goods sold (Publication 334). Postage to ship sold items to buyers is a different cost, usually booked as shipping expense.
Should I post COGS journals if QuickBooks Online tracks my inventory?
No, not on top of it. Intuit says that with inventory tracking, QuickBooks debits COGS and credits Inventory Asset automatically when you sell inventory items on invoices or sales receipts (Intuit). Posting a manual COGS journal for the same items would count the cost twice.