Learning Center

EDI X12 transaction set reference

ANSI ASC X12 is the most widely used EDI standard in North America. Each business document is a numbered transaction set. Here are the sets most companies encounter, grouped by business process, with in-depth guides for the most common ones.

321 detailed transaction guides available

Inside an X12 interchangeNested boxes: the interchange, opened by ISA and closed by IEA, contains a functional group opened by GS and closed by GE, which contains a transaction set opened by ST and closed by SE. Inside the set are segments such as BEG, REF, N1, PO1 and CTT.Inside an X12 interchangeEvery transaction set travels inside two envelopesInterchangeISAIEASender and receiver IDs, date, control number and the delimitersFunctional groupGSGEGroups sets of one type, such as PO for purchase ordersTransaction setSTSEOne business document, such as an 850 purchase orderBEGREFN1PO1CTT
Inside an X12 interchangeNested boxes: the interchange, opened by ISA and closed by IEA, contains a functional group opened by GS and closed by GE, which contains a transaction set opened by ST and closed by SE. Inside the set are segments such as BEG, REF, N1, PO1 and CTT.Inside an X12 interchangeEvery transaction set travels inside twoenvelopesInterchangeISAIEASender and receiver IDs, date, controlnumber and the delimitersFunctional groupGSGEGroups sets of one type, such as PO forpurchase ordersTransaction setSTSEOne business document, such as an850 purchase orderBEGREFN1PO1CTT

Envelopes nest from the outside in. A single interchange can carry several functional groups, and each group several transaction sets of the same type. The segments in the center are from an 850 purchase order.

Expand diagram Download SVG

X12 transaction sets by business processX12 transaction sets with pages, by business process: Transportation 80, Finance 58, Healthcare and insurance 31, Government and regulatory 29, Master data 25, Catalogs and pricing 21, Communications 16, Shipping and logistics 15, Ordering 13, Education 10, Acknowledgments 9, Planning 7, Warehousing 6, Returns 1.X12 transaction sets by business processThe pages in this reference, grouped as in the list of all guides belowTransportation80 sets104106107108109120…Finance58 sets110135139141142144…Healthcare and insurance31 sets100111112124148186…Government and regulatory29 sets103105113149150152…Master data25 sets101128140217244431…Catalogs and pricing21 sets129251432460463466…Communications16 sets102143159501504620…Shipping and logistics15 sets204210214250753754…Ordering13 sets511517836840843850…Education10 sets130131132133138146…Acknowledgments9 sets126151242824831980…Planning7 sets806830846852862866…Warehousing6 sets527940943944945947Returns1 set180
X12 transaction sets by business processX12 transaction sets with pages, by business process: Transportation 80, Finance 58, Healthcare and insurance 31, Government and regulatory 29, Master data 25, Catalogs and pricing 21, Communications 16, Shipping and logistics 15, Ordering 13, Education 10, Acknowledgments 9, Planning 7, Warehousing 6, Returns 1.X12 transaction sets bybusiness processThe pages in this reference, grouped as in thelist of all guides belowTransportation80 sets104106107108109120…Finance58 sets110135139141142144…Healthcare and insurance31 sets100111112124148186…Government and regulatory29 sets103105113149150152…Master data25 sets101128140217244431…Catalogs and pricing21 sets129251432460463466…Communications16 sets102143159501504620…Shipping and logistics15 sets204210214250753754…Ordering13 sets511517836840843850…Education10 sets130131132133138146…Acknowledgments9 sets126151242824831980…Planning7 sets806830846852862866…Warehousing6 sets527940943944945947Returns1 set180

Each card is one business process with the number of transaction set pages in it and a few example codes. Select a card to jump to its group in the list below, or a code to open its page. Codes are numbers: the 850 is a purchase order, the 856 a ship notice and the 810 an invoice.

Expand diagram Download SVG

Ordering

