EDIFACT UNZ Segment: Interchange Trailer

Marks the end of an interchange and contains the count of messages and the interchange reference for validation.

Segment Code: UNZ
Mandatory: Yes
Position: End of interchange

UNZ Syntax Example

UNZ - Interchange Trailer
UNZ+1+1'

Data Elements

PositionNameDescription
0036Interchange control countNumber of messages in the interchange
0020Interchange control referenceMust match UNB reference

Common Mistakes

  • Incorrect message count
  • Reference not matching UNB
  • Missing when interchange has errors

Other EDIFACT Segments

Related Resources

Format Your EDIFACT Messages

See the UNZ segment in context. Paste any EDIFACT message to format and analyze instantly.

Open EDIFACT Formatter →