Show Menu
Cheatography

EDI (Electronic Data Interchange) Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

X12 Common EDI Transa­ction Keys

270/271
Eligib­ility 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 mainte­nance
835
Electronic Remitt­ances
837
Medical Claims with Subtypes for Profes­sional, Instit­uti­onal, and Dental Varieties
846
Inventory Inquiry
850
Purchase Order
852
Product Activity Data
855
Purchase Order Acknow­led­gement
856
Shipment Notice­/Ma­nifest
860
Purchase Order Change
894
Delive­ry/­Return Base Record
940
Warehouse Ship Order
945
Warehouse Ship Advice
997
Functional Acknow­led­gement

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-el­ement delimiter, and the segment delimiter
 

X12 | EDIFACT Mapping

PRODUC­T/P­RICING TRANSA­CTIONS
Price Sales Catalog
832
PRICAT
Electronic Bid Form
833
--
Contract Award
836
--
Request For Quotation
840
REQOTE
Specif­ica­tio­n/T­ech­nical Inform­ation
841
PRDSPE
Response To Request For Quotation
843
QUOTES
Price Author­ization Acknow­led­gem­ent­/Status
845
ATHSTS
ORDERING TRANSA­CTIONS
Purchase Order
850
ORDERS
Product Activity Data
852
SLSRPT
Purchase Order Acknow­led­gement
855
ORDRSP
Purchase Order Change
860
ORDCHG
Purchase Order Change Acknow­led­gment
865
ORDSP
Order Status Inquiry
869
ORSSTA
Order Status Report
870
ORDREP
 

X12 Mandatory Segments

ISA
Interc­hange Header - This contains inform­ation about the sender and recipient;
GS
Functional Group Header - segment of a set of X12 documents of the same document type (trans­action set). Here you'll find inform­ation about the functional group, e.g. codes for the sender, recipient, and date/time of prepar­ation;
ST
Transa­ction Set Header - segment of an X12 document. This marks the start of a transa­ction set in an interc­hange;
SE
Transa­ction Set Trailer - segment of an X12 document. This marks the end of a transa­ction set;
GE
Functional Group Trailer - segment of a set of X12 documents of the same transa­ction set. It tells you the number of functional groups and the control group number. It also marks the end of a group of transa­ction sets; and
IEA
End of Interc­hange - It contains inform­ation about the number of functional groups and the interc­hange control reference number.

Commun­ication Protocols

VAN (Value Added Network)
Private network provider (sometimes called turnkey commun­cations line) hired by a company to facilitate EDI
AS2 (Appli­cab­ility Statement 2)
Specif­ication about how to transport data securely and reliably over the internet. Security is achieved by using digital certif­icates 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.