Repayment of bonus in same year paid

I received a start bonus in March 2024, it was $25k, I netted ~$17.6k.  I had to repay the gross amount when I resigned in late July 2024, which I did promptly. 

My previous employer issued a W2 including the bonus in my earnings.  I reached out indicating it was incorrect earnings as I repaid it a few months later.  They’re refusing to issue me a corrected W2 and told me to show repayment and my employment contact to request an income reduction from the IRS.  

Are they not obliged to correctly reflect my earnings in the year? Especially given it all transpired in the same year and didn’t bleed across different tax years.

 

How do I rectify this to receive credit for my overpayment as I returned the full amount, having now paid taxes on something I never actually kept as income?