* Palestinians say Israel violated ceasefire, killing girl
* Israel says rockets fired out of Gaza after deadline
* Hamas sees Israeli ruse in seven-hour halt to assault
* Troops and tanks remain in Rafah in south of enclave
* Gaza death toll 1,804; 67 on Israeli side (Edits)
By Nidal al-Mughrabi and Maayan Lubell
GAZA/JERUSALEM, Aug 4 (Reuters) - Palestinians and Israel accused each other of launching attacks soon after a seven-hour Israeli ceasefire intended to allow humanitarian aid into the battered Gaza Strip came into force on Monday.
Palestinians said Israel had bombed a refugee camp in Gaza City, killing an eight-year-old girl and wounding 29 other people, while Israel said at least four rockets had been fired at its territory from Gaza.
Gaza Health Ministry spokesman Ashraf Al-Qidra said the air strike on a house in Shati camp took place after the truce was scheduled to start on Monday morning.
An Israeli military spokeswoman said she was checking the refugee camp attack. She said four rockets had been fired from Gaza since the truce started and two had crashed inside Israel. There were no reports of casualties or damage.
In Jerusalem, a heavy construction vehicle slammed into a bus, overturning it in what Israeli police said was a suspected terrorist attack. No passengers were on the bus but a passerby died after being run over by the digger, and police said its driver was shot dead. Israeli media identified the driver as a Palestinian from East Jerusalem.
Israel announced a ceasefire to free up humanitarian aid and allow some of the hundreds of thousands of Palestinians displaced by almost four weeks of war to go home.
The announcement met with suspicion from Gaza's ruling Islamist Hamas movement and followed unusually strong censure from Washington at the apparent Israeli shelling on Sunday of a U.N.-run shelter that killed 10 people.
An Israeli defence official said the ceasefire, from 10 a.m. to 5 p.m. (0700 to 1400 GMT), would apply everywhere but areas of the southern town of Rafah where ground forces have intensified assaults after three soldiers died in a Hamas ambush there on Friday.
"If the truce is breached, the military will return fire during the declared duration of the truce," the official said. The official said east Rafah was the only Gaza urban area in which troops and tanks were still present, having been withdrawn or redeployed near the border with Israel over the weekend.
Mark Regev, spokesman for Israeli Prime Minister Benjamin Netanyahu, told CNN that Israel's goal with the truce was "to assist with the humanitarian relief" of the people of Gaza.
Hamas, whose envoys are in Egypt for truce negotiations that Israel has shunned in anger at Friday's ambush in Rafah, said attacking the house after the Israeli ceasefire began showed the truce was a media stunt. "We urge our people to continue to be cautious," said spokesman Sami Abu Zuhri.
Israel is winding down its offensive in the absence of a mediated disengagement deal with Hamas. It says the army has completed the main objective of the ground assault, the destruction of cross-border infiltration tunnels from Gaza.
"Every attack tunnel we knew about has been destroyed," Amos Gilad, a senior defence official, said on Israel Radio.
In a predawn air strike, Israel killed Danyal Mansour, a senior commander of Islamic Jihad, a Palestinian group fighting alongside Hamas.
Israel launched its offensive on July 8 following a surge in Hamas rocket salvoes. It escalated from air and naval barrages to overland incursions centred on Gaza's tunnel-riddled eastern frontier, but also pushed into densely populated towns.
Gaza officials say 1,804 Palestinians, most of them civilians, have been killed and more than a quarter of the impoverished enclave's 1.8 million residents displaced. As many as 3,000 Palestinian homes have been destroyed or damaged.
Many of those evacuees have taken shelter in U.N.-run facilities, including a Rafah school where 10 people were killed on Sunday in what Gaza officials said was an Israeli air strike.
The Jewish state said it was investigating the incident and that it might have been linked to an attempt by the military to kill Islamic Jihad gunmen as they drove nearby.
An international outcry crested against the Israelis. U.N. Secretary-General Ban Ki-moon described the school attack as a "moral outrage and a criminal act" and called for those responsible for the "gross violation of international humanitarian law" to be held accountable.
The United States said it was "appalled" by the "disgraceful shelling" and urged its closest Middle East ally to do more to prevent harm to civilians. Washington also called for an investigation into other, similar attacks on U.N. schools in Gaza.
Israel says it makes every effort to avoid non-combatant casualties and that Hamas invites these by launching rockets from, and entrenching gunmen inside, congested civilian areas.
Prime Minister Benjamin Netanyahu's office said Hamas had turned U.N. facilities into "terrorist hot spots". The main U.N. agency in Gaza, UNRWA, says it has found rockets in three of its schools.
Israel has lost 64 soldiers in combat and three civilians to Palestinian cross-border rocket and mortar fire that has emptied many of its southern villages. Iron Dome interceptors, air raid sirens and public shelters have helped stem Israeli casualties.
Palestinian groups, including representatives from Hamas and Islamic Jihad, held their first formal meeting in Cairo on Monday with Egyptian mediators hoping to pave the way towards a durable ceasefire agreement with Israel.
Egyptian mediation, supported by the United States and the United Nations and also involving Qatar, Turkey and Western-backed Palestinian President Mahmoud Abbas, has been complicated by the dramatically divergent terms set by Israel and Hamas.
Israel has said Gaza must be stripped of tunnels and rocket stocks. Hamas rules this out, and demands an easing of the crippling Gaza blockade enforced by both Israel and Egypt, which consider the Palestinian Islamists a security threat.
In Cairo on Sunday, Palestinian delegates said they also wanted Israel to withdraw from Gaza, facilitate reconstruction of the battered territory and release Palestinian prisoners.
The Israelis, however, have shown little interest in resuming negotiations after blaming Hamas for violating Friday's truce with the Rafah ambush - an accusation echoed by the United States and the United Nations, though disputed by Hamas.
(Writing by Dan Williams; Editing by Giles Elgood/Mark Heinrich)
Our Standards: The Thomson Reuters Trust Principles.