When crediting an invoice a credit reason can be selected.
For more information regarding credit invoices, see Make a credit invoice and change invoice details.
Additional credit reasons can be defined under Settings > Picklists > Credit reasons.
Select the add/new icon.
Reason -
Description -
Type -