My 27” iMac 5k’s AC inlet was burnt to a crisp so I needed to replace it. Fortunately I found out that Part Haven sold the necessary part.
The package included a full replacement for the AC inlet, with all the necessary screws and even the standoff for the ground loop. The part received was used but worked perfectly.
Replacement process itself is straightforward if time consuming since the AC jack is the last part to come out of the case.
Overall a great repair experience!