APPLYING CREDITS to invoice
APPLYING CREDITS to invoice
How to apply credits to overdue invoices using custom functio when a credit note is created