The loan to buy a house can be refunded, but the loan must be paid off before the tax refund can be made. After paying off all the loan principal and interest, you can cancel the mortgage at the district/county real estate trading center where the property is located with the bank loan settlement certificate of the collateral and other real estate rights certificates.