There is imposed on each deed, instrument or writing by which any lands, tenements, or other realty sold within the city shall be granted, assigned, transferred or otherwise conveyed to, or vested in, the purchaser or purchasers, or any other person by his or her direction, when the consideration or value of the interest or property conveyed (exclusive of the value of any lien or encumbrances remaining thereon at the time of sale) exceeds one hundred dollars ($100.00), a tax at the rate of twenty-seven and one-half cents for each five hundred dollars ($500.00) or fractional part thereof. (Prior code § 41.05.037)