Yep I agree, and honestly it would be a ridiculously simple fix.That seems about right. The only thing I would say is that the US system seems to benefit entities (whether individuals, charities/foundations/non-profits or businesses) that have the ability to use any of the thousands of loopholes in the tax code to avoid taxation, and it seems to hit hardest on normal people, small businesses, honest people etc. In europe, it is certainly a lot harder to avoid VAT, since it is collected on nearly everything and in that way is a regressive tax. But in exchange, the things that are the biggest burden for lower income families (education, health care, senior care) are heavily subsidized by the government. I hate tax just as much as everyone else, but it is kind of funny to see that the nations in the OECD with the highest taxes are also the happiest statistically. The top ten in the world happiness report are all high-tax nations apart from Switzerland, which is pretty close to the US. https://en.wikipedia.org/wiki/World_Happiness_Report
This is not to force a causation, just an interesting correlation. The politics behind all this are extremely fraught, and the last thing I want to do is to get into an argument, but it just came up.
In any case, the sales tax issue is an interesting one in the states, and I can see what the Supreme Court was thinking when they decided to make it apply to internet sales, still, it is frustrating when these kinds of taxes are applied towards consumers when, for example, companies can easily shift their profits to tax havens all over the world with minimal fuss.
If you earn money in a country. You are taxed in that country. Simple.
But what they allow is "licensing" the IP to a foreign country call it an expense so there is no profit in the country they made the money in and then the profit is calculated where the IP is licensed.