Let me share some insight about tracking mileage in QuickBooks Online, @userrdannyboy99.
The best way to keep track of mileage for taxes is to have a contemporaneous mileage log. It means you have to record it every day along with a description including the time and date of each trip. At the end of the year, figure out your kilometers driven for work as a percentage of your total kilometers driven.
I also suggest getting in touch with your accountant so you’ll get the best advice on which best to track mileage for taxes.
I’ll leave you an article below for your reference on how to Record your business miles and vehicle expenses in QuickBooks:
Don't hesitate to post a question below if you need further assistance. I'm always here to help. Take care always.