Does discount on a car make it eligible for federal tax credit?

Ok so Tesla X base is just below $80K, making it eligible for the $7500 tax credit at the time of purchase. But if you add anything to the car or change the color then it'll be over $80K and not eligible for tax credit. Question I have is, if I get some discount from Tesla for some prior issues with them, and if that makes a $85K car under $80K, do I still qualify for tax credit?