WASHINGTON (Reuters) - Huawei Technologies Co Inc filed a lawsuit against the U.S. Commerce Department on Friday challenging whether telecommunications equipment it sent from China to the United States, and then back to China, is covered by Export Administration Regulations, according to a court filing.

FILE PHOTO: A Huawei company logo is seen at the Shenzhen International Airport in Shenzhen in Shenzhen, Guangdong province, China June 17, 2019. REUTERS/Aly Song

The lawsuit is the latest salvo in a battle between the U.S. government and Huawei. Washington says the Chinese company’s telecommunications gear could be used by Beijing to spy. Huawei denies that is the case.

In the lawsuit, Huawei said that it shipped telecommunications equipment from China, including a computer server and Ethernet switch, to a testing laboratory in California. After the testing was done, the equipment was shipped back to China. No application for a license was made because none was needed, the lawsuit claims.

But the equipment was seized in Alaska by the U.S. government, and no decision has been made about whether a license is required to ship it, the filing said.

“The equipment, to the best of HT USA’s knowledge, remains in a bureaucratic limbo in an Alaskan warehouse,” Huawei said in its lawsuit.

The Commerce Department did not immediately respond to a request for comment.

Huawei contends that the equipment did not require a license because it did not fall into a controlled category and because it was made outside the United States and was being returned to the same country from which it came.

Huawei asked for the equipment to be either released for shipment or for the Commerce Department to decide that it was shipped illegally.

In May, the Trump administration added Huawei to the entity list, barring it from buying needed U.S. parts and components without U.S. government approval. U.S. President Donald Trump has said the United States could resolve complaints about Huawei as part of a trade deal.

Huawei Chief Financial Officer Meng Wanzhou, daughter of the company’s founder, has been detained in Canada since December on a U.S. warrant. She is fighting extradition on charges that she misled global banks about Huawei’s relationship with a company operating in Iran.

Shortly after her detention, Chinese authorities detained two Canadians citizens, charging them with espionage.