Deductions & credits

Most of the things on your list do not affect the basis. See this IRS Pub: <a rel="nofollow" target="_blank" href="https://www.irs.gov/pub/irs-pdf/p523.pdf">https://www.irs.gov/pub/irs-pdf/p523.pdf</a>