Huawei Technologies Co. 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.

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.