According to reports, the suicide bomber targeted the gate of the Ministry of Rural Rehabilitation and Development in Darulaman as staff members were leaving.
Spokesman at the Ministry of Rural Rehabilitation and Development Fraidoon Azhand has confirmed the attack and said that seven people have been killed and 15 wounded.
"Apparently a suicide bomber detonated his explosive vest at the gate of our ministry. The target was our staff, who were leaving to their homes," he said.
Earlier, in June, a suicide bomber blew himself up as ministry workers were taking a bus home during the holy month of Ramadan, leaving 13 people dead and 31 injured.
Hundreds of people were killed and hundreds more injured last month in a series of attacks by different terrorist groups all over the country.
Afghanistan has long been suffering from political and social instability due to the activity of the various armed groups, including Taliban and Daesh* militants.
*Daesh (also known as ISIS/ISIL/IS) and Taliban are terrorist groups banned in Russia