Transaction Set Envelope
The transaction set is the innermost envelope.
A transaction set is the EDI equivalent of a paper document, such as a purchase order or invoice. In every EDI standard, each transaction set has a unique three-digit identifier called a transaction set ID.
A transaction set envelope surrounds a transaction set and is made up of transaction set header and trailer segments.
The following table describes the contents of the transaction set envelope:
| Contents | Description |
|---|---|
| Header | Transaction set ID specifying the transaction set type, such as a purchase order or invoice. |
| Trailer | Number of segments in a transaction set, including the header and trailer segments. The EDI translator will report any discrepancies between this number and the actual number of segments processed. |
| Both header and trailer | Matching control numbers that uniquely identify the transaction set. Generally, the sender EDI translator assigns the control numbers. Some translators monitor the control numbers for data sent and received. This monitoring verifies that the trailer is associated with the proper header and that no control numbers were skipped during the translation. If a control number is skipped, a report is generated listing all skipped control numbers. A missing control number indicates that a piece of data was not sent or received. Note: The
TRADACOMS standard does not use matching transaction set control numbers. |
The following figure shows the transaction set and its position in the EDI envelope hierarchy:
