DevToolCase
Sign in Sign in

Read and check an EDIFACT or EANCOM message

Paste an EDIFACT message: every segment, element and code explained, and its structure checked against the D.93A, D.96A or D.01B directory.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

Runs entirely in your browser: nothing you type is sent or stored.

What is an EDIFACT message?

UN/EDIFACT is the standard of electronic data interchange between companies: orders (ORDERS), dispatch advices (DESADV), invoices (INVOIC)… EANCOM is its GS1 subset, used in retail.

A message is a series of segments, each ending with an apostrophe '. A segment holds elements separated by +, and an element components separated by :; ? escapes these characters.

What each message type is for, its segments and its codes are described in the EDIFACT message reference, with an annotated example to open here: ORDERS, DESADV, INVOIC…

The envelope

SegmentRole
UNAoptional: the separators, when they are not the usual ones
UNBstart of the interchange: sender, recipient, date, reference
UNHstart of a message: its type and directory, such as ORDERS:D:96A:UN:EAN008
UNTend of the message: its number of segments
UNZend of the interchange: its number of messages

What is checked

  • The structure of the message against its directory, D.93A, D.96A or D.01B: mandatory segments, order, repetitions.
  • The length and format of the elements, and coded values against their code lists.
  • GS1 numbers (GLN, GTIN, SSCC) and their check digits.
  • The envelope: segment and message counts, matching references.

Your messages stay with you

The message is read in your browser: only the directory definitions are downloaded, never your data. To use the data in a program, convert it to JSON or XML.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.