BISAC X12 Version 3060 Business Example
Back to EDI Cookbook Table of Contents
Back to Other Helpful Business Examples
This is an example of a purchase order transaction
that includes the X12 enveloping segments.  


Sample 850 Purchase Order with Enveloping  

Sample Segment Data
Data Elements Data Element Descriptions
ISA*00*          *00*          *ZZ*1135309        *ZZ*2002450        *980319*1430*U*
00200*000000001*0*P*>~
  • ISA01 
     
  • ISA02 
  • ISA03 
     
  • ISA04 
  • ISA05 

     
  • ISA06 
  • ISA07 
     
     
  • ISA08 
  • ISA09 
     
  • ISA10 
  • ISA11 
  • ISA12 
     
  • ISA13 
     
       
     
  • ISA14 
  • ISA15 
     
  • ISA16 
     
     
  • 00 indicates that no authorization information is present;
    e.g. no meaningful information appears in ISA02 
  • Authorization Information. This field is usually left blank. 
  • 00 indicates that no security information is present;
    e.g. no meaningful information appears in ISA04 
  • Security Information. This field is usually left blank. 
  • ZZ indicates mutually defined. For the book industry
    this indicates that the sender ID in ISA06 is the
    sender’s Standard Address Number (SAN) #. 
  • 1135309 
  • ZZ indicates mutually defined. For the book industry
    this indicates that the receiver ID in ISA08 is the
    sender’s Standard Address Number  (SAN) #. 
  • 2002450 
  • Date the interchange is created. Format is
    ‘YYMMDD’. 
  • Time the interchange is created. format is ‘HHMM’. 
  • ‘U’ indicates US EDI community of ASC X12. 
  • ‘00200’ is the version number for the interchange
    envelope only. 
  • This number must be unique by trading partner. Since
    this number can be used for auditability it is
    recommended that it be a continuously
    incremented sequential number. 
  • ‘0’ indicates that no acknowledgment is requested. 
  • ‘P’ indicates that the data is Production Data. (‘T’
    would indicate that the data is Test Data.) 
  • ‘>’ is the sub-element separator. This field is reserved
    for future expansion.
GS*PO*1135309*2002450*980319*1435*200*X*003060~
  • GS01 
     
     
  • GS02 
     
  • GS03 
     
  • GS04 
  • GS05 
  • GS06 
     
     
  • GS07 
  • GS08 
  • The functional identifier code ‘PO’ is for the Purchase Order. (For
     other document types please refer to the ‘BISAC X12
    Implementation Guidelines for EDI - version 3.6). 
  • 1135309. This is the Sender’s SAN. It should be identical to
    ISA06. 
  • 2002450. This is the Receiver’s SAN. It should be identical to
    ISA08. 
  • Date the group is created. Format is ‘YYMMDD’. 
  • Time the group is created. Format is ‘HHMM’. 
  • This number must be unique by trading partner. Since this number
    can be used for acknowledgment reconciliation it is recommended
    that it be a continuously incremented sequential number. 
  • X indicates the Accredited Standards Committee X12. 
  • ‘003060’ indicates the version of the documents contained in this
    group. 
ST*850*000000101~
  • ST01 
  • ST02 
  • Transaction 850 
  • Set control number 101 
BEG*00*NE*0123456789123**980106**AC~
  • BEG01 
  • BEG02 
  • BEG03 
  • BEG05 
  • BEG07 
  • Original transaction 
  • New Order 
  • PO Number 0123456789123 
  • PO Date 01/06/98 
  • Acknowledge with detail and change 
CSH*O~
  • CSH01 
  • Back order if items are out of stock or not yet published 
DTM*175*980615***19~
  • DTM01 
  • DTM02 
  • DTM05 
  • Cancel if not shipped by 
  • 6/15/98 
  • Century designation of 19 
N1*BT**15*1135309~
  • N101 
  • N103 
  • N104 
  • Bill to 
  • SAN 
  • 1135309
N1*ST**15*6678157~
  • N101 
  • N103 
  • N104 
  • Ship to 
  • SAN 
  • 6678157 
PO1*1*2*UN*10.5*SR* IB*0835201031~
  • PO101 
  • PO102 
  • PO103 
  • PO104 
  • PO105 
  • PO106 
  • PO107 
  • Line item 1 
  • Quantity 2 
  • units 
  • $10.50 
  • Suggested retail price 
  • ISBN 
  • 0835201031 
CTP******DIS*.8~
  • CTP06 
  • CTP07 
  • Discount 
  • multiplier of .8(100% - 80% = 20% discount) 
PO1*2*10*UN*9.25*SR*IB*0835202151~
  • PO101 
  • PO102 
  • PO103 
  • PO104 
  • PO105 
  • PO106 
  • PO107 
  • Line item 2 
  • Quantity 10 
  • units 
  • $9.25 
  • Suggested retail price 
  • ISBN 
  • 0835202151 
CTP******DIS*.8~
  • CTP06 
  • CTP07 
  • Discount 
  • multiplier of .8 (100% - 80% = 20% discount) 
PO1*3*5*UN*30*SR*IB*0835208338~
  • PO101 
  • PO102 
  • PO103 
  • PO104 
  • PO105 
  • PO106 
  • PO107 
  • Line item 3 
  • Quantity 5 
  • units 
  • $30.00 
  • Suggested retail price 
  • ISBN 
  • 0835208338 
CTP******DIS*.8~
  • CTP06 
  • CTP07 
  • Discount 
  • multiplier of .8 (100% - 80% = 20% discount) 
CTT*3*17~
  • CTT01 
  • CTT02 
  • 3 PO1 segments 
  • 17 total units 
SE*14*000000101~
  • SE01 
  • SE02 
  • 14 segments inclusive of ST & SE segments 
  • Control number 101 This is the same as ST02 
GE*10*200~
  • GE01 
     
  • GE02 
     
  • This is the total count of ‘ST’ segments within the function group; 
    e.g. the number of Purchase Orders in this group. 
  • ‘200’ is the group control number. It is the same as the control number
    in GS06. 
IEA*1*000000001~
  • IEA01 
     
  • IEA02 
     
  • This is the total count of ‘GS’ segments within the interchange; 
    e.g. the number of functional groups in this interchange. 
  • ‘000000001’ is the interchange control number. It is the same as the
    control number in ISA13. 

Back to EDI Cookbook Table of Contents
Back to Other Helpful Business Examples