Starbucks finally decided to pay corporate tax in the U.K., but not because it's being hounded by the U.K. government. It decided to on its own, it promises.

How much is too much to pay in corporate tax? For Starbucks(NASDAQ:SBUX), the answer used to be "any." The company managed to go five years without paying corporate tax in the U.K. because the business wasn't profitable. On Sunday, it broke the streak and forked over 5 million pounds in taxes to the British government.

The company released a statement with the payment, clarifying that it was the voice of customers, not the condemnations of the Prime Minister, that caused it to take such a generous view toward taxation. In fact, the company pointed out that it was really doing everyone a favor, since it "decided to forgo certain deductions" just so it could pay its loyal customers back. How sweet.

The tricks of the tradeThe British coffee game has a decent number of players, and while Starbucks is a leader, it's by no means the out-and-out dominator that it seems to be in the United States. But that position isn't the reason Starbucks has had trouble being profitable. The problem is the European Economic Zone and the Netherlands.

Starbucks' British operation is a separate business, wholly owned by Starbucks. That U.K. business is overseen by Starbucks Coffee EMEA, based in the Netherlands. For Starbucks in the U.K. to use the Starbucks logo, name, and intellectual property, Starbucks EMEA charges Starbucks U.K. a royalty fee. As it turns out, that fee -- along with beans, milk, rent, and all the usual costs -- means that the U.K. business can't seem to turn a profit. Dang.

Now, as a complete coincidence, the Netherlands doesn't charge a withholding tax on royalty payments. So Starbucks EMEA can take all that cash from the U.K., and send it off to Starbucks global. It pays no tax in the U.K. because of the losses incurred for sending cash to the Netherlands, where is receives favorable tax treatment on the income that it then sends off to its parent.

The other playersThe 10 million pounds that Starbucks is planning to pay this year in taxes to the U.K. will more than double the total tax paid by the company since it started operating in Britain. In the company's defense, it's been running this unprofitable business since only 1998 -- 15 years. Up to this point, the company has paid just 8.6 million pounds. The push from its customers finally put Starbucks over the edge, it seems, and the company has committed to paying another 10 million pounds next year.

Amazon.com(NASDAQ:AMZN) and Google(NASDAQ:GOOGL) have also been named and shamed by the British government for their tax practices. Last month, it came to light that Amazon paid less in tax last year than it received in government grants -- 2.4 million pounds versus 2.5 million pounds. The small payout was due to the company's corporate structure, and the European business is based in Luxembourg, even though it employs 11 times as many people in the U.K.

Google has also been faulted, having made $18 billion in revenues over a five-year period and paying out only $16 million in taxes. Earlier this month, a U.K. watchdog organization said that Google should be "fully investigated" because of its low payments.

The bottom lineAs I mentioned, the problem isn't really the companies. Sure, they could pay more taxes voluntarily, but that doesn't make sense -- they are, after all is said and done, businesses. The problem is that Europe doesn't have anything approaching a common system for taxation, and the European Economic Zone makes it easy for companies based in one place to do business in another. Cash crosses borders with almost no resistance, and governments have no idea what's walking out the door.

I think Starbucks' recent move is a bit melodramatic, but in a way the company is fair to make the point. It's paying taxes because it chooses to, not because it has to. Until the U.K. can see that that is the underlying issue, companies are going to continue sending cash everywhere but to the tax man.

How you can pay less to the tax manTax increases that took effect at the beginning of 2013 affected nearly every American taxpayer. But with the right planning, you can take steps to take control of your taxes and potentially even lower your tax bill. In our brand-new special report "How You Can Fight Back Against Higher Taxes," the Motley Fool's tax experts run through what to watch out for in doing your tax planning this year. With its concrete advice on how to cut taxes for decades to come, you won't want to miss out. Click here to get your copy today -- it's absolutely free.