I have used this as a reference point: https://world.episerver.com/documentation/developer-guides/commerce/orders/using-the-return-order-form/
And while I can create and process a return in code I am missing a few bits of information that I can't seem to set in code.
Specifically the Totals information and the Total Before Return value on the line items (see image) I can't see any documentation which indicate how these are done.
Any documentation or help would be great.
Could not view your picture - and which exactly version you are using?
Commerce is on 11.8.2
Does this image work?
In "Total Information" group, it's includes 3 items:
And the "Total Before Return": Is the same with "Return Total" and included order level discount if has(return quantity * placed price - total entry discount if it has - order level discount if it has).