The document said the countries underlined the "crucial role" of a rules-based global trading system and the need to continue to fight protectionism.
On Friday, 29 European Union ambassadors to the United States, including Malta's Ambassador Pierre Clive Agius, published an open letter to the United States in The Washington Post criticising President Donald Trump's trade policies. Canada has promised retaliatory measures on July 1.
"There will not be a sunset clause ... we will not, can not sign a trade deal that expires automatically every five years", he told a news conference at the end of a Group of Seven summit in Quebec.
Earlier, Trudeau had told reporters that Trump's decision to invoke national security to justify United States tariffs on imports of steel and aluminum was "kind of insulting" to Canadian veterans who had stood by their U.S. allies in conflicts dating back to World War I.
Trump also raised eyebrows by urging the G7 to once again become a G8 by bringing Russian Federation back into the fold.
Image copyright JESCO DENZE What was agreed?
On the second day of the 44th G7 summit in Quebec, world leaders from the Group of Seven including the UK, France, Canada, Germany and Japan sat down for breakfast to discuss gender equality issues.
Lyon forward Nabil Fekir's Liverpool move falls through
Fekir suffered a knee injury two years ago and tests showed enough doubt for club medics to raise concerns over the player's fitness.
During a press conference after the summit, Canadian Prime Minister Justin Trudeau flatly rejected a proposal by the White House to insert a sunset clause in a re-negotiated North American Free Trade Agreement. In the end, that language stayed in and it was only on climate change that no consensus was reached. "While sending their product into our country tax free".
"The United States has been taken advantage of for decades and decades", he continued, describing America as a "piggy bank that everyone keeps robbing".
Besides the escalated risk of a trade war, Trump's blistering personal attack on Trudeau poses domestic economic and political risks for the Canadian prime minister, who has stuck to a conciliatory stance in the face of US threats on NAFTA and other bilateral trade cases.
The president is leaving Quebec for Singapore, where he will hold a summit on Tuesday with North Korean leader Kim Jong Un.
"We win that war a thousand times out of a thousand", he said.
Trump earlier had criticised India over high tariffs on Harley- Davidson.
Justify becomes 13th Triple Crown victor with thrilling Belmont Stakes victory
I don't think the fast track will hurt him (or for that matter Bravazo, ) but it could give a big boost to some of the others. Justify accomplished a lot in a very short time . "I can't describe the emotions that's going through my body right now".
The US president has made it clear he believes the removal of tariffs against his G7 allies should come at a price - and he doesn't expect the US to pick up the tab.
The Prime Minister said the United Kingdom still wanted to discuss a post-Brexit trade deal with the U.S. and said Mr Trump was still looking forward to July's visit to Britain. And he said, "I just want to inform you that we have reduced it to 75, but we have further reduced it to 50".
On climate, however, all G7 members except the US said they support the Paris agreement.
US President Donald Trump has left following his brief trip to Canada saying his relationship with the G7 countries is a 10 out of 10, and reports of rifts between the powerful countries are simply "fake news".
Instead, Canada will likely issue a chair's summary of the meeting listing the major topics of discussion. Russian Federation joined the G-7 in the 1990s, making it the Group of Eight, but was expelled after its annexation of Crimea in 2014.
Trump's personal attack on Trudeau is unprecedented in the countries' longstanding relationship.
Bison gores woman at Yellowstone in third wildlife attack of the week
Park officials instructed visitors to give animals space, even near trails, boardwalks, parking lots and other developed areas. Hancock is the second person to be attacked by a bison this year, and the third hurt by wildlife in less than a week.