According to a discussion on the Tenerife forum, you don't need any documents. You just go to the ayuntamiento where the car is registered and tell them the registration number and they'll tell you how much is owing, which you then can pay.
Are you going to try and claim the money back off the previous owner?