21.27. The amount that must be deducted in computing the amortized cost, to a taxpayer, of a loan or lending asset at the particular time contemplated in section 21.26 is the aggregate of the following amounts:(a) in the case of a loan or lending asset acquired by the taxpayer, the part of the amount by which the cost to the taxpayer of the loan or lending asset exceeds the principal amount of the loan or lending asset at the time it was so acquired that was deducted in computing the taxpayer’s income for any taxation year ending at or before the particular time;
(a.1) the aggregate of all amounts each of which is an amount in respect of the loan or lending asset that was deducted in computing the taxpayer’s income for a taxation year that ended at or before that time in respect of changes in the value of the loan or lending asset attributable to the fluctuation in the value of a foreign currency relative to Canadian currency;
(b) all amounts that the taxpayer received at or before the particular time as, on account or in lieu of payment of, or in satisfaction of, the principal amount of the loan or lending asset;
(c) where the taxpayer is an insurer, any amount in respect of the loan or lending asset that was deemed, by reason of paragraph b of section 830 as it read for the taxation year 1977, to be a loss for any taxation year ending at or before the particular time;
(d) the aggregate of all amounts each of which is an amount in respect of the loan or lending asset that was deducted under section 141 in computing the taxpayer’s income for any taxation year ending at or before the particular time.