X12 EDI Basics: a Guide to The X12 Standard (2024)

X12 is the default U.S. EDI standard. Outside of the U.S., EDIFACT is the X12 equivalent. EDI transactions within the United States must conform to the X12 EDI standard and require compliant, quality software for translation.

In this guide, we'll quickly walk you through the X12 EDI standard, so you can up and running with X12 EDI.

What is X12 EDI?

X12 is formally known as ASC X12 EDI (Accredited Standards Committee X12, Electronic Data Interchange), and is a standard established to govern the use of EDI to electronically exchange information between organizations. X12 EDI includes a set of standards and corresponding messages that define specific business documents widely used across industries today.

Benefits of X12 EDI

The X12 standard allows U.S. companies to communicate information and transfer documents from business-to-business without the hurdles of incompatible software or unsecure connections that leave proprietary data vulnerable to outsiders. X12 has been developed to provide a standardized, data transfer system that creates efficiency in business communications.

As the most common EDI standard in the United States, X12 users represent a vast number of businesses and numerous industries. It's especially prominent in the healthcare industry due to HIPPA (Health Insurance Portability and Accountability Act) regulations enacted in 1996. The law requires a national standard for electronic health care transactions. Transaction sets for HIPAA EDI are based on X12.

One of the most valuable X12 assets is its comprehensive transaction set which includes commonly used business transactions or documents such as invoices, shipment notices, or purchase orders. X12 boasts over 300 transaction standards within five industry-based subsets, or sub-standards.

X12 EDI Subsets

Due to the prevalent use of X12 across industries, it is considered an umbrella standard with five industry-specific sub-standards or subsets for increased efficiency.

The five functional transaction sets or subsets include:

  • Communications & Controls
  • Finance
  • Transportation
  • Supply Chain
  • Insurance

Each industry uses a specific subset based in the X12 standard. For example, the grocery industry uses subset UCS for its EDI communications and apparel retail uses VICS.

Industry-Specific X12 Subsets:

  • HIPAA - Health Insurance Portability and Accountability Act
  • UCS - Uniform Communication Standard
  • VICS - Voluntary Interindustry Commerce Standards
  • AIAG - Automotive Industry Action Group
  • CIDX - Chemical Industry Data Exchange
  • EIDX - Electronics Industry Data Exchange Group (CompTIA)
  • PIDX - American Petroleum Institute

What X12 Covers

The X12 EDI standard uses a highly specific structure to ensure clear communications across businesses, industries, and national borders. Here, we explore some of its core structural elements.

Syntax Rules to Structure Data

Syntax rules govern the message structure and ensure uniformity regardless of the company, industry, or document. The result is a data transaction that delivers a clear message to all receivers, regardless of the software platforms used. The standardized structure optimizes files transfers by reducing unnecessary content.

Interactive Exchange Protocol (I-EDI)

The X12 EDI standard uses Interactive Exchange Protocol, which allows companies to exchange business-related messages and documents directly. This dynamic exchange improves communications for both parties, providing shorter response times and removing the problem of delayed responses and inefficient data connections.

Standard Messages for Multi-Country and Multi-Industry Exchange

X12's standardized messaging optimizes data flow not only between businesses but also between industries and countries. Many transaction sets map between X12 and UN/EDIFACT (used internationally), which allows clear communication between the two EDI standards.

Over 300 standardized message types are available through X12.

Common X12 Message Types (Transaction Sets)

  • 204 Motor Carrier Load Tender
  • 276 Claim Status Inquiry
  • 277 Claim Status Response
  • 383 Trading Partner Profile
  • 753 Request for Routing Instructions
  • 754 Routing Instructions
  • 810 Invoice
  • 820 Payment Order/Remittance Advice (EFT)
  • 830 Planning Schedule/Material Release
  • 834 Benefit Enrollment and Maintenance
  • 846 Inventory Inquiry/Advice
  • 848 Material Safety Data Sheet
  • 850 Purchase Order
  • 852 Product Activity Data
  • 855 Purchase Order Acknowledgment
  • 856 Ship Notice/Manifest (ASN)
  • 858 Shipment Information (Bill of Lading)
  • 859 Freight Invoice
  • 861 Receiving Advice
  • 990 Load Tender Response
  • 997 Functional Acknowledgement

Data Element Directories

Data elements are simply the raw data of each transaction, and they function as data fields that comprise the segments within the transaction set. The X12 standard identifies each data element with a reference number as listed in the Data Element Dictionary. In addition, the data element directories for EDIFACT are updated and published every six months by the UNECE (United Nations Economic Commission for Europe). When a U.S. company communicates internationally, these directory updates are crucial for uniformity and for expanding the scope of transaction sets between X12 and UN/EDIFACT.

Guidelines for Electronic Interchange of Structured Data Between Computer Systems

