Deductions & credits

Those taxes may not be added to the basis or treated as a selling expense.  at best they're taxes on schedule a or investment expenses that are not even deductible.