What is an EDI 865?

The EDI 865 lets a seller acknowledge to the buyer that a purchase order change request has been accepted or rejected, line by line.

Seller → buyer, in response to an 860
Written by EDI specialists
Everything is on the page, nothing to fill in

Last reviewed October 6, 2026 by Effective Data's EDI specialists.

Where it fits

When the 865 is used, and which way it travels

How the EDI 865 travelsThe 865 Purchase Order Change Acknowledgment/Request goes from Seller to Buyer. In sequence with: 850, 855, 860, 865.SellerBuyer865Purchase Order Change Acknowledgment/RequestIn sequence850Purchase order855PO response860PO change865Change response
How the EDI 865 travelsThe 865 Purchase Order Change Acknowledgment/Request goes from Seller to Buyer. In sequence with: 850, 855, 860, 865.SellerBuyer865Purchase Order Change Acknowledgment/RequestIn sequence850Purchase order855PO response860PO change865Change response
Which way the 865 travels, and the documents it is usually traded alongside. Partner implementation guides can add or drop documents from this set.

Purchase orders change mid-process, and depending on the retailer and the stage of purchasing, making an adjustment can be exceptionally challenging. The 865 exists so those adjustments resolve quickly and with minimal hassle.

The changes it answers span quantity increases or decreases, adding or deleting items, changes to line items, and price changes.

Sellers can send the acknowledgment on a line-item basis, indicating whether each requested change is made.

Also called the PO Change Acknowledgment, the PO Change Ack. Same document, same number.

Inside the document

The segments, and what each one carries

The published X12 structure, minus the segments most partners never use. Each partner's implementation guide narrows this further: which qualifiers, which identifiers, how many decimals. That guide, not the standard, is what your file is validated against.

Structure of the EDI 865An ISA/IEA interchange envelope wraps a GS/GE functional group, which wraps the 865 transaction set from ST to SE. Header: BCA, REF, DTM. Detail: POC, ACK. Summary: CTT.ISAInterchange envelopeIEAGSFunctional groupGESTTransaction set 865SEHeaderBCAREFDTMDetailrepeats per line or loopPOCACKSummaryCTT
Structure of the EDI 865An ISA/IEA interchange envelope wraps a GS/GE functional group, which wraps the 865 transaction set from ST to SE. Header: BCA, REF, DTM. Detail: POC, ACK. Summary: CTT.ISAInterchange envelopeIEAGSFunctional groupGESTTransaction set 865SEHeaderBCAREFDTMDetailrepeats per line or loopPOCACKSummaryCTT
The 865 inside its X12 envelope. ISA and GS wrap every interchange; ST and SE open and close this document; the segments between them are the ones listed below, in the part of the document they belong to.
SegmentNamePartWhat it carries
ST Transaction Set Header Header Identifies the document as an 865 and opens the control number the trailer must match.
BCA Beginning Segment for Purchase Order Change Acknowledgment Header The PO and change sequence being answered, with dates.
REF Reference Identification Header Additional identifiers the partner requires.
DTM Date/Time Reference Header The dates being confirmed or revised.
POC Line Item Change Detail The changed line as the seller now understands it.
ACK Line Item Acknowledgment Detail The verdict per line: which requested changes are made and which are not.
CTT Transaction Totals Summary The line count, as an integrity check.
SE Transaction Set Trailer Summary Closes the set. Segment count and control number must match the ST.
ST Transaction Set Header Header
Identifies the document as an 865 and opens the control number the trailer must match.
BCA Beginning Segment for Purchase Order Change Acknowledgment Header
The PO and change sequence being answered, with dates.
REF Reference Identification Header
Additional identifiers the partner requires.
DTM Date/Time Reference Header
The dates being confirmed or revised.
POC Line Item Change Detail
The changed line as the seller now understands it.
ACK Line Item Acknowledgment Detail
The verdict per line: which requested changes are made and which are not.
CTT Transaction Totals Summary
The line count, as an integrity check.
SE Transaction Set Trailer Summary
Closes the set. Segment count and control number must match the ST.
The part that costs money

Why yours is being rejected

Every EDI provider publishes what an 865 is. What matters in production is why one fails, and these are the failure modes we can put a source against today:

  1. A change accepted that was never applied. The 865 says which changes are made; a seller whose acknowledgment and whose ERP disagree has promised one order and will ship another.

  2. Header acceptance over line-level answers. The acknowledgment works on a line-item basis; collapsing it to a single yes hides the lines that were rejected.

If one of these is happening to you right now, skip to the bottom of the page and describe it. Diagnosing rejected documents is most of what we do.

Related documents

The documents the 865 travels with

Frequently asked

+ What is an EDI 865?

The document created to allow sellers to acknowledge to buyers that their PO change request has been accepted or rejected. It answers the 860 purchase order change.

+ What changes does an 865 answer?

Quantity increases or decreases, adding or deleting items, changes to line items, and price changes.

+ Can an 865 accept some changes and reject others?

Yes. Sellers can send the acknowledgment on a line-item basis, indicating whether requested changes are made.

+ What is the difference between an 855 and an 865?

The 855 acknowledges a new purchase order. The 865 acknowledges a change to one that already exists.

Is your 865 failing, or being mandated by a partner?

Describe the situation and a named EDI specialist will tell you what it takes, including when the answer is that you do not need us.

Or call 847.969.9300

Answered by a named EDI specialist on the same business day. If we are not the right answer we will say so on the first call.