CodeTransaction setUsed toGuide
850 Purchase Order Buyer orders goods or services.
855 Purchase Order Acknowledgment Supplier confirms, changes or rejects an order.
860 Purchase Order Change Request (Buyer Initiated) Buyer changes or cancels an order.
865 Purchase Order Change Acknowledgment Supplier responds to an order change.
870 Order Status Report Supplier reports the status of orders or order lines.
875 Grocery Products Purchase Order Grocery-industry purchase order (UCS).
832 Price/Sales Catalog Shares item descriptions and prices.
816 Organizational Relationships Shares a parent organization's members and locations.
840 Request for Quotation Buyer requests a quote.
843 Response to Request for Quotation Supplier provides a quote.

Shipping and receiving

CodeTransaction setUsed toGuide
856 Ship Notice/Manifest Describes a shipment before it arrives.
861 Receiving Advice/Acceptance Certificate Confirms what was received.
753 Request for Routing Instructions Supplier requests routing for a shipment.
754 Routing Instructions Buyer provides carrier and routing details.
180 Return Merchandise Authorization and Notification Requests, authorizes or announces a return of goods.

Transportation

CodeTransaction setUsed toGuide
204 Motor Carrier Load Tender Offers a shipment to a carrier.
990 Response to a Load Tender Carrier accepts or declines a tender.
214 Transportation Carrier Shipment Status Message Reports shipment status events.
210 Motor Carrier Freight Details and Invoice Carrier bills for freight.
211 Motor Carrier Bill of Lading Transmits bill of lading details.
315 Status Details (Ocean) Reports ocean container status events.

Warehousing

CodeTransaction setUsed toGuide
940 Warehouse Shipping Order Inventory owner instructs a warehouse to ship.
945 Warehouse Shipping Advice Warehouse confirms what shipped.
943 Warehouse Stock Transfer Shipment Advice Notifies a warehouse of inbound stock.
944 Warehouse Stock Transfer Receipt Advice Warehouse confirms inbound receipt.
947 Warehouse Inventory Adjustment Advice Reports inventory adjustments.

Planning and inventory

CodeTransaction setUsed toGuide
830 Planning Schedule with Release Capability Shares forecasts and authorizations.
862 Shipping Schedule Gives firm near-term shipping requirements.
866 Production Sequence Specifies delivery order for sequenced parts.
846 Inventory Inquiry/Advice Shares inventory levels and availability.
852 Product Activity Data Shares sales and inventory activity.
867 Product Transfer and Resale Report Reports distributor sales to manufacturers.
844 Product Transfer Account Adjustment Submits chargeback claims.
849 Response to Product Transfer Account Adjustment Responds to chargeback claims.

Finance

CodeTransaction setUsed toGuide
810 Invoice Supplier bills a customer.
880 Grocery Products Invoice Grocery-industry invoice (UCS).
812 Credit/Debit Adjustment Communicates adjustments to invoices.
820 Payment Order/Remittance Advice Explains or instructs a payment.
823 Lockbox Reports lockbox deposits.
822 Account Analysis Reports bank account service charges.

Acknowledgments and messages

CodeTransaction setUsed toGuide
997 Functional Acknowledgment Confirms receipt and syntax validity.
999 Implementation Acknowledgment Detailed acknowledgment, mainly for healthcare.
824 Application Advice Reports business-level errors.
864 Text Message Sends free-form text between partners.

Healthcare (HIPAA)

CodeTransaction setUsed toGuide
837 Health Care Claim Submits claims for services.
835 Health Care Claim Payment/Advice Explains claim payments.
270 Eligibility, Coverage or Benefit Inquiry Asks about a patient's coverage.
271 Eligibility, Coverage or Benefit Information Responds with coverage details.
276 Health Care Claim Status Request Asks about a claim's status.
277 Health Care Claim Status Response Responds with claim status.
278 Health Care Services Review Requests or responds to authorizations.
834 Benefit Enrollment and Maintenance Shares enrollment data.

All X12 transaction set guides

Every transaction set with its own page in the Learning Center, grouped by business process and listed by number.

Transportation

Finance

Need a map for a partner's X12 guide?

ECOM builds, tests and maintains X12 maps for every major industry.