EDI Transaction Codes Explained

EDI transaction codes (or EDI document types) define the standard format for exchanging key business documents electronically. From purchase orders to invoices and shipping notices, each code serves a specific role in digital supply chains.
Looking for a complete list of EDI transaction codes? Here is every EDI document type you need to know.
Guide to ANSI ASC X12 EDI Transaction Sets
There are many electronic data interchange (EDI) transaction codes that correspond to information in business documents, such as purchase orders and invoices. These can be exchanged with your trading partners and other third parties using EDI. Each document is called a transaction set because it includes a set of data components in a very specific order and format. Keeping the order and format of the data consistent is what enables the receiving computer system to correctly interpret which component corresponds to the sender’s company name, which represents the invoice number, and so on.
Breaking Down a Transaction Set
Every EDI transaction set is made up of three key components:
1. Data Elements
These are the smallest pieces of information – like company name, item number, quantity, or price. Each EDI standard defines:
- Data type (e.g., numeric, date, alphanumeric)
- Allowed length (minimum/maximum)
- Code values (e.g., currency codes)
2. Segments
A segment is a logical group of related data elements. For example, in an EDI 850 Purchase Order, a segment might include item number, quantity, unit, and price.
- Segments begin with an ID (e.g., IT1 for item detail)
- Elements are separated by a delimiter (typically an asterisk (*) in ANSI X12)
- Segments can be mandatory, optional, or conditional
The EDI standard in use (most commonly ANSI in North America or EDIFACT elsewhere) defines:
- The order of segments
- Whether segments can repeat
- Which segments are required for each transaction type
3. Envelopes
Envelopes wrap transaction sets for secure transmission:
- Message envelope: Wraps an individual transaction
- Group envelope: Wraps related transactions (e.g., multiple invoices)
- Interchange envelope: Wraps all groups for the full transmission
Start and end pairs define each envelope type to ensure accurate delivery and processing.
Meeting Trading Partner Requirements
Many retailers and supply chain partners require EDI compliance and provide mapping specifications for the transaction sets they expect. These detailed EDI compliance requirements can span 100+ pages and define:
- Required EDI documents (transaction sets)
- Mandatory segments and elements
- Code values and sequencing rules
Different partners require different sets, but no one expects all possible EDI documents. When onboarding a new partner, your EDI provider should supply or update the required mappings for you – making setup and ongoing compliance simpler.
TrueCommerce Supports Every ANSI ASC X12 EDI Code
No matter which codes your partners require, TrueCommerce has you covered. Our web-based EDI platform:
- Supports every ANSI ASC X12 transaction set
- Handles mapping and compliance updates automatically
- Integrates with your ERP, accounting, or inventory system
- Automates backups and version updates – no manual work required
We make it painless to send and receive whatever transaction sets your trading partners require. Our web-based EDI software automates backups, eliminates the hassle of updates, and integrates with your accounting software.
Download the Full EDI Transaction Code Guide
Want a downloadable reference? This guide provides information on the ANSI ASC X12 EDI standard and the various documents that can be exchanged using EDI, including transaction sets in the following categories:
- Order and Financial Series
- Transportation Air and Motor Series (TAM)
- Transportation Ocean Series (TOS)
- Transportation Rail Series (TRS)
- Warehousing Series (WAR)
Most Common EDI Codes
While there are hundreds of transaction sets, these are some of the most frequently used in supply chain and logistics:
- EDI 856 – Advance Shipping Notice (ASN)
- EDI 850 – Purchase Order
- EDI 810 – Invoice
- EDI 855 – Purchase Order Acknowledgement
- EDI 846 – Inventory Inquiry/Advice
- EDI 820 – Payment Order or Remittance Advice Document
- EDI 214 – Transportation Carrier Shipment Status Message
- EDI 940 – Warehouse Shipping Order
Full List of EDI Transaction Codes
Here are some of the most widely used EDI transaction codes across industries:
- EDI 180 - Return Merchandise Authorization and Notification
- EDI 204 - Motor Carrier Load Tender
- EDI 210 - Motor Carrier Freight Details and Invoice
- EDI 211 - Motor Carrier Bill of Lading
- EDI 214 - Transportation Carrier Shipment Status Message
- EDI 215 - Motor Carrier Pickup Manifest
- EDI 310 - Freight Receipt and Invoice (Ocean)
- EDI 315 - Status Details (Ocean)
- EDI 753 - Request for Routing Instructions
- EDI 754 - Routing Instructions
- EDI 810 - Invoice
- EDI 811 Consolidated Service Invoice/Statement - Consolidated Service Invoice/Statement
- EDI 812 - Credit/Debit Adjustment
- EDI 816 - Organizational Relationships
- EDI 819 Joint Interest Billing and Operating Expense Statement - Joint Interest Billing and Operating Expense Statement
- EDI 820 - Payment Order or Remittance Advice Document
- EDI 823 - Lockbox
- EDI 824 - Application Advice
- EDI 830 - Planning Schedule with Release Capability
- EDI 832 - Price/Sales Catalog
- EDI 840 - Request for Quotation
- EDI 843 - Response to Request for Quotation
- EDI 844 - Product Transfer Account Adjustment
- EDI 845 - Price Authorization Acknowledgement/Status
- EDI 846 - Inventory Inquiry/Advice
- EDI 849 - Response to Product Transfer Account Adjustment
- EDI 850 - Purchase Order
- EDI 852 - Product Activity Data
- EDI 853 - Routing and Carrier Instruction
- EDI 855 - Purchase Order Acknowledgement
- EDI 856 - Advance Shipping Notice (ASN)
- EDI 857 - Shipment and Billing Notice
- EDI 860 - Purchase Order Change Request – Buyer Initiated
- EDI 861 - Receiving Advice/Acceptance Certificate
- EDI 862 - Shipping Schedule
- EDI 864 - Text Message
- EDI 865 - Purchase Order Change Acknowledgement/Request - Seller Initiated
- EDI 866 - Production Sequence
- EDI 867 - Product Transfer and Resale Report
- EDI 869 - Order Status Inquiry
- EDI 870 - Order Status Report
- EDI 875 - Grocery Products Purchase Order
- EDI 876 - Grocery Products Purchase Order Change
- EDI 879 - Price Information
- EDI 880 - Grocery Products Invoice
- EDI 882 - Direct Store Delivery Summary Information
- EDI 888 - Item Maintenance
- EDI 889 - Promotion Announcement
- EDI 894 Delivery/Return Base Record - Delivery/Return Base Record
- EDI 930 Regulatory Agency Code
- EDI 940 - Warehouse Shipping Order
- EDI 943 - Warehouse Stock Transfer Shipment Advice
- EDI 944 - Warehouse Stock Transfer Receipt Advice
- EDI 945 - Warehouse Shipping Advice
- EDI 947 - Warehouse Inventory Adjustment Advice
- EDI 990 - Response to a Load Tender
- EDI 997 - Functional Acknowledgement
- APERAK Application error and acknowledgement message
- DELFOR Delivery schedule message
- DELJIT Delivery just in time message
- DESADV Despatch advice message
- INVOIC Invoice message
- INVRPT Inventory report message
- ORDERS Purchase order message
- RECADV Receiving advice message
To learn more about how we can address your specific EDI requirements, please call us at tel: +1 724-940-5520 or contact an EDI specialist today.