The declaration is submitted and the tax is paid by entrepreneurs registered for VAT purposes in Estonia, including non-residents.
Note that this post was (partially) written with the help of AI. It is always useful to review the original source material, and where needed to obtain (local) advice from a specialist.