Hi Rich,
This is a very interesting question. I've worked on a historic hotel restoration in the past that used state tax credits from Louisiana. My experience was a commercial property, so I'm not sure if it translates across all asset classes.
You can find money for historic rehabs at all levels of government - federal, state, and municipal.
The federal program is administered by the National Parks Service (https://www.nps.gov/tps/tax-incentives/before-you-...), and it gives you a 20% credit on Qualifying Rehabilitation Expenses (QREs). However, in order to benefit from this tax credit, you have to spend more than 50% of the underlying value of the asset. This is the only one that I'll mention in this reply, as the state and local programs are different depending on where you are.
Generally, state programs seem to be similar to the federal program. They require that the property is in a designated historic district or is on the National Register of Historic Places. Cities have additional funding mechanisms in the form of tax credits or reductions to encourage redevelopment to eliminate blight.
Most of these funding mechanisms come in the form of tax incentives, which complicates things if you want to use the money as part of your capital stack. Enter financial engineering...
Tax incentives are valuable in the open market for various types of companies and high net worth individuals. They often trade at a discount to the present value of the tax incentive, but may trade at a premium depending on the structure and market conditions. Use an attorney that has worked on these deals before. The 50,000 foot structure is that you'll be separating the ownership interest LLC from the taxable economic interest LLC, which allows you to sell your position in the latter to a third-party.
Note, there are some claw-back and burn-down provisions for this structure, so it's important to understand all the details before capitalizing tax incentives.
Note 2, there are other programs associated with energy efficient renovations and bonus depreciation that may apply.
Note 3, on the first project, I wouldn't rely on the tax credit to make the deal in your underwriting. Look at it as upside until you have a full understanding of how the process works.
On code violations and fines - those are usually title clouds that transfer with the property. Your title search should turn these up, and you can negotiate with the seller to clear the title or reduce the price appropriately.
I hope this helps.
John