WASHINGTON — The US Treasury department on Monday dropped its designation of China as a currency manipulator days before top officials of the world’s two largest economies were due to sign a preliminary trade agreement to ease an 18-month-old tariff war.

The widely expected decision came in a long-delayed semi-annual currency report, reversing an unexpected move by Treasury Secretary Steven Mnuchin last August at the height of US-China trade tensions.

Mr. Mnuchin had accused China of deliberately holding down the value of its yuan currency to create an unfair trade advantage, just hours after President Donald Trump, angered at the lack of progress in trade negotiations, had also accused China of manipulating its currency.

The Treasury department had not labeled China a currency manipulator since 1994. Beijing had recently met just one of the department’s three criteria needed for such a designation — a large bilateral trade surplus with the US.

In its latest currency report, the Treasury said that as part of the Phase 1 trade deal, China had made “enforceable commitments to refrain from competitive devaluation” and agreed to publish relevant data on exchange rates and external balances.

Chinese Vice Premier Liu He arrived in Washington on Monday for a White House ceremony to sign the trade deal with Mr. Trump. People familiar with the negotiations said that although the manipulator designation had no real consequences for Beijing, its removal was an important symbol of goodwill for Chinese officials.

US Trade Representative Robert Lighthizer on Monday told Fox Business that the translation of the US-China trade agreement was almost completed and the text of the deal would be made public on Wednesday before the ceremony.

The currency report said the Chinese yuan, also known as the renminbi, had depreciated as far as 7.18 per US dollar in early September, but had rebounded in October and was currently trading at about 6.93 per dollar.

“In this context, Treasury has determined that China should no longer be designated as a currency manipulator at this time,” the report said.

It said, however, China should take decisive steps to avoid a persistently weak currency and allow greater market openness to strengthen its long-term growth prospects.

There was no immediate reaction from Beijing. In August, China’s central bank denied it had intervened to weaken the yuan, and said Washington’s designation of China as a currency manipulator seriously harmed international rules.

Mark Sobel, a former senior Treasury official and adviser to the London-based Official Monetary and Financial Institutions Forum or OMFIF economy policy think tank, said China “was errantly designated at a moment of presidential pique.”

“It should never have happened in the first place,” he said. “China manages, but does not manipulate its currency.”

Mr. Sobel said China’s current account surplus was small as a share of gross domestic product and it had not intervened in currency markets for years. The August move came at a time when the yuan had fallen against the dollar because of market apprehension over Mr. Trump’s “ratcheting up of trade tariffs,” he said.

The Treasury report also cited continued concerns about the currency practices of eight other countries — Germany, Ireland, Italy, Japan, Malaysia, Singapore, South Korea and Vietnam — and added a ninth, Switzerland, to its list.

It raised particular concerns about Germany, the world’s fourth-largest economy, which it said continued to have the world’s largest current account surplus and was slipping into recession. It said the German government had a responsibility to undertake tax cuts and boost domestic investment.

The Treasury report said the continued strength of the US dollar was “concerning,” given the International Monetary Fund’s judgment that the dollar was overvalued on a real effective basis.

It said the real dollar remains about 8% above its 20-year average, noting that sustained dollar strength would likely exacerbate persistent trade and current account imbalances for the United States.

US Senate Democratic leader Chuck Schumer, a fierce critic of China’s currency and trade practices, blasted the Trump administration for its decision to “back down” from labeling China a currency manipulator.

“China is a currency manipulator — that is a fact,” Mr. Schumer said in a statement. “Unfortunately, President Trump would rather cave to President Xi (Jinping) than stay tough on China.”

The yuan reached five-month highs earlier on Monday ahead of the expected signing of the trade deal. — Reuters