I'm a Canadian citizen going to the UK on a Tier 5 YMS visa in a few weeks. When I put my notice in, my boss surprised me by asking me if I'd be willing to work remotely for the company while I'm living in the UK. The company is under the impression that they could pay me as an hourly employee, take off deductions for Canadian taxes as they would normally do and deposit my pay into my Canadian bank account. The company does not have offices in the UK (or any other country).
But how does this work with UK taxes, then? I do not want to avoid taxes wherever they're due, and I know that Canada and the UK have a tax treaty so I shouldn't be double-taxed if I do my taxes right. If I'm working as an employee (not a contractor, not a freelancer) for my Canadian employer, do I have to register as self-employed in the UK to file taxes that way, or is this sort of thing simply not allowed?