One police officer was killed when the militant, who was on foot, blew up near a vehicle carrying Independent Election Commission employees as it entered the base around 8am
A suicide bomber targeting the headquarters of Afghanistan's Independent Election Commission (IEC) on Monday killed at least one person and wounded six, officials said, in the latest violence to strike the controversial poll.
There was no immediate claim of responsibility for the attack, which comes as thousands of ballot boxes from around the war-torn country are delivered to the IEC's heavily fortified compound in Kabul following chaotic and deadly legislative elections.
One police officer was killed when the militant, who was on foot, blew up near a vehicle carrying IEC employees as it entered the base around 8am (0330 GMT).
Four election workers and two other police officers were also wounded in the blast.
The attacker was "identified and gunned down by police before reaching his target", Kabul police spokesman Basir Mujahid told reporters.
"The wounded were taken to hospital and are in a stable condition."
Millions of Afghans risked their lives to vote in the long-delayed elections that were held over two weekends.
The ballot, which the Taliban had vowed to attack, was marred by lengthy delays at polling centres, allegations of fraud, and deadly violence, with hundreds killed or wounded in scores of attacks.
IEC figures show roughly 4.2 million out of the nearly nine million people registered to vote actually cast a ballot.
Many suspect a significant number of those on the voter roll were based on fake identification documents that fraudsters planned to use to stuff ballot boxes.
The parliamentary election, which was more than three years late and the third since the fall of the Taliban in 2001, is seen as a dry run for next year's presidential vote.
It is also considered an important milestone ahead of a UN meeting in Geneva next month where Afghanistan is under pressure to show progress on "democratic processes".
More than 2,500 candidates, including mullahs, journalists and sons of warlords, are competing for 249 seats in the lower house.
The IEC is scheduled to release preliminary results on November 10.
But problems with untested biometric verification devices that were introduced at the eleventh hour and missing or incomplete voter rolls are likely to trigger debate over which votes are valid.
The IEC previously said votes not biometrically verified would be rejected.
The Electoral Complaints Commission has received thousands of complaints following three days of voting in 33 out of 34 provinces.
On Saturday voters in Kandahar -- the southern birthplace of the Taliban and a province notorious for ballot stuffing -- went to the polls.
While preparations had been "better" in Kandahar compared with the previous weekend, hiccups with biometric devices and voter lists persisted.
Voting in the province bordering Pakistan was postponed following the October 18 assassination of Gen Abdul Raziq, an anti-Taliban strongman seen as a bulwark against the insurgency in the south, amid fears of violence flaring up.
Raziq was among three people killed in a brazen insider attack on a high-level security meeting in Kandahar city that was attended by Gen Scott Miller, the top US and Nato commander in Afghanistan.
Miller escaped unhurt, but US Brig Gen Jeffrey Smiley was among 13 people wounded in the shooting claimed by the Taliban.