Section 11(gD) of ITA

(gD)  where that trade constitutes the provision of telecommunication services, the exploration, production or distribution of petroleum or the provision of gambling facilities, any expenditure (other than in respect of infrastructure) incurred to acquire a licence from the government of the Republic in the national, provincial or local sphere, contemplated in section 10(1)(a) or (b), or an institution or entity contemplated in Schedule 1 or Part A or C of Schedule 3 to the Public Finance Management Act where that expenditure is incurred in terms of the licence and the licence is required to carry on that trade, which deduction must not exceed for any one year such portion of the expenditure as is equal to the amount of the expenditure divided by the number of years for which the taxpayer has the right to the licence after the date on which the expenditure was incurred, or 30, whichever is the lesser;