Every standardized system must follow strict guidelines for efficient regulation and uniformity. The current X12 EDI standard is guided by interrelated publications including:

  • Transaction Set Dictionary
  • Segment Dictionary
  • Data Element Dictionary
  • Interchange Control Structures
  • Interconnect Mailbag Control Structures
  • Security Structures
  • Implementation of EDI Structures
  • Application Control Structure
  • ASC X12 Design Rules and Guidelines

Elements that Comprise X12

The X12 EDI standard is characterized by a very specific structure for each of its transaction sets, or documents. While data elements will vary between EDI documents such as purchase orders, invoices, or shipping notices, the general document structure remains the same, promoting uniformity and consistency.

Data Segments

Data segments in X12 are simply categories that organize data, guiding information to the appropriate locations, much like an outline. For example, in the Purchase Order Transaction Set below the required information for the document is outlined and given a unique identifier.

ID DATA SEGMENT TITLE

  • ST: Transaction Set Header
  • BEG: Beginning Segment for Purchase Order
  • CUR: Currency
  • REF: Reference Identification
  • PER: Administrative Communications Contract
  • TAX: Tax Reference
  • FOB: F.O.B.-Related Information
  • CTP: Pricing Information
  • PAM: Period Amount
  • CSH: Sales Requirements
  • TC2: Commodity
  • SE: Transaction Set Trailer

Transaction Set Envelope

Once the transaction set (or document) has been built using the necessary data segments and elements, it's ready to be organized for transmission purposes. X12 uses a three-level enveloping system that allows for the careful transfer of multiple transaction sets in one data transfer. The Transaction Set Envelope is the innermost envelope that contains the transfer information for a single transaction set (or single document).

Functional Group Envelope

The middle envelope, or Functional Group Envelope, groups similar types of transaction sets together for a single transmission. Each data transfer may contain several Functional Group Envelopes, each group containing one or more documents of similar type.

Interchange Envelope

The Interchange Envelope is the outer envelope that houses all the Functional Group Envelopes for one data transfer. It's contains data for final transmission and includes information such as:

  • Interchange control numbers
  • Structured mailbox addresses of the sender and receiver
  • Counts of the Functional Groups within the interchange
  • Version of the interchange envelope
  • Time/date stamp

The Interchange Envelope allows for the efficient transfer of multiple, differing documents or messages in one transmission.

X12 Envelope SystemEnveloping Data Pairs

The beginning and ending of each envelope are defined by data pairs or specific data segments that are assigned for this purpose. Enveloping data pairs provide organization between envelopes, promoting a clear and orderly interchange of data.

Envelope Beginning Ending
Transactional Set ST SE
Functional Group GS GE
Interchange ISA IEA

X12 Background

ANSI established a standards organization known as Accredited Standards Committee X12 (ASC X12) in 1979. They purposed to create and maintain EDI standards and XML schemas. X12 grew in popularity during the late 1980s when most standards body groups in the United States adopted it as their EDI standard. Today, ASC X12 is comprised of 3,000 standard experts who represent over 600 companies across diverse industries. X12 remains the most widely used EDI standard in the U.S.

Download CData Arc: End-to-End X12 EDI

You can quickly get up and running with X12 EDI. CData Arc simplifies EDI with a visual, drag & drop interface that lets you set up X12 EDI exchanges with your partners in just a few clicks. Built-in EDI mapping, partner file transmission and integrations with all the most popular apps and data platforms lets you seamlessly & reliably connect EDI directly with your core processes.

Get a 30-Day Free Trial

X12 EDI Basics: a Guide to The X12 Standard (2024)

FAQs

What is X12 standards EDI? ›

X12 is a message formatting standard used for Electronic Data Interchange (EDI) documents. It's used by trading partners to share business documents in an agreed-upon and standard format. X12 is the most common EDI standard used in the United States. The 8010 release was published in 2020.

What are different X12 EDI message types? ›

ANSI X12 Message Type
EDI 810Invoice
EDI 846Inventory Inquiry/Advice
EDI 850Purchase order
EDI 855Purchase order acknowledgement
EDI 856Ship Notice/manifest (ASN)
6 more rows

How to read EDI X12? ›

Standard EDI X12 format data is text file separated by segment, element and sub-element delimiters (separators). You can open EDI X12 files using any text editor even standard Windows notepad.exe utility.

What does X12 stand for? ›

ANSI X12 is an American EDI standard developed in 1979 and stands for American National Standards Institute X12. Although originally designed for use solely in North America, ANSI X12 is still the most commonly used EDI standard there is — more than 300,000 organizations worldwide now use it.

What is the difference between EDI and X12? ›

The biggest difference between the two standards is how they're used and the geographic location of users. In particular, X12 has made significant inroads into the healthcare market, and is used to create HIPAA-compliant healthcare documents whereas EDIFACT does not offer HIPAA documents.

What is X12 in billing? ›

An ANSI-accredited group that defines EDI standards for many American industries, including health care insurance. Most of the electronic transaction standards mandated or proposed under HIPAA are X12 standards. Learn more about medical coding and billing, training, jobs and certification.

