Last reviewed October 6, 2026 by Effective Data's EDI specialists.
When the 865 is used, and which way it travels
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.
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.
| Segment | Name | Part | What 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.
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:
-
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.
-
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.
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.9300Answered 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.