Excess Roth IRA Contribution

In January of 2020, I deposited money into Roth IRA. In March of 2020, I realized I had

contributed too much, so I filed a return of excess contribution.

 

I'm filing my taxes for 2020 now. I'm assuming I should not have to pay a penalty for the Roth

IRA withdrawal since I filed a return of excess?..if so how do I enter the 1099-R? The 1099R I

received has box 7 as 8 and J.

Would I enter only a substitute 1099-R? Or is there something else I need to do?

 

Thanks.