I'm happy to provide information about debit and credit notes.
A debit note is a supplier transaction, which is commonly used for returned items or to indicate that the Supplier owes you money.
On the other hand, the credit note is a customer transaction and a reverse of the debit note. You can issue one when giving credits to your customer, which can be applied to their invoices. You can also use it when recording returned inventory items to bring back their quantity on your record.