The Republican-controlled New York state Senate is proposing legislation that would bar Mayor de Blasio from destroying documents containing personal information about individuals enrolled in his municipal identification program.

The bill would require the city to turn over to the U.S. Dept. of Homeland Security and the Office of New Americans all IDNYC documents within 10 days of creating an ID application.

State Sen. Terrence Murphy (R-Hudson Valley), the author of the measure, complained that the city ID Law allows the destruction of records “in an effort to evade the enforcement of federal immigration laws.”

“We don’t have enough ways of vetting for illegal immigrants coming into the country. There is no way to track these people.” Murphy told The Post.

He said de Blasio should be helping to protect public safety and combat terrorism instead of refusing to preserve and turn over personal documents.

“Without the identifying information of these individuals, law enforcement would be unable to investigate money-laundering enterprises, which seek to fund potential terrorists attacks and other illicit activities,” the state senator said.

The city could get slapped with $1,000 fine for each document it refuses to send to the feds if the bill becomes law.

De Blasio’s office on Sunday slammed the Murphy measure as counterproductive.

“Rather than side with xenophobia, the mayor will side with our police commissioner and counter-terror chief who have both said the card makes our city safer,” said mayoral spokeswoman Rosemary Boeglin.

Last month, the de Blasio administration put in place a policy vowing that it will “not hold any underlying identity or residency documents in support of an application.”

There are an estimated 500,000 undocumented immigrants in New York City. There are about 900,000 IDNYC cardholders. The city does not ask applicants about residency status.

The legislation will face resistance in the Democratic-run Assembly, which is more sympathetic to helping, not deporting, undocumented immigrants.