Congress extend EV-related tax credits for charging stations, and electric motorcycles that had expired on December 31, 2016. The new date is December 31, 2017. So, in other words, if you made a qualifying purchase in 2017 you can claim it .
The tax credit for charging stations (EVSE) is 30% (up to $1,000), while for electric motorcycles its 10% (up to $2,500).
Note that the extension is only retroactive. For right now it does not include the year 2018.