Four soldiers - three Lance Naiks and a Major of the 120 Infantry Brigade - were killed while another one was injured. A defence spokesman said Pak troops targeted the Army patrol at Brat Galla in Keri sector at around 1215 hours.
The Indian Army was effectively retaliating, he said.
Another soldier, who was grievously injured, later succumbed to his injuries, police said, taking the toll to four.
"In the Pakistani troops firing, five army men including a Major, sustained injuries".
Major Moharkar Prafulla Ambadas aged 32 years, belonged to District Bhandara, Maharashtra and is survived by his wife Smt Avoli Moharkar.
The statement said that the dead include an Indian army officer and that Indian soldiers retaliated "strongly and effectively".More news: Barcelona star midfielder urges Philippe Coutinho to join him at Camp Nou
More news: Farmington donor provides meat for Salvation Army's Christmas dinner food boxes
More news: YouTube seals deal with top music label amid streaming moves
The location of the attack was along the Line of Control (LoC) Keri area of Jammu and Kashmir's Rajouri district, said an army official. Hailing from District Karnal, Haryana, Sepoy Pargat Singh, 30, is survived by wife Ramanpreet Kaur and a son.
This year 14 army men, four BSF personnel and 12 civilians have been killed in Pakistan troops firing along the Line of Control (LoC) and International Border (IB) in Jammu and Kashmir.
However, unconfirmed reports suggested Border Action Team (BAT) of the Pakistan Army synchronised their cross-border raid with intense shelling in which a Major and three soldiers attained martyrdom.
The deputy chief minister said Pakistan has got isolated at the global stage, especially on the issue of terrorism.
Singh while expressing condolences with the bereaved families, prayed for eternal peace to the departed souls.