FUKUOKA, Japan (Reuters) - Group of 20 finance ministers agreed on Saturday to compile common rules to close loopholes used by global tech giants such as Facebook to reduce their corporate taxes, a copy of the bloc’s draft communique obtained by Reuters showed.

Facebook, Google, Amazon, and other large technology firms face criticism for cutting their tax bills by booking profits in low-tax countries regardless of the location of the end customer. Such practices are seen by many as unfair.

The new rules would mean higher tax burdens for large multinational firms but would also make it harder for countries like Ireland to attract foreign direct investment with the promise of ultra-low corporate tax rates.

“We welcome the recent progress on addressing the tax challenges arising from digitization and endorse the ambitious program that consists of a two-pillar approach,” the draft communique said. “We will redouble our efforts for a consensus-based solution with a final report by 2020.”

Britain and France have been among the most vocal proponents of proposals to tax big tech companies that focus on making it more difficult to shift profits to low-tax jurisdictions, and to introduce a minimum corporate tax.

This has put the two countries at loggerheads with the United States, which has expressed concern that U.S. Internet companies are being unfairly targeted in a broad push to update the global corporate tax code.

“The United States has significant concerns with the two corporate taxes proposed by France and the UK,” U.S. Treasury Secretary Steven Mnuchin said on Saturday at a two-day meeting of G20 finance ministers in the Japanese city of Fukuoka.

“It sounds like we have a strong consensus” about the goals of tax reform, Mnuchin later said.

“So now we need to just take the consensus across here and deal with technicalities of how we turn this into an agreement.”

Mnuchin spoke at a panel on global taxation at the G20 after the French and British finance ministers voiced sympathy with his concerns that new tax rules do not discriminate against particular firms.

Big Internet companies say they follow tax rules but have paid little tax in Europe, typically by channeling sales via countries such as Ireland and Luxembourg, which have light-touch tax regimes.

The G20’s debate on changes to the tax code focus on two pillars that could be a double whammy for some companies.

The first pillar is dividing up the rights to tax a company where its goods or services are sold even if it does not have a physical presence in that country.

Slideshow ( 6 images )

If companies are still able to find a way to book profits in low tax or offshore havens, countries could then apply a global minimum tax rate to be agreed under the second pillar.

The path to a final agreement is still fraught with difficulty because of disagreement on a common definition of a digital business and on how to distribute tax authority among different countries.

“There are differences between the United States and United Kingdom over pillar one. As for pillar two, there are also differences in views within the Group of 7,” said a senior Japanese finance ministry official present at the G20.

Slideshow ( 6 images )

The G7 likely will not issue any communique at a meeting of the world’s leading economic powers next month, according to the official. Still, several finance ministers at the G20 said on Saturday they needed to act quickly to correct unfair corporate tax codes or risk being punished by voters.

“We cannot explain to a population that they should pay their taxes when certain companies do not because they shift their profits to low-tax jurisdictions,” French Finance Minister Bruno Le Maire said during the panel discussion.

The U.S. government has voiced concern in the past that the European campaign for a “digital tax” unfairly targets U.S. tech giants.

After listening to presentations by Le Maire and British finance minister Philip Hammond, Mnuchin said on Saturday G20 countries should issue “marching orders” to their respective finance ministries to negotiate the technical aspects of a deal.

Earlier this year, countries and territories agreed a roadmap aimed at overhauling international tax rules that have been overtaken by the development of digital commerce.