This is how corporate taxes work in Estonia. There is no income tax, but dividends/distribution is taxed. I think it's great overall.
However there are some loopholes that companies still figure out. In Estonia's case we have big international banks that found a juicy loophole. The local Estonian branches pay no corporate tax, but they also never pay dividends. Instead they give out a no interest loan to their foreign mothership and have no intention of ever getting it back. This loophole has since been patched, but it shows that companies will still hire teams of lawyers to find new loopholes to not pay a single cent.
However there are some loopholes that companies still figure out. In Estonia's case we have big international banks that found a juicy loophole. The local Estonian branches pay no corporate tax, but they also never pay dividends. Instead they give out a no interest loan to their foreign mothership and have no intention of ever getting it back. This loophole has since been patched, but it shows that companies will still hire teams of lawyers to find new loopholes to not pay a single cent.