..it is very clear, probably the only one simple thing in tax rules :-)

You pay tax in the country where you live (you are resident).

S.