Questions had swirled over whether Russian President Vladimir Putin – sought by the International Criminal Court (ICC) for his role in the Ukraine war – would attend this year’s BRICS conference in South Africa, which is a signatory of the ICC.
But a spokesman for Ramaphosa last month said Putin would not attend “by mutual agreement”.
Xi previously visited South Africa in 2018 as he sought to enhance his country’s diplomatic and economic ties with the continent.
On the agenda at this year’s Johannesburg summit will be the possible future expansion of BRICS membership.
Several African countries have previously expressed a desire to join the bloc, including Algeria, Egypt and Ethiopia.
In July, China hosted Algerian President Abdelmadjid Tebboune in Beijing, hailing its ties with Africa and calling for closer cooperation.
“China welcomes Algeria’s positive intention to join BRICS, and supports Algeria’s efforts to achieve this goal,” a joint statement released at the time said, adding that Tebboune had invited Xi to visit Algeria.
A total of 69 countries have been invited to the summit in South Africa, including all African states.
BRICS, a loosely-defined group that sees itself as a counterweight to Western economic domination, derives its name from Brazil, Russia, India, China and South Africa. The bloc has previously indicated it is open to expansion.