On this topic:
NOTE: This information is referenced from UN/EDIFACT and may not be current. For the latest information please visit the UN/EDIFACT web site.
To identify the subject interchange, to indicate interchange receipt, to indicate acknowledgement or rejection (action taken) of the UNA, UNB and UNZ segments, and to identify any error related to these segments. It can also identify errors related to the USA, USC, USD, USH, USR, UST, or USU security segments when they appear at the interchange level. Depending on the action code, it may also indicate the action taken on the groups, messages, and packages within that interchange.
REF IDENTIFIER NAME REQ TYPE MIN/MAX NOTES 010 0020 Interchange Control Reference M AN 1/14 020 S002 Interchange Sender M 01 0004 Interchange Sender Identification M AN 1/35 02 0007 Partner Identification Code Qualifier C AN 1/4 03 0008 Interchange Sender Internal Identification C AN 1/35 04 0042 Interchange Sender Internal Sub-identification C AN 1/35 030 S003 Interchange Recipient M 01 0010 Recipient Identification M AN 1/35 02 0007 Partner Identification Code Qualifier C AN 1/4 03 0014 Interchange Recipient Internal Identification C AN 1/35 04 0046 Interchange Recipient Internal Sub-identification C AN 1/35 040 0083 Action, Coded M AN 1/3 050 0085 Syntax Error, Coded C AN 1/3 1,2,3,4 060 0135 Service Segment Tag, Coded C AN 1/3 1,2,3,4,5 070 S011 Data Element Identification C AN 1/3 2 01 0098 Erroneous Data Element Position in Segment M A 1/3 02 0104 Erroneous Component Data Element C N 1/3 03 0136 Erroneous Data Element Occurrence C N 1/6 080 0534 Security Reference Number C AN 1/14 3,4,6 090 0138 Security Segment Position C N 1/6 3,4,6
Notes: