There are three important components found within an X12 document: Segments, Elements, and Loops.
Each line of an X12 document is a Segment, which starts with the Segment ID and ends with a
Within each Segment there are multiple Elements, separated by Element separators:
There are also Component Element separators
> which can be used within Elements to separate sections of the Element.
Loops are Segments or Elements that are grouped together because they are all related to a similar piece of information.
For example, in an 850 Purchase Order, there is an Address loop, which in this example contains information about:
- Party Identification in the
- Party Location in the
- Geographic Location in the
Updated 5 months ago