China hits back after Trump claims it is 'violating' tariff truce.

US President Donald Trump has accused China of violating a truce on tariffs struck earlier this month, a claim China has responded to with its own accusations of US wrongdoing.

Washington and Beijing agreed to temporarily lower tit-for-tat tariffs after talks in Geneva.

But Trump said on Friday that China had "totally violated its agreement with us". He did not give details but US Trade Representative Jamieson Greer later said China had not been removing non-tariff barriers as agreed under the deal.

Beijing's response on Friday did not address the US claims directly but urged the US to "cease discriminatory restrictions against China".

The strong statements from both sides have raised concerns that trade tensions could again escalate between the world's two largest economies despite recent negotiations.

Trump on Friday said in a Truth Social post that the tariffs his administration had imposed had been "devastating" for China and so he had "made a FAST DEAL" to save them from "what I thought was going to be a very bad situation".

"Everybody was happy! That is the good news!!! The bad news is that China, perhaps not surprisingly to some, HAS TOTALLY VIOLATED ITS AGREEMENT WITH US. So much for being Mr. NICE GUY!"

He did not expand on his accusation, but Ambassador Greer later told TV network CNBC that China was yet to properly roll back other trade restrictions it had levied on the US.

Greer said when China responded to the US's tariffs with its own, they also put in place countermeasures such as putting some US companies on blacklists and restricting exports of rare earth magnets, a critical component in cars, aircraft and semiconductors.

"They removed the tariff like we did but some of the countermeasures they've slowed on," Ambassador Greer said.

He added the US had been closely watching China to make sure it would comply with the deal and they were "very concerned" with the progress.