Afghanistan has lodged a formal complaint with Pakistan after its forces allegedly came under fire along a contested stretch of their border.
The Foreign Ministry said the incident along the eastern frontier took place early on Monday at the same location where a firefight between Afghan and Pakistani forces killed an Afghan border policeman and wounded two Pakistani soldiers last week.
During that incident, a border gate built by Pakistan was damaged in the fighting and Afghanistan had warned Pakistan not to repair it.
The Afghan Foreign Ministry said no one was wounded in Monday's incident.
Ties between the two neighbours are severely strained, and the mountainous region where the incident took place has seen acrimonious exchanges of fire between the two sides over the demarcation of their border.
A spokesman for the Pakistan Foreign Ministry, Aizaz Ahmad Chaudhry, said a Pakistani military post near the border came under fire from Afghanistan on Monday morning and one of the Pakistani troops was injured.
He said it was not clear who fired on the post. He did not comment on the Afghan complaint.
"That post has been under attack for some time now," he said. "We believe that the posts are needed for border management."
More than 1,000 people staged an anti-Pakistan demonstration on the outskirts of Kabul to protest against last week's incident.