EDI-file generation in metasfresh

Hello dear community,

i would like to know: is there is difference between generating a ORDERS-SALES object via Rest-Api and generating an EDI-Order? Or is this exactly the same? And if yes: how can i generate an edi-file out of some ORDERS-object? Is that even possible?

Thank you for your time.

I would also like to know how i can import some EDI-ORDERS in metasfresh. So how can i receive edi-data?