Cost of goods for eBay resellers
Profit needs the cost of the items you sold, not everything you bought. Here is a practical way to keep it straight.
Use the Custom label
Give each item (or each group of identical items) a Custom label (SKU) when you list it. It appears on the Transaction report, so each sale can be matched to its purchase.
Oldest first
When you have several identical items bought at different prices, a common method is to use the oldest purchase first (FIFO). Pick one method and use it consistently; ask a tax professional which suits you.
Bulk lots
A $40 box with 4 items can be split equally ($10 each), by what you expect each to sell for, or by your own judgement. Write down how you split it.
Returns
If a refunded item comes back and you can sell it again, its cost goes back into stock. If it doesn't come back, the cost stays as cost of goods. For an order of several units, count how many actually came back.
Reused labels
Using one label for different items makes matching ambiguous. Yearbin Full stops and asks you to confirm the item or enter the cost when it sees one label on different titles.
Not tax advice.