This is a draft cheat sheet. It is a work in progress and is not finished yet.
X12 Common EDI Transaction Keys
270/271 |
Eligibility Inquiry & Response |
276/277 |
Claim Status Inquiry & Response |
278 |
Health Services Review request & reply |
810 |
Invoice |
820 |
Payroll Deducted & Other Group Premium Payment for Insurance Products |
834 |
Benefits enrollment and maintenance |
835 |
Electronic Remittances |
837 |
Medical Claims with Subtypes for Professional, Institutional, and Dental Varieties |
846 |
Inventory Inquiry |
850 |
Purchase Order |
852 |
Product Activity Data |
855 |
Purchase Order Acknowledgement |
856 |
Shipment Notice/Manifest |
860 |
Purchase Order Change |
894 |
Delivery/Return Base Record |
940 |
Warehouse Ship Order |
945 |
Warehouse Ship Advice |
997 |
Functional Acknowledgement |
Envelopes
The structure for all documents begins and ends with an envelope. The envelope is usually made up of the ISA segment and the GS segments. There can be more than one GS segment per file, but there should only be one ISA segment per file. The ISA is a special segment. Whereas all the other segments are delimited, and therefore can be of varying lenghts, the ISA segment is of fixed width. This is because it tells you how to read the rest of the file.
Start with the last three characters of the ISA segment. Those will tell you the element delimiter, the sub-element delimiter, and the segment delimiter |
|
|
X12 | EDIFACT Mapping
PRODUCT/PRICING TRANSACTIONS |
Price Sales Catalog |
832 |
PRICAT |
Electronic Bid Form |
833 |
-- |
Contract Award |
836 |
-- |
Request For Quotation |
840 |
REQOTE |
Specification/Technical Information |
841 |
PRDSPE |
Response To Request For Quotation |
843 |
QUOTES |
Price Authorization Acknowledgement/Status |
845 |
ATHSTS |
ORDERING TRANSACTIONS |
Purchase Order |
850 |
ORDERS |
Product Activity Data |
852 |
SLSRPT |
Purchase Order Acknowledgement |
855 |
ORDRSP |
Purchase Order Change |
860 |
ORDCHG |
Purchase Order Change Acknowledgment |
865 |
ORDSP |
Order Status Inquiry |
869 |
ORSSTA |
Order Status Report |
870 |
ORDREP |
|
|
X12 Mandatory Segments
ISA |
Interchange Header - This contains information about the sender and recipient; |
GS |
Functional Group Header - segment of a set of X12 documents of the same document type (transaction set). Here you'll find information about the functional group, e.g. codes for the sender, recipient, and date/time of preparation; |
ST |
Transaction Set Header - segment of an X12 document. This marks the start of a transaction set in an interchange; |
SE |
Transaction Set Trailer - segment of an X12 document. This marks the end of a transaction set; |
GE |
Functional Group Trailer - segment of a set of X12 documents of the same transaction set. It tells you the number of functional groups and the control group number. It also marks the end of a group of transaction sets; and |
IEA |
End of Interchange - It contains information about the number of functional groups and the interchange control reference number. |
Communication Protocols
VAN (Value Added Network) |
Private network provider (sometimes called turnkey communcations line) hired by a company to facilitate EDI |
AS2 (Applicability Statement 2) |
Specification about how to transport data securely and reliably over the internet. Security is achieved by using digital certificates and encryption |
FTP/sFTP (File Transfer Protocol) |
Standard network protocol used to transfer files from one host to another over TCP-based network like the Internet. |
|