You should contact one of the following entities (depending on the city you are in Spain):
They will inform you about what you need (documents) for your particular situation. Finally, you should know that the Legal System in Spain considers that having a paid job and at the same time being a student is an exceptional situation. This means that one has to prove that the job is not necessary for one’s living and that it does not take time away from attending the classes and studying.