Venezuelans have increasingly taken to using dollars or euros for day-to-day transactions, as hyperinflation erodes the value of the crisis-torn country's bolivar currency.

The law allows the government to impose a tax ranging between 5% and 25% on goods purchases made in foreign currency, on top of the 16% value added tax already in place.

While the use of foreign currency was once banned in Venezuela, socialist President Nicolas Maduro last year relaxed exchange controls in a bid to boost commerce and industry in the face of a biting recession and U.S. sanctions. Maduro even called the use of dollars an "escape valve."

"Because of this tax, goods purchased in dollars will come out more costly now," said Juan Castillo, a local tax lawyer.

The move was approved by the Constituent Assembly, a body consisting of government supporters created by Maduro in 2017. The opposition-controlled National Assembly, whose rulings are systematically ignored by Maduro, calls the Constituent Assembly illegitimate.

While dollars are now widely accepted throughout Venezuela, prices on sales receipts are still listed in bolivars.

(Reporting by Mayela Armas; Writing by Luc Cohen; Editing by Tom Brown)