TaxGuyBill
Level 15

With the limited information you provided, it sounds like you did it correctly.

There will be tax based on the gain based on the depreciation.  If the taxpayer's qualify for the 2-out-of-5 year rule, the rest of the gain can be excluded (assuming it was there was not other periods of time it was not their Principal Residence while they owned it).