The 73-year-old ex-general’s state visit will take place from Friday to Sunday, Chinese Foreign Ministry spokeswoman Hua Chunying said in a statement.
Beijing said the visit would aim to “promote Sino-Indonesian relations …to a new level.”
“China is ready to work with Indonesia to use this visit as an opportunity to consolidate high-level mutual political trust,” the Foreign Ministry’s Mao Ning said at a regular news briefing.
Xi will hold a welcoming ceremony for the Indonesian leader and the two will hold talks, she said.
Prabowo will also meet Premier Li Qiang and official number three Zhao Leji, Mao added.
The spokesperson for the Indonesian Ministry of Foreign Affairs, Roy Soemirat, confirmed this visit to AFP.
Prabowo was sworn in on October 20pledging to stick to Jakarta’s traditionally non-aligned foreign policy while making the world’s fourth most populous country more active abroad.
Beijing and Jakarta are key economic allies, but the world’s largest archipelago is trying to block foreign vessels from fishing in its waters, saying it costs the economy billions of dollars a year.
Last month, Indonesia led Chinese coast guard ship three times from the disputed waters of the South China Sea.
Chinese ships have occasionally entered areas claimed by Indonesia in the North Natuna Sea on the southern edge of the South China Sea, sparking protests from Jakarta.