Deductions & credits

the 1098 would likely represent the monthly interest you paid until you sold it in 2024. there may be additional interest shown on the closing statement.  this would go on schedule E. it seems you sold the property on the installment basis. you may use that method (form 6252) to report the gain. A loss is not eligible. the interest you received from the seller is reported on the 6252 if you use it otherwise in the investment income section  - seller-financed mortgage.   if you sold the property in 2023 or an earlier year, we do not understand why you would get a 1098. contact the issuer.