The complaint goes to Congress and the House demands Trump cease “public efforts to discredit” the whistle-blower.

The acting director of national intelligence, under pressure from Congress to release the full complaint of a whistle-blower who touched off the Ukraine impeachment furor, handed over the document to the House Intelligence Committee.

It was delivered just hours before a planned House vote on a non-binding resolution to condemn the Trump administration’s handling of the complaint. All but two Republicans joined House Democrats in voting Wednesday in favor of the resolution. The measure demanded that the complaint be given to Congress, that the whistle-blower be instructed on how to contact the congressional intelligence committees, and that President Trump and his team “cease their public efforts to discredit the whistleblower.”

Two Republicans, Louie Gohmert of Texas and Thomas Massie of Kentucky, voted “present.”

Democratic leaders wanted to put lawmakers in both parties on record to highlight their case. Sharing the complaint with Congress was already required by law, Democrats assert, but Joseph Maguire, the acting director of national intelligence, had previously declined to produce it, under instructions from the White House and the Department of Justice. (Mr. Maguire is set to testify before the intelligence panel on Thursday.)

“This is not a partisan matter; it’s about the integrity of our democracy, respect for the rule of law and defending our Constitution,” Speaker Nancy Pelosi and Representative Steny H. Hoyer of Maryland, her No. 2, said in a statement on Tuesday. “We hope that all members of the House — Democrats and Republicans alike — will join in upholding the rule of law and oath of office to protect and defend the Constitution as representatives of the American people.”