```markdown
![](RackMultipart20211103-4-1r9q76x_html_7cfcc0e883f91cf.png) ![Shape1](RackMultipart20211103-4-1r9q76x_html_f8aaa488af7ece8.gif)

# **EDI Integration Documentation**

# Table of Contents

[Additional Documentation 4](#_Toc86771968)

[EDI 4](#_Toc86771969)

[Authentication 4](#_Toc86771970)

[EDI Groups 4](#_Toc86771971)

[EDI 101 Overview 4](#_Toc86771972)

[EDI Documents Definition 4](#_Toc86771973)

[General EDI X12 4010 Standards 5](#_Toc86771974)

[X12 Terminology 5](#_Toc86771975)

[X12 Interchange Control Structure 9](#_Toc86771976)

[X12 Envelope Control Number Validation 10](#_Toc86771977)

[X12 850 Document Breakdown 11](#_Toc86771978)

[X12 4010 Documents Definition 17](#_Toc86771979)

[Connector 22](#_Toc86771980)

[Create Document Entities from Document Standards 22](#_Toc86771981)

[ISA/Header 23](#_Toc86771982)

[Body 24](#_Toc86771983)

![](RackMultipart20211103-4-1r9q76x_html_9c2e920fa962ea71.png)[Setting Up a Job 27](#_Toc86771984)

## Additional Documentation

- [https://www.arcesb.com/resources/edi/x12.rst](https://www.arcesb.com/resources/edi/x12.rst)
- [https://www.amazon.com/Demystifying-EDI-Russell-Stultz/dp/1556227086](https://www.amazon.com/Demystifying-EDI-Russell-Stultz/dp/1556227086)
- [https://www.amazon.com/EDI-Its-Role-Commerce/dp/1882419162/ref=sr\_1\_1?dchild=1&amp;qid=1635785087&amp;qsid=133-3288046-7076055&amp;refinements=p\_27%3ANahid+Jilovec&amp;s=books&amp;sr=1-1&amp;sres=1882419162%2C1884322182%2C1583041176%2C1583040668&amp;text=Nahid+Jilovec](https://www.amazon.com/EDI-Its-Role-Commerce/dp/1882419162/ref=sr_1_1?dchild=1&amp;qid=1635785087&amp;qsid=133-3288046-7076055&amp;refinements=p_27%3ANahid+Jilovec&amp;s=books&amp;sr=1-1&amp;sres=1882419162%2C1884322182%2C1583041176%2C1583040668&amp;text=Nahid+Jilovec)
- [https://www.1edisource.com/resources/edi-transactions-sets/](https://www.1edisource.com/resources/edi-transactions-sets/)

## EDI

- Electronic Data Interchange- Developed in the late 70&#39;s to build an architecture for a standard to interchange data and documents
- EDI has smaller file sizes the xml
- X12 is an alias for EDI (Same standard)

## Authentication

1. Authentication is restricted to the surrounding technology
2. The ability to encrypt or decrypt the actual EDI documents relies on

## EDI Groups

1. Functional Group
2. Transaction Set-
3. Beta Elements-
4. Transactional Group-
  1. Segments
    1. Each Field has a Header
      1. Each Value is delimited by the delimiter (Usually an asterisk)

## EDI 101 Overview

### EDI Documents Definition

The Accredited Standards Committee X12 is a standards organization. Chartered by the American National Standards Institute in 1979, it develops and maintains the X12 Electronic data interchange and Context Inspired Component Architecture standards along with XML schemas which drive business processes globally. **X12** defines and maintains transaction sets that establish the data content exchanged for specific business purposes. Transaction sets are identified by a numeric identifier and a name. Each transaction set is maintained by a subcommittee operating within X12&#39;s Accredited Standards Committee.

X12 standard is used by hundreds of businesses in supply chain and other industries. Some of the most popular messages are 850, 810, 856, etc.

Earl Owen Co. will not be supporting all supply chain standard EDI documents. Below is a list of EDI documents that are supported by Earl Owen Co. or could be supported in the future.

- **EDI 846** - Inventory Inquiry
- **EDI 850** - Purchase Order
- **EDI 855** - Order Acknowledgement – sent in response to EDI 850 to confirm the receipt of the purchase order from the buyer
- **EDI 856** - Advance Ship Notice is to describe the transfer of shipment and tracking delivery information
- **EDI 810** - Invoice (electronic version of the paper invoice
- **EDI 997** - Functional Acknowledgment
- EDI 820 - Payment or Order Remittance (_requested by_ _Turn5_)
- EDI 860 - Order Change Request – used by buyers to request a change to a purchase order submitted previously and is primarily used when a supplier wants to communicate updates to an open order
- EDI 832 - Price/Sales Catalog
- EDI 830 - Planning Schedule with Release Capability
- EDI 870 - Order Status Report

## General EDI X12 4010 Standards

### X12 Terminology

#### Interchange

A group of data consisting of three components: an Interchange Control Header, a series of functional groups, and an Interchange Control Trailer. The Interchange Control Header and Interchange Control Trailer encloses the series of functional groups. An interchange can be thought of as a large envelope from your trading partner. Inside that envelope are individual, smaller EDI mail envelopes.

#### Transaction Set and Message

The terms transaction set and message mean essentially the same thing. The differences are found in the details of their structure. Both transaction sets and messages can be defined as follows: a collection of business-related data called segments that are exchanged between two trading partners. Each segment in a collection is followed by a segment terminator.

#### Segment

A segment is a logical grouping of data elements or a collection of elements that has a segment identifier, followed by one or more data elements. Between each data element is a data element separator. In X12, the same segment can be used for different purposes. This means that a field&#39;s meaning can change based on the segment.

#### Segment Identifier (ANSI ASC X12)

A code that uniquely identifies a segment as specified in the appropriate segment directory. For example, the ANSI ASC X12 Invoice Name segment identifier is &quot;N1.&quot;

The data element is the smallest named unit of information in the X12 standard. Data elements can be broken down into types. The distinction between the types is strictly a matter of how they are used. The types are

#### Element

A unit of information within a segment.

#### Data Element

![](RackMultipart20211103-4-1r9q76x_html_af014f6188696792.png)The smallest unit of information in a transaction set or message for the X12 Standard. It is like a field in a database. The elements contain the actual data. They consist of qualifiers and values.

##### Simple Data element

if a data element occurs in a segment outside the defined boundaries of a composite data structure, it is called a simple data element.

##### Composite Data Element

A collection of two or more data elements. If a data element occurs as an ordinally positioned member of a composite data structure, it is called a composite data element. A telephone number is a simple example of a composite. It has a three-digit area code, which must precede the three-digit central office code, which must precede the final four digits.

Each data element has a unique reference number, and it also has a name, description, data type, and minimum and maximum length.

#### Element Delimiter

The data element delimiter is a special character that separates the data elements.

In an X12 message, the various delimiters are part of the syntax, dividing up the different elements of a message. The delimiters used in a message are defined in the interchange control header, the outermost layer enveloping the message.

For this reason, there is flexibility in the delimiters that are used. No suggested delimiters are recommended as part of the X12 standards, but the industry-specific implementation guides do have recommended delimiters

#### Data Element Separator (or EDI delimiters)

A character used to separate elements in a segment.

EDI separators are used to separate the different EDI items from one another. It is imperative that a valid set of delimiters is used, and the various types of delimiters are placed at the correct position within an EDI file.

| If not otherwise agreed the default separators per standard are defined as: |
| --- |
|

| EDI Standard | Component | Data Element | Repetition | Segment | Sub Element |
| --- | --- | --- | --- | --- | --- |
| **X12** | \&gt; | \* | ^ | **~** | : |

 |

_Note_: It is important to note that errors could result if the transmitted data includes any of the characters that have been defined as delimiters. Specifically, the existence of asterisks within transmitted application data is a known issue in X12 and can cause problems with translation.

#### Sub-element Separator

A character used to separate the data elements of an ANSI ASC X12 composite data element. Currently, sub-element separators are reserved for future use.

#### Segment Terminator

These are the special characters appearing at the end of a segment to indicate the termination of the segment (i.e., ~). Usually not a printable character in ANSI ASC X12. The character can be defined by the customer and can be any character as long as they only appear as the segment terminator to avoid breaking the translation or parsing of the data.

#### Envelope

The control information, such as identifiers and addresses, that surrounds data. The data is bound together by header and trailer information. EDI Envelope - EDI files are a combination of transactions (or messages, or business data) wrapped up in functional groups, which are themselves wrapped up in interchange envelopes. Three levels of nesting. See [X12 Interchange Control Structure](#_X12_Interchange_Control) for more details

| EDI Standard | Interchange Header | Group Header | Message Header | Message Trailer | Group Trailer | Interchange Trailer |
| --- | --- | --- | --- | --- | --- | --- |
| **X12** | **ISA** | **GS** | **ST** | **SE** | **GE** | **IEA** |

|
 ![](RackMultipart20211103-4-1r9q76x_html_44fde3631390acbb.png) |
| --- |

#### Qualifier

A qualifier is sometimes used to indicate what the values in the data elements are. In the following example DTM01 = 038 which means &quot;Ship No Later&quot;. The shipment would need to be shipped by midnight on 07/30/2021. Autoanything uses code 038.

![](RackMultipart20211103-4-1r9q76x_html_aa1483f9b37764fb.png)

#### Loops

Loops are used to combine similar segments together; usually loops contain a parent-child relationship. For example, the N1 segment loops here twice. The first portion contains the Vendor&#39;s address information with child segments of N3 and N4 that contain the vendors address. The second portion contains the Ship To Store address with child segments of N3 and N4 that contain the vendors address. Loops are sets of repeating ordered segments. In X12 you can locate elements by specifying:

- Transaction Set
- Loop, for example &quot;PO loop&quot;
- Occurrence of the loop
- Segment, for example BGN
- Field number, for example 01
- Occurrence of the segment (if it is a repeating segment)

PO1\*1\*1\*EA\*282.65\*\*SK\*BDRILQ15SCK~

PO1\*2\*2\*EA\*54.49\*\*SK\*KAN60-1030~

### X12 Interchange Control Structure

Trading partners send data in a very specific format called the Interchange Control Structure. There are three basic levels of ASC X12 envelopes:

1. The interchange envelope
2. The functional group envelope
3. The transaction set envelope

The outermost envelope of EDI data is the interchange. An interchange consists of three components:

1. ISA Header segment
2. A series of functional group
3. IEA Trailer segment.

Header and Trailer segments contain sender and receiver addresses. They envelope the series of functional groups.

![](RackMultipart20211103-4-1r9q76x_html_245cc06744f08cce.png)

### X12 Envelope Control Number Validation

This is to ensure proper start and end of each envelope is mapped to each individual EDI document.

The below elements must match as aligned:

|
- ISA13 (Header) must match IEA02 (Trailer)
- GS06 (Header) must match GE02 (Trailer)
- ST02 (Header) must match SE02 (Trailer)

 |
| --- |
| ![](RackMultipart20211103-4-1r9q76x_html_c772ba9c3f630f24.png) |

#### The control protocol

| when you send interchanges to a trading partner, the interchange envelope has a control number that is used to uniquely identify the interchange. That control number is an integer that typically increments by one each time you send an interchange to that particular partner.
 |
| --- |
| The SE01 value should be the number of segments from ST to SE inclusive |
| ![](RackMultipart20211103-4-1r9q76x_html_971c65ee514a5ce3.png) |
| **To pass proper EDI X12 validation:**
- The ST02 is the transaction Set Control Number and should be matching the SE02 on the SE (Trailer or Closing Envelope).
- The GE01 value is the number of transaction sets Included in this Function Group
  - i.e. GE01 = 5, if five purchase orders are included on the same envelope
- The IEA01 is the number of functional groups included on the envelope
  - i.e. IEA01 = 2, if 850(s) and 810(s) documents are included on the same envelope
 |
| ![](RackMultipart20211103-4-1r9q76x_html_e8d89593f137f510.png) |

ISA11 Interchange Control Standards Identifier is default to &quot;U&quot; as it means the EDI standard is using U.S. X12 standard

ISA12 Interchange Control Version Number is default to &quot;00401&quot; which is the X12 version, in some cases referred to 4.01 or 4010.

### X12 850 Document Breakdown

| The EDI 850 document is a Purchase Order document from Autoanything with two Stock Codes_Note: First line (ISA) is wrapped as it is 106 characters and didn&#39;t fit, without making the font smaller_ |
| --- |
| ISA\*00\*          \*00\*          \*12\*8008748888     \*12\*8005272006     \*210727\*0837\*U\*00401\*000000019\*0\*T\*:~GS\*PO\*8008748888\*8005272006\*20210727\*083753\*19\*X\*004010~ST\*850\*2886~BEG\*00\*DS\*10002614\*\*20210719~REF\*IA\*2039~REF\*ZZ\*AutoAnything\*Channel~DTM\*038\*20210730\*235959~TD5\*Z\*ZZ\*FEDEX\*ZZ\*FEDEX\_2DAY\*\*ZZ\*FED2~N1\*ST\*John Doe~N3\*123 Main St~N4\*Tomorrowland\*CA\*92101\*US~PER\*IC\*\*TE\*5555555555\*EM\*edi@autoanything.com~PO1\*1\*1\*EA\*282.65\*\*SK\*BDRILQ15SCK~PO1\*2\*2\*EA\*54.49\*\*SK\*KAN60-1030~CTT\*2\*3~SE\*14\*2886~GE\*1\*19~IEA\*1\*000000019~ |
|
 |
| Each segment is conformed with a consistent pattern of elements between the segment name and the segment separator.
All separators are defined in the ISA interchange header. ISA is positional and contains 106 characters. The first 3 are the segment tag &#39;ISA&#39; and immediately after (4th character) is the data element separator. The last two characters in the ISA are the component data element separator and the segment separator. Sometimes segments can be postfixed and things such as CR\LF can appear at the end of each segment.
At position 106 in the ISA element is always the segment separator (~) in EDI X12 version 4010 (also known as 4.01 or 00401) |
| ![](RackMultipart20211103-4-1r9q76x_html_af014f6188696792.png)
 |

#### ISA and ISA

| The ISA is the Interchange Control HeaderThis is the beginning segment of almost all EDI documents. This is the outermost envelope, all of the EDI data is placed within this layer. The purpose of this segment is to identify the sender and receiver, date, time and control number information. This segment must match the IEA trailer segment.
Below is the ISA Segment breakdown into each element from ISA01 to ISA16 |
| --- |
| ![](RackMultipart20211103-4-1r9q76x_html_8230c20a4a7176a9.png)
 |

| IEA is the trailer of the ISA **Note** : the ISA14 and the IEA02 must match |
| --- |
| ![](RackMultipart20211103-4-1r9q76x_html_4bb0b1281edc41e7.png) |

#### GS and GE

| GS is the Group Header or Functional Group. Functional groups combine messages of the same type (group of invoices or group of purchase orders but not both) and of the same version. They are logical containers and are mandatory for X12
 |
| --- |
| ![](RackMultipart20211103-4-1r9q76x_html_4aa7557264cc9c4f.png)
 |

| Functional Group Trailer – Group Control Number GS06 and GE02 should be the same |
| --- |
| ![](RackMultipart20211103-4-1r9q76x_html_2753da603814c806.png) |

#### ST and SE

| Transaction Set Envelopes (ST/SE) Each Transaction Set also known as a transaction contains:
- Transaction Set Header (designated ST)
- Transaction Set Trailer (designated SE)
 |
| --- |
| Everything between the ST and SE is the Message or Detail Segment
 |
| ![](RackMultipart20211103-4-1r9q76x_html_4be671c80a07cc4d.png)
 |
| ST\*850\*2886~BEG\*00\*DS\*10002614\*\*20210719~REF\*IA\*2039~REF\*ZZ\*AutoAnything\*Channel~DTM\*038\*20210730\*235959~TD5\*Z\*ZZ\*FEDEX\*ZZ\*FEDEX\_2DAY\*\*ZZ\*FED2~N1\*ST\*John Doe~N3\*123 Main St~N4\*Tomorrowland\*CA\*92101\*US~PER\*IC\*\*TE\*5555555555\*EM\*edi@autoanything.com~PO1\*1\*1\*EA\*282.65\*\*SK\*BDRILQ15SCK~PO1\*2\*2\*EA\*54.49\*\*SK\*KAN60-1030~CTT\*2\*3~SE\*14\*2886~ |
| Single message, enveloped within the header and footerA Transaction Set has a three-digit code, a text title, and a two-letter code, for example, 850, Purchase Order (PO).
The Transaction Set is composed of logically related data grouped into units called segments. For example, one segment used in the Transaction Set might convey the address: city, state, postal code, and other geographical information. A Transaction Set will contain multiple segments. For example, the address segment might be used repeatedly to convey multiple sets of address information.
The X12 standard defines the sequence of segments in the Transaction Set and also the sequence of elements within each segment. The relationship between segments and elements can be compared to the relationship between records and fields in a database environment. |
| The ST01 shows the document number, 850 (Purchase Order) in this case. |
| ![](RackMultipart20211103-4-1r9q76x_html_cf047f036971cb9f.png) | ![](RackMultipart20211103-4-1r9q76x_html_205e16f8cc841929.png) |

#### REF

Are composite data elements or set of sub-elements that represent a single named item. Thinking of them as a set of child elements of a regular data element can be helpful. They have a purpose to specify identifying information.

| ![](RackMultipart20211103-4-1r9q76x_html_92795f7ffb6a2b31.png)
 | ![](RackMultipart20211103-4-1r9q76x_html_ea783fca31f74181.png)
 |
| --- | --- |

#### DTM

| Segment DTM is Date/Time Reference to specify pertinent dates and times. **Note** : Autoanything selected to use code &quot;038&quot; (Ship No Later) for the 850 as shown on the DTM01 below. |
| --- |
| ![](RackMultipart20211103-4-1r9q76x_html_37e6f9b1dccd0966.png)
 |
| On the DTM Segment, the first date that has one of the listed qualifiers in the DTM01 field is captured as the estimated ship date. The estimated ship date is used to determine if a shipment is going to be late. These are the codes that are used to qualify estimated ship dates:

| _ **Code** _ | _ **Definition** _ |
| --- | --- |
| _038_ | Ship no later than |
| _039_ | Ship week of |
| _066_ | First scheduled ship |
| _068_ | Current scheduled ship |
| _079_ | Promised for shipment |
| _083_ | Scheduled for shipment (prior to and including) |
| _085_ | Promised for shipment (prior to and including) |
| _086_ | Scheduled for shipment (week of) |
| _088_ | Promised for shipment (week of) |
| _110_ | Originally scheduled ship |
| _175_ | Cancel if not shipped by |


 |
|

The first date that has one of the listed qualifiers in the DTM01 field is captured as the delivery date. The delivery date is used to determine when a shipment missed its delivery window. These are the codes that are used to qualify delivery dates:

| _ **Code** _ | _ **Definition** _ |
| --- | --- |
| _001_ | Cancel after |
| _002_ | Delivery requested |
| _061_ | Cancel if not delivered by |
| _063_ | Do not deliver after |
| _071_ | Requested for delivery (after and including) |
| _074_ | Requested for delivery (prior to and including) |
| _106_ | Required by |
| _996_ | Required delivery |

Example of displaying the code in the DTM segment:

| **Code** | **Definition** | **Example** |
| --- | --- | --- |
| **038** | Ship No Later | DTM\*038\*20210801 |
| **011** | Date Shipped | DTM\*011\*20210729 |
| **106** | Required By Date | DTM\*106\*20210731 |
| **ZZZ** | Mutually Defined | DTM\*ZZZ\*20210601 |


 |

###

### X12 4010 Documents Definition

#### 846 – Inventory Inquiry

The EDI 846 transaction set is an electronic version of a paper Inventory Inquiry/Advice that complies with the ANSI X12 EDI specification. EDI 846 Inventory Inquiry/Advice is used by the supplier to notify a purchaser about stock status and availability. This EDI message is to exchange information about amount of goods currently on hand in various inventory holding locations, such as distribution centers, outlets and warehouses etc. It is used to communicate about inventory between manufactures, suppliers and resellers. EDI 846 is important mainly due to the increase of drop shipping business and e-commerce, which requires up-to-the-minute inventory updates.

EDI 846 Inventory Inquiry/Advice Key Data:

- Identifying number
- Inventory date
- Product item identifiers/services such as UPC/EAN/GTIN needed with their respective quantities
- Out of stock items and restock dates
- Products that have been discontinued
- Discontinued products
- Supplier warehouse locations with on hand amounts by item
- Vendor number
- Additional item identifiers such as buyer item number and vendor part number
- Item description

#### 850 – Purchase Order

The EDI 850 Purchase Order is an electronic version of a paper purchase order transaction set. The EDI 850 is sometimes also referred to as &quot;PO&quot;. It is used by buyers to place an order for goods or services from a supplier. The supplier sends a 997 functional acknowledgment back to the buyer to confirm the receipt of the EDI 850 Purchase Order. Buyers then send an EDI 855 Purchase Order Acknowledgement to the supplier to confirm the requirements in the purchase order.

EDI 850 Purchase Order Key Data:

- Purchase order number &amp; date
- Shipping details &amp; instructions
- Item brand names, SKUs, or model numbers
- Payment terms, such as on delivery or in 30 days
- Carrier details

Additional data that may be included in the EDI 850

- Item Price and Quantity
- Name &amp; Address of the Buyer
- Name &amp; Address of the Supplier
- Any additional terms for the sale, such as discounts, etc.
- Billing address
- Delivery date
- Price per unit

#### 855 – Purchase Order Acknowledgement

An EDI 855 Purchase Order is an electronic version of a paper Purchase Order Acknowledgement that complies with the ANSI X12 EDI specifications. It is used by sellers to confirm receipt, reject, or request modification of a purchase order (EDI 850) back to the buyer. The buyer then knows that supplier will be filling the order and shipping the goods by the date as requested.

EDI 855 Purchase Order Key Data:

- Purchase order number &amp; Date
- Shipping &amp; delivery Details &amp; instructions
- Item/Service Identifiers (UPC/EAN/GTIN)
- Order and item status (i.e. accepted, rejected, or backordered)

Additional data that may be included in the EDI 855 pertains to:

- Item Price and Quantity
- Name &amp; Address of the Buyer
- Name &amp; Address of the Supplier
- Any additional terms for the sale, such as discounts, etc.

#### 856 – Advice Shipping

An EDI 856 transaction is also known as an Advance Shipping Notice or ASN or Manifest. It is used to electronically exchange the contents of a printed packing slip between commercial trading partners. A supplier sends an ASN in advance to inform the trading partner that shipment is on the way so that trading partner can make arrangements to receive the merchandize. Suppliers requiring ASNs may also require GS1-128 barcode labels. The barcode label works in conjunction with EDI 856 and contains the supplier&#39;s vendor, carton and ASN number.

EDI 856 Advance Ship Notice Key Data:

- Purchase Order (EDI 850) information
- Shipping Package information such as carton barcodes printed
- Ship notice number
- Pallets Information
- Shipment Moving Information (ship to, ship from)
- Shipment Tracking Information

Additional data that may be included in the EDI 856 pertains to:

- Product Description
- Product Quantity Information
- Packaging Types Information
- Ship Delivery Date
- Carrier Reference Information

#### 810 – Invoice

An EDI 810 document is an electronic version of a paper invoice or bill that complies with the ANSI X12 EDI specification. A supplier will send an EDI 810 invoice to a distributor in response to an EDI 850 (Purchase Order) as a request for payment of goods or services once they are shipped or provided

EDI 810 Invoice Key Data:

Each EDI 810 Invoice document contains segments and data elements. Each segment contains at least one data element. Each data element is a data field. Examples of data elements are:

- Invoice number and date
- Purchase order number
- Payment terms
- Item information, including UPC/EAN/GTIN, as well as their quantities and price
- Shipping details

Additional data that may be included in the invoice pertains to:

- Carrier and service levels
- Invoice terms
- Ship to and remit to locations
- Vendor number
- Charges and/or allowances
- Buyer item number
- Address information

#### 997 – Functional Acknowledgement

An EDI 997 document is an electronic version a paper Functional Acknowledgement that complies with the ANSI X12 EDI specification. The EDI 997 Functional Acknowledgment document is sent as a response to an EDI 850 Purchase Order, EDI 810 Invoice, or any other transaction set received and was processed by the recipient. It does not indicate whether the trading partner accepted the contents of the transaction or the transaction meets business needs. In some instances, EDI 997 may indicate an acceptance or rejection notification. It may be rejected if it contains wrong data, missing required data or violates character length limit.

EDI 997 Functional Acknowledgement Key Data

- AK1 – Functional Group Response Header (Group Acknowledgment)
- AK2 – Transaction Set Header (Document Acknowledgment)
- AK3 – Data Segment Note (Reports errors in specific segments of the document received)
- AK4 – Data Element Note (Reports errors in specific elements of the document received)
- AK5 – Transaction Set Response Trailer (Type of Acknowledgement)
- AK9 – Functional Group Response Trailer (Group Response)

#### 820 – Payment or Order Remittance

An 820 EDI document is an electronic version of a paper Payment Order/Remittance Advice that complies with the ANSI X12 EDI specification. The 820 EDI document can be used to initiate payments and send remittance information between Trading Partners and Suppliers. 820 Payment Order/Remittance Advice is sent by a buyer to a supplier after an 810 Invoice is received, especially when the mode of payment is Electronic Funds Transfer. By automating the EDI 820 document, businesses can streamline the supply chain, free up resources and reduces human error caused by manually re-key the information.

EDI 820 Order/Remittance Advice Key Data

- Supplier/Buyer identification
- Bank &amp; Account identification
- invoice number &amp; adjustments information
- Billed and Paid Amounts

#### 832 – Price/Sales Catalog

An EDI 832 document is an electronic version of a paper Price/Sales Catalog that complies with the ANSI X12 EDI specification. The 832 EDI document type is used by suppliers/manufacturers to provide product information and prices in a catalog to retailers, distributors, dealers, trading partners. Instead of a paper catalog which needs to be reprinted for every update, EDI 832 can be updated in real-time and provides accurate catalog information to streamline the trade between buyer and supplier. The 832 document has four major functions: UPC catalog operation, a traditional vendor catalog, item setup and maintenance, and sales price communication. The recipient of an 832 Price/Sales Catalog will send a 997 Functional Acknowledgement in response, indicating that the 832 was successfully received.

EDI 832 Price/Sales Catalog Key Data:

Seller contact Details: name, phone number with address

- Terms of sale
- Product pricing information and taxation detail
- Product packaging type details
- Product description details
- Product physical details
- Product identifiers such as UPC/EAN/GTIN
- Product quantity and unit of measure

#### 830 – Planning Schedule with Release Capability

The EDI 830 transaction set is an electronic version of a paper planning schedule that complies with the ANSI X12 EDI specification primarily in the manufacturing industry. EDI 830 Planning Schedule with Release Capability transaction set is used to provide information regarding a projected schedule for an order and/or the commitment of materials on the part of the supplier. In electronic data interchange, the 830 document is essentially an electronic sales forecast. This document can be used in several different ways: as a simple forecast, as a forecast with the trading partner&#39;s authorization for the seller to commit to future resources like material or labor, or as a forecast that can also be used as a mechanism of order release, containing elements like resource authorizations, specific shipment patterns, and period-to-date quantities which have been cumulated

EDI 830 transaction set can be used in one of three ways:

- A basic forecast
- A forecast with buyer&#39;s authorization for the recipient to commit to resources
- Aa forecast that also includes order release mechanism

#### 860 – Purchase Order Change Request

The EDI 860 transaction set is an electronic version of a paper Purchase Order Change Request that complies with the ANSI X12 EDI specification. The 860 EDI document contains the format and establishes the data contents relating to a purchase order change – Buyer Initiated EDI 860 for use within the context of an EDI environment. It is used by buyers to request purchase order changes (EDI 850) they previously submitted, or by a buyer to confirm acceptance of changes made by the seller to a purchase order, or by mutual agreement of the two parties. The buyer will send the EDI 860 Purchase Order Change Request, and the seller will send back an EDI 865 Purchase Order Acknowledgement with Change in response.

Common Requested Changes in an EDI 860:

- Add or change items
- Change items or quantity
- Change dates or Price
- Reschedule dates for items

EDI 860 Purchase Order Change Request Key Data:

- Purchase order number
- Purchase order date
- Type of order change
- Item/Service Identifiers (UPC/EAN/GTIN)
- Item Price and Quantity
- Item additions and/or deletions
- Any additional terms for the sale, such as discounts, etc.

#### 870 – Order Status Report

The EDI 870 transaction set is an electronic version of a paper Order Status report that complies with the ANSI X12 EDI specification. It is used by the vendor or supplier as a response to an EDI 869 Order Status Inquiry provided by a trading partner and reports the current status of the 850 Purchase Order in question. The 870 Order Status Report can be used to report on the status about the requirement forecast, entire purchase order, selected items/products/services of a purchase order. This transaction set can be used to update the current status of requisitions or to update the supplier&#39;s scheduled shipment.

EDI 870 Order Status Report Key Data:

- Vendor or supplier information
- Item description (SKU, Quantity, Price etc.)
- Purchase order status report
- Number of the specific purchase order in question
- Additional status details of an order

## Connector

- [https://github.com/indice-co/EDI.Net/tree/master/src/indice.Edi](https://github.com/indice-co/EDI.Net/tree/master/src/indice.Edi)

### Create Document Entities from Document Standards

1. First map fields from Customer documentation

1. You can name properties whatever you want, as long as the Paths match up to the documentation
2. Biggest thing that the jobs does is
  1. Use the EDI service to serialize the entity into the document we created
  2. Using the mappers to map the data from one entity to another
  3. Uses Sypro or Epicor to submit that data into the system
    1. Also the reverse which is the exact opposite
      1. Only difference is that inside the mapping you are creating an empty EDI value and assigning the values

1. All the job is doing, is using the EDI service to list the documents
2. The EDI service has a default method of serializing documents into document classes that we had set up
3. Whatever your connecting to, use the translations.
  1. It will take the items in the document based on entity we set up and will call the mapping methods

## ISA/Header

1. ISA&#39;s are standardized across documents. Will rarely be customized.
2. This is similar to the header/footer envelopes in an XML file.

![](RackMultipart20211103-4-1r9q76x_html_f12c294b46389eab.png)

![](RackMultipart20211103-4-1r9q76x_html_63b9e3a88e013c0.png)

## Body

1. The body of the document is highly customized based off of client needs.
2. Will need to review their specifications and ensure that the properties all match up exactly.

![](RackMultipart20211103-4-1r9q76x_html_ec7643566953493c.png)

List of all the segments that are going to be involved with the groups

![](RackMultipart20211103-4-1r9q76x_html_9d764eeed63673c3.png)

1. Details of what goes into each section
  1. This is what you will see as a reference for the path
  2. These paths will be the same for each document

### ![](RackMultipart20211103-4-1r9q76x_html_9c2e920fa962ea71.png) Setting Up a Job

1. Write the properties to the document and then use the Push method to send.

![](RackMultipart20211103-4-1r9q76x_html_a7e568ca327eec26.png)

![](RackMultipart20211103-4-1r9q76x_html_4e7bed39d865186a.png)

###

![](RackMultipart20211103-4-1r9q76x_html_e88609ec417d0bb8.jpg)©Clarity Ventures, Inc. Confidential- Page | 21
```