Source: http://uscode.house.gov/view.xhtml?req=granuleid:USC-prelim-title26-section40A&num=0&edition=prelim
Timestamp: 2019-04-26 00:07:04+00:00

Document:
(3) in the case of an eligible small agri-biodiesel producer, the small agri-biodiesel producer credit.
The biodiesel mixture credit of any taxpayer for any taxable year is $1.00 for each gallon of biodiesel used by the taxpayer in the production of a qualified biodiesel mixture.
(ii) is used as a fuel by the taxpayer producing such mixture.
(C) Sale or use must be in trade or business, etc.
(ii) for the taxable year in which such sale or use occurs.
No credit shall be allowed under this section with respect to any casual off-farm production of a qualified biodiesel mixture.
(ii) is sold by the taxpayer at retail to a person and placed in the fuel tank of such person's vehicle.
No credit shall be allowed under subparagraph (A)(i) with respect to any biodiesel which was sold in a retail sale described in subparagraph (A)(ii).
No credit shall be allowed under paragraph (1) or (2) of subsection (a) unless the taxpayer obtains a certification (in such form and manner as prescribed by the Secretary) from the producer or importer of the biodiesel which identifies the product produced and the percentage of biodiesel and agri-biodiesel in the product.
The small agri-biodiesel producer credit of any eligible small agri-biodiesel producer for any taxable year is 10 cents for each gallon of qualified agri-biodiesel production of such producer.
(ii) is used or sold by such producer for any purpose described in clause (i).
The qualified agri-biodiesel production of any producer for any taxable year shall not exceed 15,000,000 gallons.
The amount of the credit determined under this section with respect to any biodiesel shall be properly reduced to take into account any benefit provided with respect to such biodiesel solely by reason of the application of section 6426 or 6427(e).
(B) the requirements of the American Society of Testing and Materials D6751.
Such term shall not include any liquid with respect to which a credit may be determined under section 40.
The term "agri-biodiesel" means biodiesel derived solely from virgin oils, including esters derived from virgin vegetable oils from corn, soybeans, sunflower seeds, cottonseeds, canola, crambe, rapeseeds, safflowers, flaxseeds, rice bran, mustard seeds, and camelina, and from animal fats.
(3) Mixture or biodiesel not used as a fuel, etc.
then there is hereby imposed on such person a tax equal to the product of the rate applicable under subsection (b)(1)(A) and the number of gallons of such biodiesel in such mixture.
then there is hereby imposed on such person a tax equal to the product of the rate applicable under subsection (b)(2)(A) and the number of gallons of such biodiesel.
then there is hereby imposed on such person a tax equal to 10 cents a gallon for each gallon of such agri-biodiesel.
All provisions of law, including penalties, shall, insofar as applicable and not inconsistent with this section, apply in respect of any tax imposed under subparagraph (A) or (B) as if such tax were imposed by section 4081 and not by this chapter.
Under regulations prescribed by the Secretary, rules similar to the rules of subsection (d) of section 52 shall apply.
No credit shall be determined under this section with respect to any biodiesel which is produced outside the United States for use as a fuel outside the United States. For purposes of this paragraph, the term "United States" includes any possession of the United States.
The term "eligible small agri-biodiesel producer" means a person who, at all times during the taxable year, has a productive capacity for agri-biodiesel not in excess of 60,000,000 gallons.
For purposes of the 15,000,000 gallon limitation under subsection (b)(4)(C) and the 60,000,000 gallon limitation under paragraph (1), all members of the same controlled group of corporations (within the meaning of section 267(f)) and all persons under common control (within the meaning of section 52(b) but determined by treating an interest of more than 50 percent as a controlling interest) shall be treated as 1 person.
In the case of a partnership, trust, S corporation, or other pass-thru entity, the limitations contained in subsection (b)(4)(C) and paragraph (1) shall be applied at the entity level and at the partner or similar level.
For purposes of this subsection, in the case of a facility in which more than 1 person has an interest, productive capacity shall be allocated among such persons in such manner as the Secretary may prescribe.
(B) to prevent any person from directly or indirectly benefiting with respect to more than 15,000,000 gallons during the taxable year.
In the case of a cooperative organization described in section 1381(a), any portion of the credit determined under subsection (a)(3) for the taxable year may, at the election of the organization, be apportioned pro rata among patrons of the organization on the basis of the quantity or value of business done with or for such patrons for the taxable year.
An election under clause (i) for any taxable year shall be made on a timely filed return for such year. Such election, once made, shall be irrevocable for such taxable year. Such election shall not take effect unless the organization designates the apportionment as such in a written notice mailed to its patrons during the payment period described in section 1382(d).
The amount of the credit not apportioned to patrons pursuant to subparagraph (A) shall be included in the amount determined under subsection (a)(3) for the taxable year of the organization.
The amount of the credit apportioned to patrons pursuant to subparagraph (A) shall be included in the amount determined under such subsection for the first taxable year of each patron ending on or after the last day of the payment period (as defined in section 1382(d)) for the taxable year of the organization or, if earlier, for the taxable year of each patron ending on or after the date on which the patron receives notice from the cooperative of the apportionment.
shall be treated as an increase in tax imposed by this chapter on the organization. Such increase shall not be treated as tax imposed by this chapter for purposes of determining the amount of any credit under this chapter or for purposes of section 55.
Except as provided in paragraph (2), renewable diesel shall be treated in the same manner as biodiesel.
Subsection (b)(4) shall not apply with respect to renewable diesel.
(B) the requirements of the American Society of Testing and Materials D975 or D396, or other equivalent standard approved by the Secretary.
Such term shall not include any liquid with respect to which a credit may be determined under section 40. Such term does not include any fuel derived from coprocessing biomass with a feedstock which is not biomass. For purposes of this paragraph, the term "biomass" has the meaning given such term by section 45K(c)(3).
Except as provided in the last 3 sentences of paragraph (3), the term "renewable diesel" shall include fuel derived from biomass which meets the requirements of a Department of Defense specification for military jet fuel or an American Society of Testing and Materials specification for aviation turbine fuel.
In the case of fuel which is treated as renewable diesel solely by reason of subparagraph (A), subsection (b)(1) and section 6426(c) shall be applied with respect to such fuel by treating kerosene as though it were diesel fuel.
This section shall not apply to any sale or use after December 31, 2017.
2014-Subsec. (g). Pub. L. 113–295 substituted "December 31, 2014" for "December 31, 2013".
2013-Subsec. (g). Pub. L. 112–240 substituted "December 31, 2013" for "December 31, 2011".
2010-Subsec. (g). Pub. L. 111–312 substituted "December 31, 2011" for "December 31, 2009".
2008-Subsec. (b)(1)(A), (2)(A). Pub. L. 110–343, §202(b)(1), substituted "$1.00" for "50 cents".
Subsec. (b)(3) to (5). Pub. L. 110–343, §202(b)(3)(A), redesignated pars. (4) and (5) as (3) and (4), respectively, and struck out heading and text of former par. (3). Text read as follows: "In the case of any biodiesel which is agri-biodiesel, paragraphs (1)(A) and (2)(A) shall be applied by substituting '$1.00' for '50 cents'."
Subsec. (d)(1). Pub. L. 110–246, §15321(f)(1), inserted concluding provisions.
Subsec. (d)(2). Pub. L. 110–343, §202(f), substituted "mustard seeds, and camelina" for "and mustard seeds".
Subsec. (d)(3)(C)(ii). Pub. L. 110–343, §202(b)(3)(D), substituted "subsection (b)(4)(B)" for "subsection (b)(5)(B)".
Subsec. (d)(5). Pub. L. 110–343, §203(b), added par. (5).
Subsec. (e)(2), (3). Pub. L. 110–343, §202(b)(3)(C), substituted "subsection (b)(4)(C)" for "subsection (b)(5)(C)".
"(A) Rate of credit.-Subsections (b)(1)(A) and (b)(2)(A) shall be applied with respect to renewable diesel by substituting '$1.00' for '50 cents'.
"(B) Nonapplication of certain credits.-Subsections (b)(3) and (b)(5) shall not apply with respect to renewable diesel."
Subsec. (f)(3). Pub. L. 110–343, §202(d), in introductory provisions, struck out "(as defined in section 45K(c)(3))" after "derived from biomass" and, in concluding provisions, inserted at end "Such term does not include any fuel derived from coprocessing biomass with a feedstock which is not biomass. For purposes of this paragraph, the term 'biomass' has the meaning given such term by section 45K(c)(3)."
Pub. L. 110–343, §202(c)(1), (2), in introductory provisions, substituted "liquid fuel" for "diesel fuel" and struck out "using a thermal depolymerization process" before "which meets-".
Pub. L. 110–246, §15321(f)(2), inserted concluding provisions.
Subsec. (f)(3)(B). Pub. L. 110–343, §202(c)(3), inserted ", or other equivalent standard approved by the Secretary" before period at end.
Subsec. (f)(4). Pub. L. 110–343, §202(e), added par. (4).
Subsec. (g). Pub. L. 110–343, §202(a), substituted "December 31, 2009" for "December 31, 2008".
2005-Pub. L. 109–58, §1346(b)(1), inserted "and renewable diesel" after "Biodiesel" in section catchline.
Subsec. (b). Pub. L. 109–58, §1345(d)(2), substituted ", biodiesel credit, and small agri-biodiesel producer credit" for "and biodiesel credit" in heading.
Subsec. (b)(4). Pub. L. 109–58, §1345(d)(1), substituted "paragraph (1) or (2) of subsection (a)" for "this section".
Subsec. (b)(5). Pub. L. 109–58, §1345(b), added par. (5).
Subsec. (b)(5)(B). Pub. L. 109–135 struck out "(determined without regard to the last sentence of subsection (d)(2))" after "any agri-biodiesel" in introductory provisions.
Subsec. (d)(3)(C), (D). Pub. L. 109–58, §1345(d)(3), added subpar. (C) and redesignated former subpar. (C) as (D). The words following "subsection (b)(5)(B)," in subpar. (C) are shown as a flush provision notwithstanding directory language showing them as part of cl. (ii), to reflect the probable intent of Congress.
Subsec. (e). Pub. L. 109–58, §1345(c), added subsec. (e). The words following "subparagraph (A) for the taxable year," in subsec. (e)(6)(B)(iii) are shown as a flush provision notwithstanding directory language showing them as part of subcl. (II), to reflect the probable intent of Congress. Former subsec. (e) redesignated (f).
Pub. L. 109–58, §1344(a), substituted "2008" for "2006".
Subsec. (f). Pub. L. 109–58, §1346(a), added subsec. (f). Former subsec. (f) redesignated (g).
Pub. L. 109–58, §1345(c), redesignated subsec. (e) as (f).
Subsec. (g). Pub. L. 109–58, §1346(a), redesignated subsec. (f) as (g).
Pub. L. 115–123, div. D, title I, §40407(a)(2), Feb. 9, 2018, 132 Stat. 149 , provided that: "The amendment made by this subsection [amending this section] shall apply to fuel sold or used after December 31, 2016."
Pub. L. 114–113, div. Q, title I, §185(a)(2), Dec. 18, 2015, 129 Stat. 3073 , provided that: "The amendment made by this subsection [amending this section] shall apply to fuel sold or used after December 31, 2014."
Pub. L. 113–295, div. A, title I, §153(b), Dec. 19, 2014, 128 Stat. 4021 , provided that: "The amendment made by this section [amending this section] shall apply to fuel sold or used after December 31, 2013."
Pub. L. 112–240, title IV, §405(c), Jan. 2, 2013, 126 Stat. 2340 , provided that: "The amendments made by this section [amending this section and sections 6426 and 6427 of this title] shall apply to fuel sold or used after December 31, 2011."
Pub. L. 111–312, title VII, §701(d), Dec. 17, 2010, 124 Stat. 3310 , provided that: "The amendments made by this section [amending this section and sections 6426 and 6427 of this title] shall apply to fuel sold or used after December 31, 2009."
"(1) In general.-Except as otherwise provided in this subsection, the amendments made by this section [amending this section and sections 6426 and 6427 of this title] shall apply to fuel produced, and sold or used, after December 31, 2008.
"(2) Coproduction of renewable diesel with petroleum feedstock.-The amendment made by subsection (d) [amending this section] shall apply to fuel produced, and sold or used, after the date of the enactment of this Act [Oct. 3, 2008]."
Amendment by section 203(b) of Pub. L. 110–343 applicable to claims for credit or payment made on or after May 15, 2008, see section 203(d) of Pub. L. 110–343, set out as a note under section 40 of this title.
Amendment by section 15321(f) of Pub. L. 110–246 applicable to fuel produced after Dec. 31, 2008, see section 15321(g) of Pub. L. 110–246, set out as a note under section 40 of this title.
Pub. L. 109–58, title XIII, §1344(b), Aug. 8, 2005, 119 Stat. 1052 , provided that: "The amendments made by this section [amending this section and sections 6426 and 6427 of this title] shall take effect on the date of the enactment of this Act [Aug. 8, 2005]."
Pub. L. 109–58, title XIII, §1345(e), Aug. 8, 2005, 119 Stat. 1055 , provided that: "The amendments made by this section [amending this section] shall apply to taxable years ending after the date of the enactment of this Act [Aug. 8, 2005]."
Pub. L. 109–58, title XIII, §1346(c), Aug. 8, 2005, 119 Stat. 1056 , provided that: "The amendment made by subsection (a) [amending this section] shall apply with respect to fuel sold or used after December 31, 2005."
Section applicable to fuel produced, and sold or used, after Dec. 31, 2004, in taxable years ending after such date, see section 302(d) of Pub. L. 108–357, set out as an Effective Date of 2004 Amendment note under section 38 of this title.

References: §202
 §202
 §15321
 §202
 §202
 §203
 §202
 §202
 §202
 §15321
 §202
 §202
 §202
 §1346
 §1345
 §1345
 §1345
 §1345
 §1345
 §1344
 §1346
 §1345
 §1346
 §40407
 §185
 §153
 §405
 §701
 §1344
 §1345
 §1346