The EDI 865 is how a supplier answers a change, or starts one. When a buyer sends an 860 Purchase Order Change, the 865 tells it which changes you accept, which you accept with a difference, and which you cannot meet. When nothing came from the buyer but your plan has changed, the same document carries your proposal. Without it, a change is one-sided, and the shipment drifts away from what the buyer expects to receive.
This guide covers the two jobs the 865 does, its segments, two live examples (a reply to an 860 and a seller-initiated change), how it compares with the 855, 860 and 870, and the errors that leave buyer and supplier with different versions of the same order.
What Is an EDI 865?
An EDI 865 is the Purchase Order Change Acknowledgment/Request (Seller Initiated) transaction set defined by the ASC X12 standards body. A seller uses it to acknowledge a buyer's change to a purchase order, or to request a change of its own, at header or line level. It travels in functional group CA (the value in GS01).
Authoritative references for 865 work:
- The X12 transaction set catalog lists the 865 alongside the 860 it answers
- The published 004010 865 structure shows the
BCAheader and thePOCloop, with anACKloop inside each line - The BCA segment definition and the POC02 change code list define the elements and codes in this guide
- GS1 US governs the UPC and GTIN identifiers on each changed line
- Each buyer's 865 guide decides whether it wants an 865 at all, which purpose and acknowledgment codes it accepts, and whether it takes seller-initiated changes
Who sends it? The supplier (seller).
When is it sent? In reply to a buyer's 860, within the deadline in the buyer's guide, or on the supplier's own initiative when an open order has to change after the 855 went out.
Why does it matter? A change is only reliable when both sides agree to it. An 860 you never answered, or a backorder you only mentioned by email, leaves the buyer planning around an order you are not going to ship.
The Two Jobs of the 865
Change acknowledgment. The buyer sent an 860. You reply with an 865 that references the same PO and change sequence, repeats each changed line in a POC, and gives your answer in an ACK under it: accepted as changed, accepted with a different quantity or date, or rejected.
Seller-initiated change request. Nothing came from the buyer, but you need to change the order: a ship date slips, an item is replaced, a quantity is short. You send an 865 with the purpose code for a seller-initiated change and a POC per affected line. The buyer accepts or rejects it, often by sending an 860 that confirms the change, or by the method its guide sets out.
BCA01 tells the buyer which job this 865 is doing.
Interactive Example: Reply to a Buyer's 860
Retailer Harbor Home sent an 860 against purchase order 4500087321, increasing line 2 from 6 rugs to 10 and adding a line 4 of 18 wool throws (the first example in the 860 guide). Supplier Cedarline replies:
BCA01=06(confirmation) andBCA02=AC(acknowledged with detail and change), because one line is not accepted exactly as requested.BCA05repeats the buyer's change sequence1, andBCA06the PO date.- Line 2 echoes the buyer's
POC(QI, 6 to 10) and itsACKaccepts all 10 (IA) to ship November 3. - Line 4 echoes the added line (
AI, 18 throws) and itsACKaccepts only 12 (IQ, quantity changed) to ship November 10.
865 Change Acknowledgment: Reply to an 860
Cedarline answers Harbor Home's 860 on PO 4500087321 (BCA01 = 06, BCA02 = AC): the rug increase is accepted (ACK IA) and the added throw line is accepted at 12 of 18 (IQ)
- Document
- 865 Purchase Order Change Acknowledgment
- From / to
- CEDARLINE → HARBORHOME
- Segments
- 15
- Interchange date
- Oct 24, 2026
Raw EDI (X12)
Human-Readable
Interchange
Functional Group
Transaction 865
Purchase Order Change AcknowledgmentSegment Detail
Interactive Example: Seller-Initiated Change
On purchase order 4500087412, Cedarline needs to change two lines before anything ships. BCA01 is 19 (seller initiated change) and BCA02 is left out, because there is nothing from the buyer to acknowledge.
- Line 1's ship date moves to December 1 (
POC02=RS, reschedule, withDTM*068current scheduled ship date in the line's loop). - Line 2 offers a replacement item (
RE): the white ceramic vase in place of the one ordered, at the same price, with the reason inPID.
Seller-Initiated 865: Reschedule and Replacement Item
Cedarline proposes its own change to PO 4500087412 (BCA01 = 19): line 1 reschedules to ship Dec 1 (POC02 RS) and line 2 offers a replacement vase (RE). The buyer decides
- Document
- 865 Purchase Order Change Acknowledgment
- From / to
- CEDARLINE → HARBORHOME
- Segments
- 15
- Interchange date
- Oct 27, 2026
Raw EDI (X12)
Human-Readable
Interchange
Functional Group
Transaction 865
Purchase Order Change AcknowledgmentSegment Detail
Some buyers require BCA02 on every 865, or a particular purpose code for seller-initiated changes. Check its guide before you send the first one.
865 Structure at a Glance
| Position | Segment | Name | Usage | Notes |
|---|---|---|---|---|
| Header | ST | Transaction Set Header | Mandatory | ST01 = 865 |
| Header | BCA | Beginning Segment for Purchase Order Change Acknowledgment | Mandatory | Purpose, acknowledgment type, PO number, change sequence, date |
| Header | REF | Reference Identification | Optional | Department, vendor and order references |
| Header | DTM | Date/Time Reference | Optional | Header-level dates |
| Header | N1 loop | Name (with N3, N4) | Optional | Buyer, supplier, ship-to |
| Detail | POC | Line Item Change | Mandatory in the POC loop | One per line: change code, quantities, price, item IDs |
| Detail | PID | Product/Item Description | Optional | Description, or the reason for a replacement |
| Detail | DTM | Date/Time Reference | Optional | New dates for the line |
| Detail | ACK | Line Item Acknowledgment | Optional | Your answer to the line: status, quantity, qualified date. Repeats |
| Detail | SCH | Line Item Schedule | Optional | A revised delivery schedule |
| Summary | CTT | Transaction Totals | Optional | Number of POC lines |
| Summary | SE | Transaction Set Trailer | Mandatory | Segment count and control number |
Key Segments Explained
BCA: Beginning Segment for Purchase Order Change Acknowledgment
BCA*06*AC*4500087321**1*20261020~
| Element | Name | Example | What it means |
|---|---|---|---|
| BCA01 | Transaction Set Purpose Code | 06 | Why this 865 exists. Common values: 06 confirmation, 04 change, 00 original, 19 seller initiated change. Buyers' guides differ |
| BCA02 | Acknowledgment Type | AC | AC with detail and change, AD with detail and no change, AK no detail, RD or RJ rejected. Optional in the standard |
| BCA03 | Purchase Order Number | 4500087321 | The PO being changed. Must match the 850 and 860 |
| BCA04 | Release Number | For releases against a blanket order | |
| BCA05 | Change Order Sequence Number | 1 | The 860's BCH05, so the buyer knows which change you are answering |
| BCA06 | Date | 20261020 | Mandatory. Usually the PO date |
| BCA07 to BCA09 | Request reference, contract number, reference ID | Rarely used | |
| BCA10 to BCA12 | Date | Further dates as the buyer's guide defines them | |
| BCA13 | Purchase Order Type Code | From the original 850 |
POC: Line Item Change
POC*4*AI*0*18*EA*14.50**UP*085519001236*VN*CL-THROW-WOL~
The POC layout is the same as in the 860: POC01 the PO line number, POC02 the change code, POC03 and POC04 the quantities, POC05 the unit, POC06 the price, and product ID pairs from POC08. When answering an 860, echo the buyer's POC for each line; when proposing your own change, use the code that describes it. The codes you will use most:
| Code | Meaning | Typical 865 use |
|---|---|---|
| QI / QD | Quantity increase / decrease | Echoing the buyer's change, or proposing a new quantity |
| AI | Add item | Echoing a line the buyer added |
| DI | Delete item | Echoing a deletion, or proposing to drop a line you cannot supply |
| PC | Price change | Echoing a price change, or proposing one |
| CT / RS | Change of dates / reschedule | A new ship or delivery date |
| RE | Replacement item | Offering a substitute |
| RC | Reject item change | Refusing the change the buyer requested on this line |
| NC | Concurrent item (no change) | Unchanged line, where the buyer wants the whole order restated |
ACK: Line Item Acknowledgment
ACK*IQ*12*EA*068*20261110~
Inside the POC loop, ACK works exactly as on the 855: ACK01 the line status (IA accepted, IQ quantity changed, IP price changed, DR date rescheduled, IB backordered, IR rejected and others), ACK02 and ACK03 the quantity and unit, ACK04 a date qualifier such as 068 current schedule ship, and ACK05 the date. The loop repeats, so a line can be part accepted and part backordered.
Whether a buyer expects a rejection as POC02 = RC, as ACK01 = IR, or both, is a guide-level choice. Map exactly what it asks for.
EDI 865 vs 855, 860 and 870
| Document | Sent by | Answers |
|---|---|---|
| 855 PO Acknowledgment | Supplier | The original 850: what will ship |
| 860 PO Change Request | Buyer | Nothing. It asks for a change |
| 865 PO Change Acknowledgment/Request | Supplier | A buyer's 860, or proposes the supplier's own change |
| 870 Order Status Report | Supplier | Where the order stands, often in reply to an 869 |
| EDIFACT ORDRSP | Supplier | The EDIFACT response to both ORDERS and ORDCHG |
The 870 reports; the 865 asks for agreement. If a line is simply running late, the buyer may only want an 870. If you need the buyer to accept a different item, quantity or price, that is an 865.
Where the 865 Sits in the Change Loop
- 850 Purchase Order: buyer places the order.
- 855 PO Acknowledgment: supplier confirms what will ship.
- 860 PO Change: buyer changes the order.
- 865: supplier accepts or rejects the change, or proposes its own.
- 856 Ship Notice/ASN: supplier ships against the order as agreed.
- 810 Invoice: billed at the agreed quantities and prices.
The 855 answers the order once. The 865 answers every change after that.
Common 865 Errors and How to Prevent Them
| Error | What happens | Prevention |
|---|---|---|
| Change sequence missing or wrong | Buyer cannot tell which 860 you are answering | Copy the 860's BCH05 into BCA05 |
| Lines not echoed as sent | Buyer cannot match your answer to its change | Echo POC01, the change code and the item IDs from the 860 |
| Header says no change, lines show changes | Contradiction; stricter buyers reject it | Derive BCA02 from the line-level ACK codes |
Date placed in ACK04 | Date lost or rejected | ACK04 is the qualifier; the date goes in ACK05 |
| Seller-initiated change sent to a buyer that does not accept them | Ignored, and the buyer still expects the original order | Confirm in the buyer's guide; otherwise agree the change by phone or email and let the buyer send the 860 |
| Wrong functional group | Rejected at the envelope | GS01 is CA for an 865 |
| ASN built from the original order | Receipt disagrees with the agreed change | Ship and invoice from the order as changed |
Paste any 865 into the EDI inspector to see each line's change and answer decoded, or diff it against the 860 with Compare EDI documents.
865 Implementation Checklist
- Ask each buyer whether it requires an 865 after an 860, and by when
- List the
BCA01,BCA02,POC02andACK01codes it accepts - Confirm whether it accepts seller-initiated 865s, and how it answers them
- Confirm whether it wants every line restated or only the changed lines
- Map
POCfrom the 860 as an echo, and generateACKfrom your actual decision - Decide who in your business approves a change you cannot fully meet
- Test acceptance, partial acceptance, rejection and a seller-initiated change
Handling Changes Cleanly With OrderSync
Change handling is where small suppliers lose track: an 860 lands in an EDI mailbox, a revised PDF arrives by email, and someone has to work out which open order each one touches before the warehouse picks it.
OrderSync reads inbound orders in any format, EDI 850s and 875s alongside PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or ERP data. See how it handles B2B order management, paste any 865 or 860 into the free EDI inspector, or book a 15-minute walkthrough to see your own orders processed.
Frequently Asked Questions
What is an EDI 865 used for?
A supplier uses the EDI 865 to acknowledge a buyer's 860 purchase order change, line by line, or to propose a change of its own to an open order, such as a new ship date, a different quantity or a replacement item. It keeps both sides working from the same version of the order.
What is the difference between an EDI 860 and an EDI 865?
The 860 is buyer initiated: the buyer asks to change or cancel a purchase order. The 865 is the supplier's answer to that request, and can also carry a supplier-initiated change. The 860 asks; the 865 answers or proposes.
What is the difference between an EDI 855 and an EDI 865?
The 855 acknowledges the original 850 purchase order. The 865 acknowledges a change to that order, or proposes one. A supplier sends one 855 per order, then an 865 for each change that needs an answer.
What does BCA01 19 mean?
Purpose code 19 means seller initiated change. It tells the buyer the 865 is a proposal from the supplier, not a reply to an 860. Other common BCA01 values are 06 confirmation, 04 change and 00 original, depending on the buyer's guide.
Is an EDI 865 required?
It depends on the buyer. Some require an 865 for every 860 so both sides confirm the changed order before it ships. Others treat the change as agreed once the 997 comes back. The buyer's EDI guide says which.
How do I reject a change on an 865?
Echo the buyer's POC for the line and give your answer in the ACK segment, for example IR for rejected, or use POC02 RC (reject item change), depending on what the buyer's guide asks for. Set BCA02 to show the acknowledgment includes changes.