State tax filing

I still don't understand what happens with the difference if the NYS tax credit is larger than whatever the PA tax liability ends up being. Does NY send you a check?