You could use either one.
Enter all your mileage and/or expenses without regard for your reimbursement.
Then add the reimbursement (amount company paid for your gas) in the following screens that asks "Did any of your employers reimburse you for any of your expenses."