<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chandrasekar P on Medium]]></title>
        <description><![CDATA[Stories by Chandrasekar P on Medium]]></description>
        <link>https://medium.com/@chandruselv?source=rss-7c90853fa2c0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NmDgvjk8GCGHJXuYEJ9Dmw.jpeg</url>
            <title>Stories by Chandrasekar P on Medium</title>
            <link>https://medium.com/@chandruselv?source=rss-7c90853fa2c0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:51:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chandruselv/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Read EDI File Structure]]></title>
            <link>https://medium.com/@chandruselv/how-to-read-edi-file-structure-be2a8b4344fc?source=rss-7c90853fa2c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/be2a8b4344fc</guid>
            <category><![CDATA[edi-file-format]]></category>
            <category><![CDATA[edi-documents]]></category>
            <category><![CDATA[tradacoms]]></category>
            <category><![CDATA[ansi-x12]]></category>
            <category><![CDATA[edifact]]></category>
            <dc:creator><![CDATA[Chandrasekar P]]></dc:creator>
            <pubDate>Tue, 26 Apr 2022 05:36:56 GMT</pubDate>
            <atom:updated>2024-05-22T05:50:23.413Z</atom:updated>
            <content:encoded><![CDATA[<h3>EDI ANSI X12 850 PO.</h3><p><em>EDI X12 document structure</em></p><p><strong>EDI:</strong></p><p>Electronic data interchange is a computer-to-computer exchange of business documents between business partners in a standard electronic format.</p><p><strong>EDI Standards:</strong></p><p>Standards used for electronic data interchange are ANSI X12(US), EDIFACT(Europe), TRADACOMS(UK), and HIPAA(North America).</p><p>HIPAA is a sub-part of the ANSI X12 standard which is used in the Healthcare industry.</p><p>TRADACOMS used in domestic trade in the UK.</p><p><strong>EDI Document:</strong></p><p>EDI Documents are structured in a way of postal letters and have named envelopes based on their nature used in the documents. Each EDI document composes of the following segments:-</p><figure><img alt="EDI document segment division. Note: Based on standards Naming only varies segment division remains the same" src="https://cdn-images-1.medium.com/max/452/1*nS1cTUBCUmeGRM7POluN4A.gif" /><figcaption>EDI File Structure</figcaption></figure><blockquote><strong>1. Interchange</strong> <strong>Envelope</strong></blockquote><p>The interchange Envelope header is ISA and the trailer is IEA.</p><p>Note: We are discussing 850 Purchase Orders only.</p><p><strong><em>HEADER</em></strong>: <strong>ISA*00* *00* *ZZ*5489002*01*197607336*20000616*1549*U*00400*191154908*0*P*~</strong></p><p>The header (ISA) is an outermost segment, it is a fixed length of 106 and delimited. Each position is delimited by * and each position is a data element. ISA, IEA&amp;, etc are called Record Identifiers.</p><p>Each data element is called Position with the related segment as 01,02,03,…etc.</p><p>ISA01- 00 (Authorization info qualifier)</p><p>ISA02- Authorization Information, since ISA01 is 00, means No Authorization info(Ten empty spaces are given). ISA01 contains 5 codes from 00 to 04.</p><p>ISA03 — Security information Qualifier</p><p><em>00:No Security Information Present</em></p><p><em>01:Password</em></p><p>ISA04-Security information (Empty because no security requirement).</p><p>ISA05- Interchange Sender Id Qualifier (This qualifier is decided and given by Sender ) (*<strong>ZZ*</strong>)</p><p>ISA06- Sender Id of the size of 1/15(min/max), other 14 places filled with spaces and this applies for receiver ID as well (*<strong>5489002</strong>*).</p><p>ISA07- Interchange Receiver Id Qualifier (This qualifier is decided and given by Receiver. Sender &amp; Receiver Mutually agree to have a qualifier which can be the same or different) (*<strong>01*</strong>).</p><p>ISA08- Receiver Id of size of 1/15(min/max) (*<strong>197607336</strong>*).</p><p>ISA09- Interchange Date(YYMMDD: Format) (*<strong>20000616</strong>*).</p><p>ISA10- Interchange Time(HH: MM) (*<strong>1549</strong>*)</p><p>ISA11- Interchange Standards ID (Code to identify who is responsible for the Standard control) (*<strong>U</strong>*).</p><p>ISA12- Interchange Version ID ( Standard has version- preciously means release date) (*<strong>00400</strong>*).</p><p>ISA13- Interchange Control Number (*<strong>191154908</strong>*).</p><p>ISA14- Acknowledgement request (*<strong>0</strong>*) .</p><p><em>0: No Acknowledgment Requested</em></p><p><em>1: Interchange Acknowledgment Requested</em></p><p>ISA15- Data Indicator (*<strong>P*)</strong></p><p><em>P: Production(Data used in live production and original); T: Test(purpose of testing at developer end)</em></p><p>ISA16- Sub_Element Separator (*<strong>~</strong>*)</p><p><strong><em>TRAILER</em></strong>: <strong>IEA(Record Identifier)</strong></p><p>IEA*1*00001*~</p><p>IEA01- Total number of functional groups (*<strong>01</strong>*)</p><p>IEA02- Interchange Control number (*<strong>00001</strong>*)</p><p>IEA03- Segment separator (*<strong>~</strong>*).</p><blockquote><strong>2. Functional Group Envelope</strong></blockquote><p>The group Envelope header is GS and the trailer is GE.</p><p><strong><em>HEADER</em></strong>: <strong>GS*PO*Sender ID *Receiver ID*Data Interchange Date*Data Interchange Time*Functional group control number* Standard Code*Version Release ID~</strong></p><p>GS*PO*00001*000003*20061223*1750*4553882*X*003030~</p><p><strong><em>TRAILER</em></strong>: <strong>GS*Total no. of Transaction set*Functional group control no.~</strong></p><p>GS*3*4553882~</p><p><strong><em>Note:</em></strong><em> Functional group can be 1-N depending on the customer needs. For example, Alphabet is a Parent Company and its child company are Google, Youtube, etc.,</em></p><p><strong><em>Scenario</em></strong><em> : Consider Alphabet is our customer and he wants transactions of google, youtube in one file that is possible by adding 2 GS or each transaction for google &amp; youtube needs to be separate then that is also possible.</em></p><blockquote><strong>3. Transaction Set Envelope</strong></blockquote><p>The Transaction Set Envelope header is ST and the trailer is SE.</p><p><strong><em>Header</em></strong>: <strong>ST*Transaction Set Identifier Code*Transaction set Control Number~</strong></p><p>ST*850*191154910~</p><p><strong><em>Trailer</em></strong>: <strong>SE*Total transaction segment count(lines)*TS Control Number~</strong></p><p>TS Count is inclusive of SE and ST.</p><p>SE*17*191154910~</p><p><strong><em>Delimiters used in EDI file</em></strong></p><ul><li>~ or | are segment delimiter or separator.</li><li>* Element separator.</li><li>: Composite element separator(sub-element separator).</li><li>? Escape sequence delimiter( when any above delimiter is observed in EDI docs ? is used to tell the compiler that the next character is escape sequence).</li></ul><p>Detailing for Escape sequence: In company name: QWERTY but misspelled as QWE * RTY, to omit the delimiter(*)-&gt; ?* is used.</p><p><strong>EDI Transaction codes of ANSI X12 vs EDIFACT</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*rQgKousdr4CuBDsy6rDyhw.jpeg" /><figcaption>Transaction code</figcaption></figure><p><strong><em>NOTE: All the delimiters and certain qualifiers are decided by customers &amp; trading partners.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be2a8b4344fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>