Recording a loan return is not possible in Sage X3 if the loan delivery has been invoiced in the meantime.
It would be useful to remove this blockage.
The only possible solution (recording a direct credit invoice, without linking it to the loan invoice, with stock movement at 'yes') does not guarantee traceability