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