(2) In determining the taxable income derived by any taxpayer in any year of assessment from carrying on any trade, there must be allowed as a deduction from the income of that taxpayer so derived any amount paid by way of a lump sum during the year of assessment by that taxpayer –
(a) to any former employee of the taxpayer who has retired from the taxpayer’s employ on grounds of old age, ill health or infirmity or to any dependant of that former employee; or
(b) under any policy of insurance taken out with an insurer solely in respect of one or more former employees or dependants contemplated in paragraph (a),
but only to the extent that the amount is paid for the purposes of making any contribution, in respect of any former employee or dependant contemplated in paragraph (a), to any medical scheme or fund contemplated in section 6A(2)(a)(i) or (ii):
Provided that no deduction may be allowed in terms of this section if the taxpayer making the payment, or a connected person in relation to that taxpayer, retains any further obligation, whether actual or contingent, relating to the mortality risk of any former employee or dependant contemplated in paragraph (a).