State tax filing

Which state do you need? Not all have a state income tax and some (such as NH and TN) only tax certain types of investments.