shall apply to amounts paid or incurred in taxable years beginning after December 31, 2017. 104. Limitation on percentage depletion allowance for oil and gas wells (a) In general Section 613A of the Internal Revenue Code of 1986 is amended by adding at the end the following new subsection: (f) Application with respect to major integrated oil companies In the case of any taxable year in which the taxpayer is a major integrated oil company (within the meaning of section 167(h)(5)), the allowance for percentage depletion shall be zero. . (b) Effective date The amendment made by this section shall apply to taxable years beginning after December 31, 2017. 105. Limitation on deduction for tertiary injectants (a) In general Section 193 of the Internal Revenue Code of 1986 is amended by adding at the end the following new subsection: (d) Application with respect to major integrated oil companies (1) In general This section shall not apply to amounts paid or incurred by a taxpayer in any taxable year in which such taxpayer is a major integrated oil company (within the meaning of section 167(h)(5)). (2) Amortization of amounts not allowable as deductions under paragraph (1) The amount not allowable as a deduction for any taxable year by reason of paragraph (1) shall be allowable as a deduction ratably over the 60-month period beginning with the month in which the costs are paid or incurred. . (b) Effective date The amendment made by this section shall apply to amounts paid or incurred in taxable years beginning after December 31, 2017. 106. Modification of definition of major integrated oil company (a) In general Paragraph (5) of section 167(h) of the Internal Revenue Code of 1986 is amended by adding at the end the following new subparagraph: (C) Certain successors in interest For purposes of this paragraph, the term major integrated oil company includes any successor in interest of a company that was described in subparagraph (B) in any taxable year, if such successor controls more than 50 percent of the crude oil