Skip to content
EDI X12 864

X12 transaction code

X12 864 Text Message

Stop Mapping. Start Trading.

Standard
X12
Code
864
Trading partners
15

Specification summary

X12 864 Text Message at the element level

The X12 864 specification defines 16 segments carrying 52 data elements, 35 of which are mandatory.

Segments
16
Data elements
52
Mandatory elements
35
Segments with mandatory elements
Segment Elements Mandatory
BMG 3 1
N1 4 1
MIT 1 1
N3 2 1
REF 2 1
PER 4 1
MSG 1 1
Key identifiers in 864
  • Transaction Set Purpose Code
  • Entity Identifier Code
  • Reference Identification
  • Address Information
  • Reference Identification Qualifier
  • Contact Function Code
  • Free-Form Message Text

Usage breakdown

Who trades X12 864 Text Message

864 is used most heavily in building & hardware, grocery & food and retail.

The 864 transmits free-form, human-readable text such as one-time notices, error explanations, and policy or system announcements through the same audited EDI channel as structured documents. A common production use in retail supply chains is a buyer telling a supplier that a previously submitted document, often an invoice or ASN, failed validation and must be corrected. Because the content has no machine-processable schema, it is written for people rather than for automated posting. Either party can originate one, but in practice it is usually sent by the retailer, buyer, or 3PL to the supplier's EDI or accounting team. A buyer's system rejects a supplier document, for example an invoice that fails validation rules, and issues an 864 explaining the errors and requesting a corrected retransmission.

By industry

  • building & hardware 7 channels
  • grocery & food 6 channels
  • retail 6 channels
  • apparel & footwear 6 channels

By network

  • ecUtopia 2 channels
  • InterTrade 1 channel

FAQ

X12 864 questions

What is X12 864 Text Message?

X12 864 (Text Message) is an EDI transaction set defined by ANSI ASC X12 for exchanging text message between trading partners. It is one of over 300 X12 transaction sets used across retail, healthcare, manufacturing, and logistics. 15 Stacksync trading partners support this code across 25 channels.

Which trading partners use X12 864?

15 Stacksync partners accept X12 864: 7-Eleven, 7-Eleven (SEDC: Seven Eleven Distribution Company), Ace Hardware, Boot Barn Holdings, Dillard's Department Stores, Inc., Do It Best Hardware, Family Dollar, Loblaw Companies Limited, and more. Each partner has its own implementation guideline that Stacksync pre-validates before sending. Browse the full directory above.

How do I integrate X12 864 with my ERP?

Stacksync handles the full X12 864 integration: partner channel certification (AS2, VAN, FTP), transaction-set mapping per the trading partner's implementation guide, translation to your ERP's native data model, and real-time delivery. Typical time from kickoff to production is 3 to 10 business days for a single partner connection.

Ready to automate your EDI?

Most teams go live in days, not months. Talk to our team and we'll walk you through your specific setup.