Edition 2016 Upd. 2021
Syntax and service report message
5. Segments Layout
 
Segment number:
4
-
M
1
-
 
Function:
 
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. Depending on the action code, it may also indicate the action taken on the functional groups and messages within that interchange.
 
EDIFACT
EAN
*
Description
0020
Interchange control reference
M
an..14
M
   
S002
INTERCHANGE SENDER
M
M
   
0004
Sender identification
M
an..35
M
 
Global Location Number GLN - Format n13
Partner identification code qualifier
C
an..4
O
*
=
GS1
0008
Address for reverse routing
C
an..14
O
   
S003
INTERCHANGE RECIPIENT
M
M
   
0010
Recipient identification
M
an..35
M
 
Global Location Number GLN - Format n13
Partner identification code qualifier
C
an..4
O
*
=
GS1
0014
Routing address
C
an..14
O
   
Action, coded
M
an..3
M
 
=
This level and all lower levels rejected
=
UNB/UNZ rejected (GS1 Permanent Code)
=
This level acknowledged, next lower level acknowledged if not explicitly rejected
=
Interchange received
Syntax error, coded
C
an..3
D
*
=
UNA not supported (GS1 Temporary Code)
=
Syntax level or version not supported
=
Interchange recipient not actual recipient
=
Password invalid (GS1 Temporary Code)
=
Invalid value
=
Missing
=
Value not supported in this position
=
Not supported in this position
=
Too many constituents
=
No agreement
=
Unspecified error
=
Invalid decimal notation
=
Character invalid as service character
=
Invalid character(s)
=
Invalid service character(s)
=
Unknown interchange sender
=
Too old
=
Test indicator not supported
=
Duplicate detected
=
Security function not supported
=
References do not match
=
Control count does not match number of instances received
=
Functional groups and messages mixed
=
Lower level empty
=
Invalid occurrence outside message or functional group
=
Invalid type of character(s)
=
Data element too long
=
Data element too short
=
Permanent communication network error
=
Temporary communication network error
=
Unknown interchange recipient
Service segment tag, coded
C
a3
D
   
S011
DATA ELEMENT IDENTIFICATION
C
D
   
0098
Erroneous data element position in segment
M
n..3
M
 
The numerical count position of the simple or composite data element in error. The segment tag and each simple and composite data element position number within the segment.
0104
Erroneous component data element position
C
n..3
O
 
The numerical count position of the component data element in error. Each component data element position defined in the composite data element description shall cause the count to be incremented.
Segment Notes:
This segment is used to identify the interchange being responded to.
The segment may also be used to indicate acknowledgement or rejection of the UNA, UNB and UNZ segments and any errors present in these segments.
DE's 0020, S002 and S003: To identify the interchange being responded to these data elements must contain the same values as were specified in the UNB segment of the original interchange.
DE's 0083 and 0085: These data elements are used to indicate the status of the interchange and in cases where errors are present to identify the error.
DE's 0013, S011: If there are errors in the UNA, UNB or UNZ segments the segment in question and the position of the error in the segment may be identified in these data elements.

Example:
UCI+10001+5412345000013:14+5412345000020:14+8'
Interchange number 10001 from the party identified by the Global Location Number GLN 5412345000013 to the party identified by the Global Location Number GLN 5412345000020 has been received.

Dependency Notes:
Data elements 0085, 0013 and S011 are only used when errors are being reported.
© Copyright GS1
Edition 2016 Upd. 2021