After you file

it is if you deducted that amount on 2021 Schedule A

 

Having got it refunded, you didn't pay it, so you couldn't deduct it.

the deduction is cancelled out by calling it income now.

 

@Valerie5816