"Yes, I can confirm that the visit will take place but I cannot give you the exact dates right now. We will make the formal announcement at appropriate time," Foreign Office spokesperson Tasnim Aslam said, adding that a formal announcement will be made before the visit.
A government official, on condition of anonymity, said the visit will take place before the end of this month.
Aslam said army chief General Raheel Sharif is currently in Afghanistan as part of Pakistan's continuous engagement with the neighbouring country at various levels.
"It had security contours as well, economic cooperation, people to people contact and enhancing political engagements as well as engagements between security officials of the two countries," Aslam said.
Pakistan had presented a proposal to Afghanistan to better manage the international border between the two nations with the latter indicating its readiness to pursue negotiations.
While commenting on the Pentagon report sent to the US Congress which accused Pakistan of using militant groups as proxies to counter the superior Indian military, Aslam said it was utterly "baseless" and "unsubstantiated".
