Prepayment refund (Credit note)

One of different ways to pass credit note against a prepaid invoice is to create a replica of the 386 invoice and just change the Invoice Type Code to 381. This is just one of the options, you can decide the process duly considering impact on other business processes such as inventory, payments etc.