Deductions & credits

You have been depreciating it all along, right? Foreign rental property is subject to a 40-year depreciation, and land cannot be depreciated.
And any mortgage payoff does not factor into the gain calculation.