Since July, I'm working remotely from Spain for a French company under a French contract. I'm Spanish, I've never lived in France. All of the salary related taxes are payed to the French government.
I know I'll have to do some kind of income tax in Spain, but I'm not sure if my situation is legal or what kind of taxes I'll have to pay.
Update
These are the links to the Double Taxation Treaty between Spain and France
From what I understand, Article 15 is what affects me. Truth is, Legal text is beyond my capacity, I don't understand its meaning even in my own language, but I tend to interpret that I shouldn't pay taxes in France. I'll definitely look for legal advice.