After you file

Taxes owed can never be deducted from a tax refund, federal or state.  You have to pay the state taxes owed directly.

View solution in original post