If you are amending your filing status, you would enter the refund on line 18 and the payment on line 16. If you net them together, the numbers will not match what the IRS has for you. You may not be able to e-file the amended return as this may try to give you an error.