EDIFACT
EDIFACT
EDIFACT
EDI standards facilitate electronic data
interchange (EDI) by providing:
Rules of syntax
Definition of the data organization
Editing rules and conventions
Published public documentation
EDI standards:
Allow an ‘open’ system
Reduce implementation effort
Provide ‘third-party interfaces’
What is EDIFACT?
EDIFACT is an acronym for EDI For
Administration, Commerce and Transport. It
coordinates international standardization by
working through the UN/ECE (United
Nations/Economic Commission for Europe). It
provides:
an international EDI standard
a set of syntax rules
data elements, segments and codes
messages
EDIFACT is the product of the evolution in
bringing the Proprietary Standards of the U.S.
and Europe together to form a single
international EDI standard.
In order to bring about the evolution of the EDIFACT standard, the UN has
created UN/ECE to coordinate this effort. The organizational structure of the
UN/ECE is made up of the following board
Message Definition
A Message is a single business document. Each
message is identified by a six character name.
From the buyer-side these include:
ORDERS-Purchase Orders
CUSDEC-Customs Declaration
IFTMIN-Instruction Message
REMADV-Remittance Advice
PAYORD-Payment Order
Seller-side messages include:
IFTMAN-Arrival Notice
CUSRES-Custom Response
INVOIC-Invoices
Messages are made up of a collection of sequenced
segments within defined areas. Some segments may
be used in more than one area. The segments that can
be used in each area are defined by the EDIFACT
documentation. EDIFACT provides a hierarchical
structure for messages.
All segments are fully documented in the United Nations Trade Data Interchange
Directory (UNTDID). These tables list the segment position, segment tag,
segment name. Segment tables also
specify if a segment must appear in a message using the requirements
designator M (Mandatory) or C (Conditional), and how many times a
particular segment may repeat (repetition field).
Service Segments
Generic Segments
Service & Generic
Segments
Service Segments are:
Envelopes (UNB-UNZ, UNG-UNE, UNH-UNT)
Delimiter String Advice (UNA)
Section Separator (UNS)
However, optional or
conditional data elements
without data that appear at
the end of a data segment
do not need additional data
element separators to
correctly position the data.
What is Mapping?
There are almost as many business applications as there are
businesses. In the early days, each business had its own
applications for tracking merchandise, ordering, invoicing,
accounts payable, receivable, and other business needs. We soon
realized that:
This is how the Party Qualifier data element (3035) is displayed in the message:
The composite data elements (C078 and C088) are made up of various conditional
components from the segment table. Because they are conditional not all of the data
elements are used. All components are separated by a sub-element qualifier (:).
Message Structure and
Electronic Enveloping
Envelope Architecture
Levels and Character Sets
In EDIFACT there are two levels in which messages may
be transmitted. The use of a particular level designates
which character set will be used:
LEVEL A (UNA): only upper case; only printable characters
LEVEL B (UNB): upper and lower case; includes non-
printing characters for delimiters
The UNA Interchange is transmitted as a single string of
9 characters prior to the UNB Interchange segment.
UNA is optional, and if not used, the defaults shown
below apply:
Electronic Enveloping
EDIFACT has two required levels of envelopes:
Interchange (UNB/UNZ): a set from one sender’s mailbox address to another
sender’s mailbox address
Message (UNH/UNT): the envelope around one particular message
In addition, there is one optional envelope level: Functional Group
(UNG/UNE). It is used to group like messages together and for sub-
addressing within an organization. In the US ANSI X.12 standards this
group level is where the message format and version are specified. Use of
the UNG/UNE is mandatory to/from North America.
The following diagram illustrates Electronic Enveloping:
The Message Envelope
The innermost envelope level is around each message. It is
defined by the UNH/UNT segments.
The UNH segment has four Data Elements:
Message Reference Number (M): assigned by the sender’s
computer and is part of the CONTROL mechanism.
Here is an
example of
how the
CONTROL
mechanism in
the UNH
element is
used to
validate
message data:
The Common Access Reference Number is used to identify a series of related
EDIFACT messages. For example, one purchase may involve a message
exchange that requires four messages to accomplish the complete business
transaction as given here:
This envelope groups like types of messages within a transmission. Here are a
few examples of the data elements in the functional group envelope:
Functional Group (M)
Message Identifier (M)
Date/Time Stamp (M): Relates multiple transactions together.
Status of the Transfer (C): Sequences a series of related messages.
Group Reference Number (M)
Controlling Agency (M)
Message Version (M)
Application Password (C)