The message type is the template, and the EDIFACT message is the individual document based on that template. As a message type, ORDERS describes how every order is structured. A concrete message begins with the UNH segment, ends with the UNT segment, and contains the data of exactly one order. Several messages of the same type can sit in one interchange.
EDIFACT message types are standardized messages of the UN standard EDIFACT, each of which maps a business transaction such as an order or an invoice. Every type carries a code of up to six characters, such as INVOIC for the invoice. In the standard, they are called United Nations Standard Messages (UNSM). They are among the data formats and protocols in EDI that trading partners agree on with each other.
A message counts as a UNSM if it is registered, published, and maintained by the United Nations Economic Commission for Europe. All message types of a given version are collected in a directory such as D.01B. Our article on the EDIFACT standard in detail explains how directories, segments, and syntax relate.
