(1) the amount of the combined foreign oil and gas income for the taxable year,
(2) multiplied by—
multiplied by—
(A) in the case of a corporation, the percentage which is equal to the highest rate of tax specified under , or
(B) in the case of an individual, a fraction the numerator of which is the tax against which the credit under is taken and the denominator of which is the taxpayer’s entire taxable income.
(1) Combined foreign oil and gas income
The term “combined foreign oil and gas income” means, with respect to any taxable year, the sum of—
(A) foreign oil and gas extraction income, and
(B) foreign oil related income.
(2) Foreign oil and gas taxes
The term “foreign oil and gas taxes” means, with respect to any taxable year, the sum of—
(A) oil and gas extraction taxes, and
(B) any income, war profits, and excess profits taxes paid or accrued (or deemed to have been paid or accrued under section 960) during the taxable year with respect to foreign oil related income (determined without regard to subsection (c)(4)) or loss which would be taken into account for purposes of section 901 without regard to this section.
(1) Foreign oil and gas extraction income
The term “foreign oil and gas extraction income” means the taxable income derived from sources without the United States and its possessions from—
(A) the extraction (by the taxpayer or any other person) of minerals from oil or gas wells, or
(B) the sale or exchange of assets used by the taxpayer in the trade or business described in subparagraph (A).
Such term does not include any dividend or interest income which is passive income (as defined in section 904(d)(2)(A)).
(2) Foreign oil related income
The term “foreign oil related income” means the taxable income derived from sources outside the United States and its possessions from—
(A) the processing of minerals extracted (by the taxpayer or by any other person) from oil or gas wells into their primary products,
(B) the transportation of such minerals or primary products,
(C) the distribution or sale of such minerals or primary products,
(D) the disposition of assets used by the taxpayer in the trade or business described in subparagraph (A), (B), or (C), or
(E) the performance of any other related service.
Such term does not include any dividend or interest income which is passive income (as defined in section 904(d)(2)(A)).
(3) Dividends, interest, partnership distribution, etc.
The term “foreign oil and gas extraction income” and the term “foreign oil related income” include—
(A) interest, to the extent the category of income of such interest is determined under ,
(B) amounts with respect to which taxes are deemed paid under section 960, and
(C) the taxpayer’s distributive share of the income of partnerships,
to the extent such dividends, interest, amounts, or distributive share is attributable to foreign oil and gas extraction income, or to foreign oil related income, as the case may be; except that interest described in subparagraph (A) shall not be taken into account in computing foreign oil and gas extraction income but shall be taken into account in computing foreign oil-related income.
(4) Recapture of foreign oil and gas losses by recharacterizing later combined foreign oil and gas income
(A) In general
The combined foreign oil and gas income of a taxpayer for a taxable year (determined without regard to this paragraph) shall be reduced—
(i) first by the amount determined under subparagraph (B), and
(ii) then by the amount determined under subparagraph (C).
(B) Reduction for pre-2009 foreign oil extraction losses
The reduction under this paragraph shall be equal to the lesser of—
(i) the foreign oil and gas extraction income of the taxpayer for the taxable year (determined without regard to this paragraph), or
(ii) the excess of—
the excess of—
(I) the aggregate amount of foreign oil extraction losses for preceding taxable years beginning after
(II) so much of such aggregate amount as was recharacterized under this paragraph (as in effect before and after the date of the enactment of the Energy Improvement and Extension Act of 2008) for preceding taxable years beginning after
(C) Reduction for post-2008 foreign oil and gas losses
The reduction under this paragraph shall be equal to the lesser of—
(i) the combined foreign oil and gas income of the taxpayer for the taxable year (determined without regard to this paragraph), reduced by an amount equal to the reduction under subparagraph (A) for the taxable year, or
(ii) the excess of—
the excess of—
(I) the aggregate amount of foreign oil and gas losses for preceding taxable years beginning after
(II) so much of such aggregate amount as was recharacterized under this paragraph for preceding taxable years beginning after
(D) Foreign oil and gas loss defined
(i) In general
(I) the gross income for the taxable year from sources without the United States and its possessions (whether or not the taxpayer chooses the benefits of this subpart for such taxable year) taken into account in determining the combined foreign oil and gas income for such year, is exceeded by
(II) the sum of the deductions properly apportioned or allocated thereto.
(ii) Net operating loss deduction not taken into account
For purposes of clause (i), the net operating loss deduction allowable for the taxable year under shall not be taken into account.
(iii) Expropriation and casualty losses not taken into account
(I) any foreign expropriation loss (as defined in (as in effect on the day before the date of the enactment of the Revenue Reconciliation Act of 1990)) for the taxable year, or
(II) any loss for the taxable year which arises from fire, storm, shipwreck, or other casualty, or from theft,
(iv) Foreign oil extraction loss
For purposes of subparagraph (B)(ii)(I), foreign oil extraction losses shall be determined under this paragraph as in effect on the day before the date of the enactment of the Energy Improvement and Extension Act of 2008.
(5) Oil and gas extraction taxes
The term “oil and gas extraction taxes” means any income, war profits, and excess profits tax paid or accrued (or deemed to have been paid under section 960) during the taxable year with respect to foreign oil and gas extraction income (determined without regard to paragraph (4)) or loss which would be taken into account for purposes of section 901 without regard to this section.
For purposes of this chapter, in determining the amount of taxable income in the case of foreign oil and gas extraction income, if the oil or gas is disposed of, or is acquired other than from the government of a foreign country, at a posted price (or other pricing arrangement) which differs from the fair market value for such oil or gas, such fair market value shall be used in lieu of such posted price (or other pricing arrangement).
(1) In general
If the amount of the foreign oil and gas taxes paid or accrued during any taxable year exceeds the limitation provided by subsection (a) for such taxable year (hereinafter in this subsection referred to as the “unused credit year”), such excess shall be deemed to be foreign oil and gas taxes paid or accrued in the first preceding taxable year and in any of the first 10 succeeding taxable years, in that order and to the extent not deemed tax paid or accrued in a prior taxable year by reason of the limitation imposed by paragraph (2). Such amount deemed paid or accrued in any taxable year may be availed of only as a tax credit and not as a deduction and only if the taxpayer for such year chooses to have the benefits of this subpart as to taxes paid or accrued for that year to foreign countries or possessions.
(2) Limitation
The amount of the unused foreign oil and gas taxes which under paragraph (1) may be deemed paid or accrued in any preceding or succeeding taxable year shall not exceed the lesser of—
(A) the amount by which the limitation provided by subsection (a) for such taxable year exceeds the sum of—
the amount by which the limitation provided by subsection (a) for such taxable year exceeds the sum of—
(i) the foreign oil and gas taxes paid or accrued during such taxable year, plus
(ii) the amounts of the foreign oil and gas taxes which by reason of this subsection are deemed paid or accrued in such taxable year and are attributable to taxable years preceding the unused credit year; or
(B) the amount by which the limitation provided by section 904 for such taxable year exceeds the sum of—
the amount by which the limitation provided by section 904 for such taxable year exceeds the sum of—
(i) the taxes paid or accrued (or deemed to have been paid under section 960) to all foreign countries and possessions of the United States during such taxable year,
(ii) the amount of such taxes which were deemed paid or accrued in such taxable year under and which are attributable to taxable years preceding the unused credit year, plus
(iii) the amount of the foreign oil and gas taxes which by reason of this subsection are deemed paid or accrued in such taxable year and are attributable to taxable years preceding the unused credit year.
(3) Special rules
(A) In the case of any taxable year which is an unused credit year under this subsection and which is an unused credit year under , the provisions of this subsection shall be applied before .
(B) For purposes of determining the amount of taxes paid or accrued in any taxable year which may be deemed paid or accrued in a preceding or succeeding taxable year under , any tax deemed paid or accrued in such preceding or succeeding taxable year under this subsection shall be considered to be tax paid or accrued in such preceding or succeeding taxable year.
(4) Transition rules for pre-2009 and 2009 disallowed credits
(A) Pre-2009 credits
In the case of any unused credit year beginning before
(B) 2009 credits
In the case of any unused credit year beginning in 2009, the amendments made to this subsection by the Energy Improvement and Extension Act of 2008 shall be treated as being in effect for any preceding year beginning before