The Palestinian foreign ministry on Monday slammed as ‘shameful’ Guatemala's decision to transfer its embassy to Jerusalem after the United States recognised the city as the capital of Israel.

‘It's a shameful and illegal act that goes totally against the wishes of church leaders in Jerusalem’ and violates a non-binding UN General Assembly resolution condemning the US move, the ministry said in a statement.

‘The state of Palestine considers this as a flagrant act of hostility against the inalienable rights of the Palestinian people and international law,’ it said.

‘The state of Palestine will act with regional and international partners to oppose this illegal decision.’

Guatemala's announcement on Sunday came after two-thirds of UN member states approved a motion rejecting US President Donald Trump's controversial decision to recognise Jerusalem as Israel's capital.

Guatemala was among only eight countries to join the United States on Thursday in voting against the resolution.

Trump's announcement on December 6 sparked anger in the Palestinian territories and across the Muslim world.

Israel seized the eastern part of Jerusalem in the 1967 Six Day War and later annexed it in a move not recognised by the international community.

Israelis see the whole of the city as their undivided capital while the Palestinians view the east as the capital of their future state.

No country currently has its embassy in Jerusalem, instead keeping them in the Israeli commercial capital Tel Aviv.