The European Union has said Amazon should pay €250m (NZ$470m) to Luxembourg after receiving years of illegal tax treatment.
EU competition commissioner Margrethe Vestager said that around three quarters of the online retail giant's profits were not taxed by Luxembourg under a deal agreed between the company and the Duchy between 2003 and 2011.
This allowed the company to gain an unfair advantage by paying four times less than other companies for eight years.
Amazon recorded its sales across the EU in Luxembourg, but was able to move its profits to a separate entity that allowed it to send money to the company's headquarters in the US, the commission said. Ms Vestager said this was illegal under state aid rules and ordered Luxembourg to recoup the money, plus interest.
In a separate announcement on Wednesday, the commission said it would take Ireland to the European Court of Justice for failing to recoup €13 billion (NZ$21b) in taxes from Apple. It comes a year after Ms Vestager said that Ireland had given Apple preferential treatment that allowed it to avoid taxes on European profits.