The tax imposed pursuant to this chapter shall not apply to any instrument in writing given to secure a debt. Any tax imposed pursuant to this chapter shall not apply with respect to any deed, instrument, or writing to a beneficiary or mortgagee, which is taken from the mortgagor or trustor as a result of or in lieu of foreclosure; provided, that such tax shall apply to the extent that the consideration exceeds the unpaid debt, including accrued interest and cost of foreclosure.
When any such deed, instrument, or writing itself fails to establish entitlement to this exemption, the mortgagee or beneficiary may establish within a reasonable time of the payment of the tax that the transfer is exempt under this section and any refund thereafter made shall not bear interest.
(Prior code § 27A-4)