The creation of returns in BC is done in the same way as the creation of sales orders.
The data is transferred from the shop in a container and the content is checked by Business Central afterwards.
The error handling is analogous to the sales order import. The data can be modified and the document can be created manually (by a function).