BAGHDAD, Iraq (CNN) -- U.S. and Iraqi negotiators have reached agreement on a proposal calling for a complete U.S. military withdrawal from Iraq by 2012, the head Iraqi negotiator said Friday.
The deal still must be approved by both sides, said Mohammed al-Haj Hamoud, deputy foreign minister and head of the Iraqi negotiating team.
In Washington, deputy State Department spokesman Robert Wood said, "we're not quite there yet. There are still some things that need to be worked out."
In Crawford, Texas, a spokesman said President Bush was briefed on the negotiations and then spoke by secure video conference with Iraqi Prime Minister Nuri al-Maliki. The spokesman said the two agreed that their negotiating teams would continue discussions.
Hamoud said Thursday's meeting between U.S. Secretary of State Condoleezza Rice and al-Maliki was helpful in reaching the tentative agreement.
Hamoud said the proposal also says the last date for the presence of U.S. troops in cities and towns will be June 30, 2009.
There are clear caveats, however. Watch for details on the plan »
If the Iraqi government sees the necessity of keeping the American forces in cities and towns or in Iraq past December 31, 2011, it would ask that the Americans stay. A joint Iraqi-U.S. committee would help define the duration and number of forces that would be needed and regularly assess the security situation on the ground.
Regarding the issue of troop immunity from Iraqi law and American authority over military operations, American authorities would have jurisdiction over their troops. Hamoud also said that in case of a major crime such as murder, the case would be reviewed by a U.S.-Iraqi joint committee.
The proposal calls for the lifting of immunity for private contractors, who would be subject to Iraqi laws.
As for detainee authority, any kind of detention must be ordered by a judge under Iraqi law. Detainees must be delivered to Iraqi authorities within 24 hours of their arrests by both Iraqi and American forces. This rule would go into effect January 1, when the U.N. mandate outlining the presence of U.S.-led coalition troops expires.
Senior U.S. government officials said the agreement is done at the negotiator level -- a low level -- and has been sent to both sides. It needs approval from parliament on the Iraq side and Bush on the American side, those officials said. iReport.com: What does the next president need to know about Iraq?
Hamoud said the deal has to be approved on the Iraqi side by some government agencies and ultimately the parliament, which is in recess until September 9.
After Rice met Thursday with al-Maliki, she and Foreign Minister Hoshyar Zebari briefed reporters. Zebari said both sides were "very close" to finalizing the agreement. Rice said that what had been formulated up to that point was a "very good agreement."
She said that the "ultimate goal is to have Iraqi forces responsible for the security of Iraq" and that they agreed "some goals, some aspirational timetables" for troop withdrawals would be worth having.
"What we're trying to do is to put together an agreement that protects our people, that respects Iraqi sovereignty, that allows us to lay the kind of foundation that we need for making certain that we complete the work that we've all sacrificed so greatly to see accomplished, and that work is being accomplished," she said.
CNN's Arwa Damon, Mohammed Tawfeeq, Pierre Bairin, Charley Keyes, Barbara Starr and Mike Mount contributed to this report.