Hello,
Thanks for elaborating your query. Following is how would I suggest to manage this scenario in ERPNext.
- Create an Account for Shipping Cost (Charged to Customer). Perhaps you can add this account under Income,
- Create an Account for Shipping Expense (for you). Add this account on the expense side.
- In the Sales Invoice/Delivery Note, select Shipping Cost (income) account. With this, on submission of Sales Invoice, shipping cost charged to the customer will be booked on the income side.
- In the Sales Return/Credit Note entry, replace Shipping Cost account with Shipping Expense account, and set positive amount.
I suggest trying a sales cycle as per above configuration. Looking forward to your feedback.