For merchandise on hand at the beginning of the tax year, cost means the ending inventory price of the goods.For merchandise purchased during the year, cost means the invoice price minus appropriate discounts plus transportation or other charges incurred in acquiring the goods.