It looks like rebar, reinforced concrete was used across the top of the bay. The render probably got cracked when the window was fitted and over time its fallen away. I would have thought you could do a suitable patch repair, but getting a good colour match might be difficult. Why not get a...