Section 45X of the Internal Revenue Code, enacted under the Inflation Reduction Act of 2022, provides tax credits for making specific types of clean-energy components within the United States, including solar and wind energy components, inverters, qualifying battery components, and applicable critical minerals. The credit applies to the production and sale of certain qualifying components and minerals produced and sold after December 31, 2022. However, due to phaseouts, no credit, other than for critical minerals, is available after December 31, 2032.