Open invoice you need to credit
From ... menu choose Create credit invoice
It will make another invoice with Type Credit invoice and the same sum only with -