No, you do not have to take it. If your total sales taxes amount is more than the income tax paid, the program will use it. It will be part of your itemized deductions. However, if your standard deduction exceeds the total itemized deduction, you cannot take it.
Sales
Tax Deductions