To claim miles as tax-deductible, the primary purpose of the trip must be to benefit your business. Therefore, deduct the miles from errands for car maintenance on the car you use for your DoorDash or Uber Eats side gigs. Deduct these miles even if you stop at the grocery store to pick up a few things on the way back.