How to register a returned wire transfer

How to register a returned wire transfer

Hello everyone. I am stuck with a matter and I have no idea how to proceed.

So I had registered a bill for example for 500USD. I paid the bill via wire transfer and the bank for some reason rejected the transfer and hence I saw a credit or refund for 455USD (ofcourse the bank took their fees anyway).

So now my bill shouldn't be registered as paid anymore and I get back 45USD less.

What do I do in this situation? How do I register all of this information?