What amount did you agree to pay for the car?
IMO, morally, you should pay... you know (and have admitted in you original post) that you were undercharged. I know you have only just realised but if the boot was on the other foot and you had accidentally been overcharged you would be demanding that they pay you back.