:
.
~
and the end of an element by a *
. Here’s an example of two segments, both with three elements.
*
. For example, here’s a segment with several elements.
ISA
segment and the end is marked by the IEA segment. Every EDI file must have at least one interchange and consequently, every EDI file starts with an ISA
segment and ends with an IEA segment. Read more: Control numbers in X12 EDI.
/
.
~
. It’s also common to add a new line character after the delimiter, but that’s for human readability only and has no semantic value.