Depends on your jurisdiction. Least amount of headaches in those where Bitcoin is 0% taxed of course.
But normally, if you get salary in Bitcoin officially, then it counts as if:
1. You got an equivalent EUR salary
2. You purchased BTC with that EUR salary (price recorded at transaction timestamp)