Investors & landlords

Thank you @DavidD66 .  Do you have a code reference or IRS rule that says you must expense all closing costs against the sale?  I would think you could deduct at least mortgage interest and property taxes against income since those are immediately deductible on purchases.  Thus, I would think this should be consistent for both purchases and sales.