If you do not have an invitation letter from a Spanish resident or citizen. You will need a confirmed hotel reservation. Greetings.
If you go on tourism, you only need a hotel reservation, travel insurance, roundtrip ticket. As well as 65 euros for each day that you are going to be in Spain.
Thanks! Your answer is awaiting moderation.