The vehicle price is not the only cost. Add the transfer fee, road tax, insurance and a maintenance reserve.
Transfer
The DGT fee depends on the region and the procedure. If you use a gestor, add their fee. The buyer pays the transfer tax.
MOT and insurance
Check the next MOT date. Arrange insurance before driving and compare cover: third-party liability, glass, theft, fire and assistance.
Maintenance
Set aside a fund for tyres, brakes, oil and servicing. A vehicle with a full history is less likely to surprise you.