The UNZ segment closes an interchange and carries the number of messages in the interchange and the control reference matching the UNB. UNZ+1+CTRL-001 means one message in the interchange with control reference CTRL-001.
UNZHover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.
UNZ+1+CTRL-001'End of interchange CTRL-001. Declares 1 message.
| 1 | Message count | 1 |
| 2 | Interchange control reference | CTRL-001 |
Closes the interchange. CleanEDI checks the message count and reference, then drops it.
Elements are separated by + and their parts by :. Positions match the explainer, so 2.3 is the third part of the second element.
| Position | Element | Parts |
|---|---|---|
| 1 | Message count | Single value |
| 2 | Interchange control reference | Single value |
Common EANCOM and UN/EDIFACT values. Your trading partner's implementation guide is the final word on which codes they send.
Have a real message with UNZ in it? The explainer breaks down every segment and runs in your browser.
Explain my message