There shall be allowed as a credit against the tax imposed by this chapter for the taxable year an amount equal to 30 percent of the cost of any qualified alternative fuel vehicle refueling property placed in service by the taxpayer during the taxable year.
So much of the credit which would be allowed under subsection (a) for any taxable year (determined without regard to this subsection) that is attributable to property of a character subject to an allowance for depreciation shall be treated as a credit listed in section 38(b) for such taxable year (and not allowed under subsection (a)).
For purposes of this subtitle, the basis of any property for which a credit is allowable under subsection (a) shall be reduced by the amount of such credit so allowed (determined without regard to subsection (d)).
In the case of any qualified alternative fuel vehicle refueling property the use of which is described in paragraph (3) or (4) of section 50(b) and which is not subject to a lease, the person who sold such property to the person or entity using such property shall be treated as the taxpayer that placed such property in service, but only if such person clearly discloses to such person or entity in a document the amount of any credit allowable under subsection (a) with respect to such property (determined without regard to subsection (d)). For purposes of subsection (d), property to which this paragraph applies shall be treated as of a character subject to an allowance for depreciation.
For purposes of this section, any reference to section 179A shall be treated as a reference to such section as in effect immediately before its repeal.
The Secretary shall prescribe such regulations as necessary to carry out the provisions of this section.
This section shall not apply to any property placed in service after December 31, 2017.