Amazon has settled its long-running tax dispute with the French authorities, the company has announced.
No figure has been disclosed in the settlement, though France had been demanding nearly €200m (£177m).
The dispute goes back to 2012, with the French government seeking back-taxes and penalties for the way Amazon had distributed income between different countries to minimise its tax bill.
Amazon channels most of its European sales through Luxembourg, which has extremely low levels of corporate taxation.
€250m Luxembourg tax order
In October Luxembourg was ordered to recover €250m in back taxes from Amazon by EU competition regulators.
However the French authorities lost a case it was pursuing against Google for €1.1bn after a court ruled the company did not have a big enough presence in France, prompting the out-of-court settlement with Amazon.
Apple was fined €13bn by the EU in 2016 for channelling its European sales through Ireland at a tax rate of just 1%, which the EU said amounted to illegal state aid.
Amazon was trading at 1431 at close on Friday, after a steep fall from an all-time high of 1490 on Thursday, when it smashed market expectations with record-breaking fourth-quarter results.