If you want to use EDI to receive purchase invoices from a vendor:
Set up the related document flow for the vendor with the 'Purchase - XML to Invoice' message from the desired tutorial project.
Use this setup to receive purchase invoices through EDI messages.