Selling or Disposing of Rental Assets
Rental business assets must be reported in the year they are sold or otherwise disposed of. You cannot choose to claim it in any other year. If you no longer have the rental or the asset and did not report it previously, you'll need to file an amended tax return for the year you disposed of it.
If you sell the entire rental property and all its assets together in one transaction, you generally report the sale as a single combined sale price and allocate that price among the property's components (land, building, and any other depreciable assets).