Document
What information is being sent and how it is structured.
EDI describes structured business messages. AS2 is a protocol used to exchange business data over HTTP. A workflow can use both, but they solve different parts of the problem.
SAME DATA. FURTHER GOOD.The file contains business information; the transport defines how it moves between systems. A purchase order or shipping notice can therefore need both document processing and a configured exchange.
What information is being sent and how it is structured.
How the sender and recipient exchange the message.
What evidence of receipt and subsequent acceptance the process requires.
An AS2 connection can carry an EDI document, but AS2 does not define the meaning of its order lines or shipping details. The transport exchange needs its own configuration and receipt. Document interpretation and business acceptance happen in the receiving workflow.
The business document to be exchanged.
The agreed protocol and security configuration.
The message-level acknowledgment.
The receiving system’s interpretation and response.
ILLUSTRATIVE WORKFLOW · THE IMPLEMENTATION FOLLOWS YOUR OPERATING REQUIREMENTS
RFC 4130 describes AS2, including message security and receipt mechanisms. For your implementation, document the partner configuration, certificates, endpoints and expected receipt behavior.

Distinguish transport-level receipt from successful interpretation of the payload and acceptance by the business application. Test each boundary rather than treating a single success status as proof of the entire process.
If the problem is interpreting the document, begin with EDI Parser X. If it is exchanging the file, begin with FileExchange. If both are required, evaluate the connection between those tasks.
Your systems. Your partners. The task you need to complete.
Discuss your workflow