If a sole-proprietor buys a vehicle primarily for business purposes, what is the best way to account for its expenses come tax time, including the vehicle loan/purchase?

If a sole-proprietor buys a vehicle primarily for business purposes, what is the best way to account for its expenses come tax time, including the vehicle loan/purchase? The vehicle is primarily used for business about 80% of the time and some personal use approximately 20%.