After you file

You have to pay the state tax due. The lower amount is just what you net after you get the federal refund and you pay your state tax liability.