Credit Note is issued in 2 scenarios:
There is an error in the invoice sent to the customer.
The customer has canceled the order.
Creating credit notes is similar to creating invoices and can be done from two screens:
1) From the Shipment Tab:
Go to the Shipment tab and select Air/Sea/Land.
Click on the edit icon for your shipment.
Click on the Accounting section in the shipment.
There you can add credit notes using the Add Credit Note button.
2) From the Accounting Tab:
Go to the Accounting tab and click Receivable.
A drop-down will appear.
In the drop-down click on the Credit Note button.
Click on the edit button for the required shipment and update your credit notes.