Overview
While trying to Apply Credit to an Supplier Invoice, you may come across the "Apply Credit" button is unavailable.
Solution
The button for "Apply Credit" is most likely disabled, to enable this click Admin -> additional settings -> Sales/Purchase types -> Purchase Credit Invoice -> Ensure the you tick "credit" under "Button visibility (Classic mode)" -> Save.