The Internal Revenue Service (IRS) allows companies to deduct the COGS for any products they either manufacture themselves or purchase with the intent to resell.