EDI 850 (Purchase Order) document in X12 format

SA Segment (Interchange Control Header)

The ISA segment is the envelope for the EDI document, defining communication details between the sender and receiver.

  • ISA01 (Authorization Information Qualifier): 00 – No authorization information present.
  • ISA02 (Authorization Information): Blank – Not used in this document.
  • ISA03 (Security Information Qualifier): 00 – No security information present.
  • ISA04 (Security Information): Blank – Not used in this document.
  • ISA05 (Interchange ID Qualifier): 07 – Qualifies the sender’s ID (e.g., telephone number or DUNS number).
  • ISA06 (Interchange Sender ID): 0733175000000T – The sender’s unique identifier.
  • ISA07 (Interchange ID Qualifier): ZZ – Indicates mutually defined IDs for the receiver.
  • ISA08 (Interchange Receiver ID): COMMANDER – The receiver’s unique identifier.
  • ISA09 (Interchange Date): 250117 – Date of interchange (January 17, 2025).
  • ISA10 (Interchange Time): 0920 – Time of interchange (09:20 AM).
  • ISA11 (Interchange Control Standards Identifier): U – ANSI X12 standard.
  • ISA12 (Interchange Control Version Number): 00401 – Version of the X12 standard used.
  • ISA13 (Interchange Control Number): 168825454 – Unique identifier for this interchange.
  • ISA14 (Acknowledgment Requested): 0 – No acknowledgment requested.
  • ISA15 (Usage Indicator): P – Indicates a production transaction.
  • ISA16 (Component Element Separator): > – Defines the separator for sub-elements.

GS Segment (Functional Group Header)

The GS segment defines the functional group and groups related transactions (e.g., all purchase orders).

  • GS01 (Functional Identifier Code): PO – Purchase Order.
  • GS02 (Application Sender’s Code): 0733175000000T – Same as ISA06.
  • GS03 (Application Receiver’s Code): COMMANDER – Same as ISA08.
  • GS04 (Date): 20250117 – Date of the transaction (January 17, 2025).
  • GS05 (Time): 0920 – Time of the transaction.
  • GS06 (Group Control Number): 168825454 – Matches ISA13 and SE02.
  • GS07 (Responsible Agency Code): X – X12 standard agency.
  • GS08 (Version/Release/Industry Identifier): 004010 – X12 version 4010.

ST Segment (Transaction Set Header)

The ST segment starts a single transaction (Purchase Order in this case).

  • ST01 (Transaction Set Identifier Code): 850 – Purchase Order.
  • ST02 (Transaction Set Control Number): 0001 – Control number for this transaction, matches SE02.

BEG Segment (Beginning Segment for Purchase Order)

The BEG segment provides high-level details about the purchase order.

  • BEG01 (Transaction Set Purpose Code): 00 – Original purchase order.
  • BEG02 (Purchase Order Type Code): DS – Drop Shipment order.
  • BEG03 (Purchase Order Number): PO10044112 – The unique purchase order number.
  • BEG04: Blank – Not used.
  • BEG05 (Purchase Order Date): 20250117 – Date of the purchase order (January 17, 2025).

CUR Segment (Currency)

The CUR segment specifies the currency for the transaction.

  • CUR01 (Entity Identifier Code): BY – Buyer (Bill To).
  • CUR02 (Currency Code): USD – United States Dollar.

FOB Segment (Free On Board)

The FOB segment specifies the shipping terms.

  • FOB01 (Shipment Method of Payment): PP – Prepaid (the seller pays the shipping costs).

DTM Segment (Date/Time Reference)

The DTM segment provides date and time details.

  • DTM01 (Date/Time Qualifier): 002 – Delivery requested date.
  • DTM02 (Date): 20250117 – Requested delivery date (January 17, 2025).

N9 Segment (Reference Identification)

The N9 segment provides reference notes or instructions.

  • N9-01 (Reference Identification Qualifier):
  • L1 – Special instructions.
  • H7 – Standard clauses.
  • N9-02 (Reference Identification): The corresponding instruction or clause.

MSG Segment (Message Text)

The MSG segment provides free-form text messages.

  • MSG01: Please contact 800-279-4441 for all Rockier direct delivery inquiries.

N1 Segment (Name)

The N1 segment identifies parties involved in the transaction.

  • N1-01 (Entity Identifier Code):
  • OB – Ordered By.
  • ST – Ship To.
  • VN – Vendor.
  • BT – Bill To.
  • N1-02 (Name): The name of the respective party.

N3 Segment (Address Information)

The N3 segment provides address details.

  • N3-01 (Address Information): Address line.

N4 Segment (Geographic Location)

The N4 segment provides city, state, and postal code.

  • N4-01 (City Name): The city of the address.
  • N4-02 (State or Province Code): The state or province.
  • N4-03 (Postal Code): The postal/ZIP code.

PER Segment (Administrative Communications Contact)

The PER segment provides contact information.

  • PER01 (Contact Function Code): DC – Delivery Contact.
  • PER02 (Name): The contact name.
  • PER03 (Communication Number Qualifier): TE – Telephone.
  • PER04 (Communication Number): The contact’s phone number.

PO1 Segment (Purchase Order Line Item)

The PO1 segment specifies each line item in the purchase order.

  • PO1-01 (Assigned Identification): Line item number.
  • PO1-02 (Quantity Ordered): Quantity ordered.
  • PO1-03 (Unit of Measure): EA (Each) or KT (Kit).
  • PO1-04 (Unit Price): Price per unit.
  • PO1-06 (Product/Service ID Qualifier): BP – Buyer’s Part Number.
  • PO1-07 (Product/Service ID): The part number.

PID Segment (Product/Item Description)

The PID segment provides item descriptions.

  • PID01 (Item Description Type): F – Free-form description.
  • PID05 (Description): The description of the item.

SE Segment (Transaction Set Trailer)

The SE segment indicates the end of a transaction.

  • SE01 (Number of Included Segments): 35 – Total number of segments in the transaction.
  • SE02 (Transaction Set Control Number): 0001 – Matches ST02.

GE Segment (Functional Group Trailer)

The GE segment ends the functional group.

  • GE01 (Number of Transaction Sets Included): 1 – Number of transactions (one purchase order in this case).
  • GE02 (Group Control Number): 168825454 – Matches GS06.

IEA Segment (Interchange Control Trailer)

The IEA segment indicates the end of the interchange.

  • IEA01 (Number of Included Functional Groups): 1 – Number of functional groups included (one purchase order group in this case).
  • IEA02 (Interchange Control Number): 168825454 – Matches ISA13.

Leave a comment

Your email address will not be published. Required fields are marked *