Jeff Bezos
Amazon CEO has made his Instagram debut showing off the Blue Origin's new rocket factory much to fans' delight. Drew Angerer/Getty Images

President Donald Trump is renewing his attacks on e-commerce giant Amazon, and says the company is "doing great damage to tax-paying retailers". Trump tweeted that "towns, cities and states throughout the US are being hurt – many jobs being lost!"

The president has criticised the company and CEO Jeff Bezos, who also owns The Washington Post. Many traditional retailers are closing stores and blaming Amazon for a shift to buying goods online.

But the company has been hiring thousands of warehouse workers on the spot at job fairs across the country. Amazon has announced goal of adding 100,000 full-time workers by the middle of next year.

Trump has in the past tweeted that Amazon was not paying "internet taxes".

But it's unclear what he meant by that. Amazon.com collects state sales taxes in all 45 states with a sales tax and the District of Columbia, according to its website.

State governments have sought to capture sales taxes lost to internet retailers, though they have struggled with a 1992 Supreme Court ruling that retailers must have a physical presence in a state before officials can make them collect sales tax.

The issue arose recently in South Carolina, which has pursued legal action to recoup tax revenue it says it's owed. This summer, the US Department of Revenue filed a case with the Administrative Law Court, alleging that Amazon had failed to collect taxes on third-party merchant sales.

Third-party merchant sales involve items that can be bought on Amazon.com, but the company acts solely as a middleman between buyers and sellers.

Amazon processes the payments and offers other support to the parties involved.

The state claims that Amazon owes it $12.5m (£9.7m) in taxes, penalties and interest from first quarter of last year alone, according to the complaint obtained by The Associated Press.

Amazon had a five-year moratorium on taxes, the state wrote in the complaint, giving the company "fair warning that its sales of tangible personal property in South Carolina subjected it to South Carolina's taxing jurisdiction".

The state's case is in the early stages, and a court date has not been set.

For years, the Seattle company fought against collecting sales taxes from its customers. According to the National Conference of State Legislatures, South Carolina was among 10 states that initially gave Amazon a temporary tax reprieve in exchange for jobs and investment, voting in 2011 to give the company until the beginning of 2016 before the state levied taxes.

According to the conference, that deal made South Carolina the last state to collect among those where officials cut similar deals with Amazon.

The company promised to create at least 2,000 full-time jobs and invest $125m by 31 December 2013. It opened two distribution centres in the state.

Max Behlke, who has been tracking this issue, told AP Wednesday (16 August) that dozens of states have been grappling with how to collect taxes from entities like Amazon, with several heading to court over it in recent years.

As for the South Carolina case, Behlke said: "If the court end up ruling in favour of the state, then I can almost guarantee you that we're going to see other state tax departments handling it similarly".

Amazon did not immediately respond to an emailed request for comment.