i. the amount for the year, if the individual is resident in Canada throughout the year, or, where the individual is not resident in Canada at any time in the year, for the part of the year throughout which the individual is resident in Canada, by which the total of the individual’s incomes exceeds the total of the individual’s losses, from businesses carried on by the individual in that country and attributable to an establishment situated therein, computed without taking into account(1) any portion of income that is deductible under paragraph a of section 725 or any of sections 726.26, 737.16, 737.18.10 and 737.18.34 by the individual in computing the individual’s taxable income for the year, and
(2) any income or loss from a source situated in that country, if any income of the individual from the source would be tax-exempt income, is of
ii. the amount by which(1) either, if the individual is resident in Canada throughout the year, the aggregate of the individual’s income for the year and of all amounts each of which is an amount included in computing the individual’s taxable income for the year under section 726.35, 726.43 or 737.17, or, if the individual is not resident in Canada at any time in the year, the amount determined for the year in respect of the individual under subparagraph a of the third paragraph of section 23, exceeds
(2) the aggregate of all amounts each of which is an amount deductible under any of sections 725, 725.2 to 725.5, 726.26, 726.28, 737.14, 737.16, 737.16.1, 737.18.10, 737.18.34, 737.21, 737.22.0.0.3, 737.22.0.0.7, 737.22.0.3, 737.22.0.4.7, 737.22.0.7, 737.22.0.10, 737.22.0.13, 737.25 and 737.28, or deducted under any of sections 726.7 to 726.9, 726.20.2, 726.33, 726.42 and 729, in computing the individual’s taxable income for the year; and