NEW YORK (AP) — Businesses big and small have started receiving tariff refunds after the U.S. Supreme Court ruled that President Donald Trump lacked the constitutional authority to impose higher import taxes on goods from nearly every other country.

The process could grind to a halt, however, after the Trump administration said Friday that it intended to appeal a federal judge's order to allow all companies that paid the invalidated duties to seek refunds, not just the ones that filed lawsuits.

READ MORE: Federal court rules against Trump's new global tariffs

Until the Department of Justice informed the judge of its planned appeal, the refund system overseen by U.S. Customs and Border Protection had been working fairly smoothly. Refunds reached the bank accounts of the first successful applicants on May 12, about three weeks after importers and their customs brokers could start submitting claims through an online system, according to CBP.

Applications for refunds totaling $85 billion — more than half of the $166 billion the agency estimated the government owes to companies that paid the tariffs on imported goods — were accepted for processing as of May 22, CBP reported in a legal filing earlier in the week. It said it had so far directed the Treasury Department to issue $20.6 billion in refunds.