The itemized deduction subject to the 2% rule is the only way to deduct work related mileage. There's no special trick in cases where you get a car allowance. Basically, you got a raise or bonus to help you pay your car expenses, but you deduct them under the same rules as everyone else.