The EDI-X12 data services contain components that convert messages between X12 and XML and generate validation error reports and acknowledgements. X12 is a standard for electronic data interchange (EDI) between trading partners over data networks. X12 is developed and maintained by the Accredited Standards Committee (ASC).
X12 message structure
An X12 message contains the following layers:
•Interchange. The outer layer that wraps the entire X12 message.
•Functional group. The middle layer that wraps one or more transaction sets.
•Transaction set. The inner layer that contains the data.
Each transaction set contains a header, one or more data segments, and a trailer. A transaction set might contain data such as a purchase order, an invoice, or a statement of an account.
The following sample message shows an X12 Vessel Content Details transaction set: