Electronic Data Interchange
Construction of Interchange Receipt (UN/EDIFACT)

The interchange receipt is created from the implementation guideline of CONTRL message table, but it excludes segment group 1 and segment group 3 leaving only the UCI data segment as shown in the table below.

The interchange receipt is constructed as follows:

  1. The interchange envelope wraps the CONTRL message containing the interchange receipt.  The Interchange Header (UNB) and Trailer (UNZ) service segments are created automatically when an interchange header is encountered during verification of the subject interchange.  See Auto-Create of Interchange envelope for CONTRL message.

  2. The message envelope that begins and ends the CONTRL message with segments UNH and UNT respectively are created automatically after the interchange envelope is created.  See Auto-Create the Message envelope of the CONTRL message.

  3. The Interactive Response Segment (UCI) contains the information that is the interchange receipt.  In a nutshell, the CONTRL message is an interchange receipt if the data element 0083 in UCI holds the value '8' (Indication of interchange receipt).  The Interchange Control (0020), Interchange Sender (S002) and the Interchange Recipient (S003) combined forms a unique entity of the subject interchange that it is acknowledging for.
    POSITION ELEMENT ID DESCRIPTION CONSTRUCT INFO
    010 0020 INTERCHANGE CONTROL REFERENCE This is the interchange control reference of the subject interchange.  This value is taken from data element 0020 of the interchange header (UNB) of the subject interchange.
    020 S002 INTERCHANGE SENDER This is the interchange sender of the subject interchange.
    030 S003 INTERCHANGE RECIPIENT This is the interchange recipient of the subject interchange.
    040 0083 ACTION, CODED The value '8' is assigned to this data element.