You have to be provided of an original (al) current document that identifies you, that may be your personal ID or passport (Spanish or from whichever country of the European Union). If you are non-resident, you will have to bring your original and current foreigner Identification Number (N.I.E.). If you are using a power or letter of attorney, you will have to bring the authorised copy of the deed, and if you act on behalf of a Company, the authorised copy of the constitution and the appointment as administrator. Furthermore, each document itself (selling, will, inheritante, and so on) has his own requirements, that you can check at your Notary.