You don't "write it off", rather what you do is set it up as an Asset in the Business section and then you take depreciation cost over the next five years. To do so, go to the Business Income & Expenses, and update your business. Click on Business Assets and add your truck.