> As somebody from Germany, establishing a company is a bit tedious and bureaucratic.
I'm fairly sure the German tax authority will claim that you have a local German branch office since you live and work there.
That might be OK tax wise?
But I'd recommend starting with the tax situation in Germany.
Having limited liability through some kind of corporation can be nice.
But on the other hand, it becomes harder in Germany to pay out a varying salary as profits fluctuates throughout the year since the German tax authorities will see that as an illegal dividend payment from your company.
From this perspective it can be easier to set up some kind of sole proprietorship. Easier accounting etc and can pay out profits easier. But you get the personal liability.
This is not hard advice, just some things to point out that it gets complicated fast. So I'd recommend spending a few hundred euros on getting advice from a tax professional to begin with.
In some countries, it's common to register a sole proprietorship in addition to a limited liability company and bill the company from the sole proprietorship to avoid double taxation. However, I suppose this would not be allowed in Germany.
> I'm fairly sure the German tax authority will claim that you have a local German branch office since you live and work there. That might be OK tax wise?
If you work from home, your office at home usually does not qualify as a company office unless you make it one. In particular, that alone would not force you to pay Gewerbesteuer to the city, which is the tax specifically addressing local presence.
However, you're touching upon a very important point: If you live in Germany and your Estonian company pays you a salary (as opposed to dividends), you will be a proper employee and your company will also have to pay social security for you, and this might complicate matters significantly. In fact, this will likely (in the German tax authorities' eyes) establish that your Estonian company partially operates in Germany (which is a much broader thing than having an actual physical branch office). This then brings you back to square 1 – your company having to file taxes in Germany, too. Someone below linked https://eidel.io/posts/estonias-e-residency-is-awesome-and-s... which seems to confirm this.
> German tax authorities will see that as an illegal dividend payment from your company.
Could you elaborate? How is this illegal if you declare taxes?