Sales Tax question

So I went into the dealership today to work out the rest of the deal on my trade in and buying a 2024 Kia Carnival. I had some concerns with the sales tax numbers as I was not able to come up with the same numbers. The dealership told me twice that it is 8.6% for their location so I used that number.

The problem started right away as the guy who I was working with was out of the office with family sickness so they gave me someone else to work with. I asked about sales tax as it was not adding up when I did it myself and if he could explain the transit tax as I have not seen that on any other offer letters.

The poor guy didn’t understand the numbers so he got a sales manager to come over and looked at my offer letter. After a few minutes, he said it was correct as the sales tax is based on MSRP (Vehicle Price on attachment) before any discounts or rebates, only the trade in would change that. Even those numbers don’t match up. I asked to explain that and he kept dodging from answering.

All the other dealers did the sales tax after all the discounts and rebates. To my understanding at least in AZ, it is the vehicle price plus any add ons, minus discounts, rebates, and trade in.

Am I correct on that or what am I missing here?