Income Tax Payment Advice required
I will be moving to Spain in July, renting for 9 months as waiting for a new build to be completed, I will be continuing to work for the company I currently work for in the UK, as I currently work part time for them from home anyway, and they have kindly agreed to keep me on the payroll once I relocate to Spain, I will also attend the UK for three days a month to complete work that can only be done here in the UK, and attend a monthly with all the staff, so question is, I will still be paying tax in England as still employed by a British company here, will I have to pay any taxes in Spain also? I understand that there is currently a double tax treaty between Spain and the UK, but I do want to ensure that I do everything legally and as required by Spanish law, can anyone kindly advise please?
I currently work part time and do approximately 14 days a month, I currently have 3 and a half years to go until I officially can retire with my UK state pension, and also want to ensure that I continue to pay my National Insurance contributions in the UK for at least another year to ensure that I qualify for the full state pension, I know that the future after Brexit is cloudy with taxes etc for expats in Spain, but I need to know how things stand currently please.
I apologise for the layout of the above, do not know why it formatted as it has!