(1) A is the lesser of(a) an amount equal to the total (in this section referred to as the “total tax charged in respect of the immovable”) of the tax that was payable by the registrant in respect of the last acquisition of the immovable by the registrant and the tax that was payable by the registrant in respect of improvements to the immovable acquired, or brought into Québec, by the registrant after the immovable was last so acquired, and
(b) an amount equal to the tax that is or would, but for sections 75.1 and 80, be payable in respect of the taxable supply of the immovable; and
(2) B is(a) where the registrant was entitled to claim a rebate under sections 383 to 397 in respect of any tax included in the total tax charged in respect of the immovable, the difference between 100 % and the percentage prescribed for the purposes of section 386 or 386.1 that applied in determining the amount of the rebate, and
(b) in any other case, 100 %.