Deductions & credits

So I basically just deduct the amount from the ending inventory figure?   I'm confused.