State tax filing

What is important is on your 540NR, line 14 should include the amount of the HSA contributions that were made on non-CA source income (generally, income made while out of state), and line 16 should include the original total HSA contribution. So the next effect on CA state income will be the difference between the total HSA contributions and the HSA contributions made on CA sourced income.