At least five Afghan soldiers were killed and seven injured when Taliban militants detonated an explosives-laden truck near a military outpost in Helmand province, officials said on Monday.

The attack took place in Nahr-e-Saraj district on Sunday night.

"In this powerful bombing, five members of the security forces were killed and another seven were injured and the outpost was partially damaged," provincial governor's spokesperson Omar Zwak told Efe news.

Zwak said the security facility was a jointly run by the Afghan Army and special units of the intelligence agency.

"Initial information suggests that the bomber used a truck full of explosives to attack the outpost," the spokesperson said.

Afghanistan Taliban suicide bombers and gunmen storm police training center

Defence Ministry confirmed the attack

The Defence Ministry in a statement confirmed the attack but did not provide casualty details.

Taliban spokesperson Qari Yusuf Ahmadi in a statement said the attack was carried out in response to the "repeated violations by enemy" and attacks against civilians, referring to the military operations of the Afghan government.

"The enemy facility was completely destroyed and tens of enemy personnel and members of the intelligence were killed and injured," Ahmadi said.

The Taliban spokesperson claimed that 150 security personnel were at the outpost on Helmand-Kandahar highway. He claimed that the attack also left several military vehicles and cars destroyed.

Violence has increased across Afghanistan in recent weeks after the Taliban signed an agreement on February 29 with the US to pave the way for peace in the war-torn country.

All warring parties have been accusing the other of violating the terms of the agreement inked in Doha, following a week-long reduction in violence.

The Taliban on April 5 warned that it would "react and respond" to "repeated violations" by the US and the Afghan government's airstrikes and attacks against the militant group and civilians.

The US military in Afghanistan on Saturday warned the Taliban of a response if the insurgent group continued with its attacks in violation of an agreement the two sides signed in February.

The Afghan government also claimed that the Taliban have increased attacks against security forces and civilians after signing the peace agreement.