WASHINGTON (AP) _ Prime Minister Mohammed Khan Junejo of Pakistan has accepted President Reagan's invitation to visit here July 16, the White House announced today.

White House spokesman Larry Speakes said that besides topics of bilateral relations, the president intended to discuss ''progress toward normalization of relations with Pakistan's neighbors and the continuing Soviet occupation of Afghanistan.''

Speakes said the prime minister will confer with Secretary of State George Shultz during his stop in Washington, and travel to other U.S. cities during his U.S. visit.