@David S.
I own a SF in S mpls that had an egress window installed in the basement by a previous owner. When the rental inspector went through she apparently looked up to see if there was a permit, found there wasn't one and made me pull a new permit for completed work that I didn't do.. I have a contractors license, so I could pull the permit, have it inspected and get it cleared up without to much trouble.
On a different property in the suburbs which I lived in, I had permits that I had not closed in the time frame allowed. The city would not inspect and close them, or let me pull new permits. When I went to sell the buyers inspector noticed, so it came up. The sale did go through, but I ended up hiring a plumber and electrician that the buyer chose to do additional inspections.
If you are hiring someone to do work that requires permits- make sure all permits are closed out before paying the final invoice, maybe have it written out in the contract also.