(a) arose as a loan or advance of money to the affiliate that the affiliate has used, throughout the period that began when the loan or advance was made and that ended at the earlier of the end of the year and the time at which the amount was repaid,i. for the purpose of earning income from an active business of the affiliate or income that was included under subsection 2 of section 95 of the Income Tax Act (R.S.C. 1985, c. 1, (5th Suppl.)) in computing the income from an active business of the affiliate, or
ii. for the purpose of making a loan or advance to another controlled foreign affiliate of the corporation where, if interest became payable on the loan or advance at any time in the period and the affiliate was required to include the interest in computing its income for a taxation year, that interest would not be required to be included in computing the affiliate’s foreign accrual property income, within the meaning of section 579, for that year; or