What are the 4 major components of EDI? ›

A: The 4 major components of EDI are: standard document format, translation and mapping, preferred communication method and communication network to send and receive documents.

What are the three components of EDI? ›

EDI is a complicated mixture of three disciplines: business, data processing, and data communications.

What are examples of EDI transactions? ›

1000s of standard business transaction documents can be sent automatically using EDI. Some common examples include: purchase orders, invoices, shipping statuses, customs information, inventory documents and payment confirmations.

How to learn EDI mapping? ›

How to Learn EDI: Step-by-Step
  1. Install EDI software. Download and install EDI software so you can start learning. ...
  2. Watch online tutorials. Many EDI experts will post videos online demonstrating how to use EDI software and applications. ...
  3. Sign up for EDI training. ...
  4. Read books. ...
  5. Practice.
Dec 30, 2020

How does X12 work? ›

X12 uses a three-level enveloping system that allows for the careful transfer of multiple transaction sets in one data transfer. The Transaction Set Envelope is the innermost envelope that contains the transfer information for a single transaction set (or single document).

What are the types of EDI? ›

Types of EDI
  • Direct EDI/Point-to-Point. Brought to prominence by Walmart, direct EDI, sometimes called point-to-point EDI, establishes a single connection between two business partners. ...
  • EDI via VAN or EDI Network Services Provider. ...
  • EDI via AS2. ...
  • EDI via FTP/VPN, SFTP, FTPS. ...
  • Web EDI. ...
  • Mobile EDI. ...
  • EDI Outsourcing. ...
  • EDI Software.

What is EDI standard format? ›

The simple definition of EDI is a standard electronic format that replaces paper-based documents such as purchase orders or invoices. By automating paper-based transactions, organizations can save time and eliminate costly errors caused by manual processing.

Who maintains EDI standards? ›

ANSI EDI standards are overseen by ASC X12 members, who develop, maintain, interpret, publish and distribute the nationally accepted use of the ANSI standards. ANSI EDI standards are not established one time and one time only.

How many EDI formats are there? ›

There are more than 300 different types of X12 EDI standards, all delegated by a different three-digit number, for numerous industries such as finance, government, health care, insurance, transportation, and others.

What is the difference between EDI and IDOC? ›

It is basically used to transfer IDOC from R3sytem. If you want to send data to an external partner you would need EDI. Although if you want to send data between SAP to non-SAP system or vice versa you would have to use EDI. In EDI the transfer of data is between IDOC to a flat file.

What are X12 documents? ›

X12 is a message formatting standard used with Electronic Data Interchange (EDI) documents for trading partners to share electronic business documents in an agreed-upon and standard format. It is the most common EDI standard used in the United States.

What are billable codes? ›

A billable HCPCS code is one that is submitted on a claim to the DME MAC. A billable HCPCS code will display as active on DMECS (no end date). If the HCPCS code is billable to the DME MAC it does not necessarily mean it is payable.

What does X12 specifies? ›

The X12 standard defines the sequence of segments in the Transaction Set and the internal sequence of elements within each segment. The relation between segments and elements can be linked to the relationship between records and fields in a database environment.

What is EDI standards explain? ›

EDI, which stands for electronic data interchange, is the intercompany communication of business documents in a standard format. The simple definition of EDI is a standard electronic format that replaces paper-based documents such as purchase orders or invoices.

What is ASC x12n the basic standard for? ›

ANSI X12 standard is used in finance, transportation, healthcare, insurance, government, supply chain and other industries for performing diverse operations.

What are the key elements of EDI? ›

There are two key elements in basic EDI; First, electronic documents replace paper documents. Second, the exchange of documents takes place in a standardized format. Using these two basic concepts, any business can enter the world of EDI and begin taking advantage of the speed and economy of electronic commerce.

What are the types of EDI standards? ›

Types of EDI
  • Direct EDI/Point-to-Point. Brought to prominence by Walmart, direct EDI, sometimes called point-to-point EDI, establishes a single connection between two business partners. ...
  • EDI via VAN or EDI Network Services Provider. ...
  • EDI via AS2. ...
  • EDI via FTP/VPN, SFTP, FTPS. ...
  • Web EDI. ...
  • Mobile EDI. ...
  • EDI Outsourcing. ...
  • EDI Software.

How many EDI standards are there? ›

There are more than 300 different types of X12 EDI standards, all delegated by a different three-digit number, for numerous industries such as finance, government, health care, insurance, transportation, and others.

What is ASC X12 standard used for? ›

In 1979, the American National Standards Institute (ANSI) chartered the Accredited Standards Committee (ASC) X12 to develop uniform standards for inter-industry electronic exchange of business transactions, namely electronic data interchange.

Top Articles
Latest Posts
Article information

Author: Tish Haag

Last Updated:

Views: 5857

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.