You can deduct it in 2017, which is when you paid for the purchase.
In 2018, you could take a Sec. 179 deduction.
Here's more info about that:
https://ttlc.intuit.com/replies/5387864
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"