Sales Return addresses

In case of Sales return EWB, the dispatch address will either be of the customer or transporter while recipient address will be that of the seller. However, the functionality doesn’t work that way today. It continues to follow the same methodology as for initial sales dispatch.
Also, ewb document type should be Delivery Challan (in case EWB is being generated independently)

Refer to the following note in the URL: How to generate an E-way Bill if the goods are rejected by the recipient?

NOTE: As an inward E-way bill, the recipient’s GSTIN and address will always be of the supplier in all the cases.

Also, watch this video (8:15 mins onwards): https://www.youtube.com/watch?v=32wW9SlCE4s&ab_channel=TheMauryaAFTClasses

@Smit_Vora @Sanket_Shah, can you look into this?

Figured out that this is working as intended. When creating a credit note, only einvoice is created with Seller address and billing address.
After the credit note is submitted, ewb have to be generated using ewb generate option. During this action, the dispatch and shipping address is correctly reversed.

My question is, when the inventory is non-zero and there is a movement of goods needed, why can we not chain creating einvoice and ewb generate call back to back in controller?

In case of sales return, it’s possible that e-Waybill may be generated by your customer returning the goods. Hence it’s not auto-generated.

Thanks Smit. Its reasonable thing to do.