When can a buyer send the credit note to the seller?

When the seller has undercharged the buyer in the invoice.