I had a investment apartment which I purchased in 2010. We brought it for $285k and we put down the deposit of $28k which brought the mortgage on the apartment to $260k. In 2014 we borrowed $10k from the mortgage and in December 2016 we sold the apartment for $275K. My question is, with the $10k that we borrowed from the mortgage, do we have to pay tax on it?