Earlier quoted context omitted.
That's an interesting case to bring up. In the UK, it is very common (I'd go as far as to say it's the norm) for software contractors to start a single-person limited company and pay themselves through a mixture of salary and dividend in order to optimise their taxes. I wonder how many of these people consider that they are committing "tax avoidance" and "exploiting legal loopholes" too.
Maybe 15 years ago. IR35 has made that approach tax-neutral, at best.
Do you pay yourself dividends from your company? Or do you use your profits to increase your director salary so that you pay tax at the same rate as a full-time PAYE employee?
Not meaning to call you out personally on this, but I want to highlight that "tax avoidance" is a weasel word. Most people can and do optimise their taxes if the law allows it and don't consider themselves to be "avoiding tax" or acting immorally.