body: I am a student, and I am thinking to start working (freelancing) on an online platform where I will deliver online courses that people will pay to have access.
  
  
  The platform, as far as I am aware does not pay the taxes on my income, but they do get a small portion from my sales.
  
  
  As a student I spent most of the time of the year in the UK. However, several months of the year I am spending them in my home country which is in the European Union. 
  
  
  If I will produce content (video creation etc) in both countries (some times in the UK and some times in my home country) in which country should I pay my taxes? So based on my income and the expenses I will have from this freelancing, I would like to pay my taxes in my home country, since in 5-10 years I will probably return permanently in my home country.
  
  
  Is it legal to have my income going to a bank in my home country and therefore pay taxes to my home country's government if some if not most of the content I will produce will be in the UK?
  
  
  Note that I will not own a company for this freelancing at all, it will be just a person producing online courses in an online platform.
  
  
  Thanks
  
  
  
title: Where to pay taxes if working remotely and freelancing