Buying a car out-of state

Am an Illinois resident who might purchase a new car in Wis.

Is the invoice calculated on the lower Wisconsin state tax? Or will the deaership figure and collect the higher Illinois state tax?