Sen. John CornynJohn CornynFive takeaways from Cruz, O'Rourke debate showdown Live coverage: Cruz faces O'Rourke in Texas debate showdown Trump, Feinstein feud intensifies over appeals court nominees MORE (R-Texas) is slated to headline a Republican fundraiser on Thursday night, just hours after he criticized President Obama for traveling to Philadelphia for such events. 

The Sunlight Foundation, a government transparency group, published an invitation to a reception for Sen. Dean HellerDean Arthur HellerDems outraising Republicans in final stretch of midterms The Hill's Morning Report — Presented by the Coalition for Affordable Prescription Drugs — Pollsters: White college-educated women to decide if Dems capture House Obama to speak at campaign rally for Nevada Dems MORE (R-Nev.) that will take place at the National Republican Senatorial Committee's (NRSC) headquarters. Cornyn heads the committee and the invite says the senator will be a  “special guest” at the event.

Earlier in the day Cornyn criticized Obama for a lack of leadership in the deficit talks, noting Senate Minority Leader Mitch McConnellAddison (Mitch) Mitchell McConnellGOP leaders hesitant to challenge Trump on Saudi Arabia Overnight Health Care — Presented by Purdue Pharma — Trump officials ratchet up fight over drug pricing | McConnell says Republicans could try again on ObamaCare repeal | Dems go on offense against GOP lawsuit Republicans should prepare for Nancy Pelosi to wield the gavel MORE (R-Ky.) had invited the president to the Capitol to meet with Republicans.


“Instead of going to Philadelphia tonight and raising money ... why doesn't he call ...[congressioal leadership] into his office and just do his job? Just do his job?" asked Cornyn.

He was one of several senators who criticized Obama Thursday. The president declined the GOP's invite and kept to his scheduled events.

White House officials pointed out that several Republicans are attending fundraising events Thursday, which marks the last day of fundraising for the second quarter. 

The NRSC said that Cornyn’s appearance at an event just blocks from the Capitol building did not equal Obama's travels to Philadelphia.

The senator stands at the ready to work with the president at a moment’s notice, NRSC spokesman Brian Walsh told The Hill. 

“As evidenced by the fact that he made these comments on the Senate floor, it’s clear Senator Cornyn was at work in Washington today and ready to hear the President’s plan to solve our debt crisis,” Walsh said in a statement. 

“Unfortunately, instead of meeting with Senate Republicans, the president felt it was more important to raise campaign cash in Philadelphia,” he added.