Skip to content
EDI 865 — EDI TransactionPublished Jun 23, 2026 · Updated Nov 4, 2026

EDI 865 PO Change Acknowledgment/Request: Seller Guide

How the EDI 865 works: acknowledging a buyer's 860 or proposing a seller-initiated change. BCA, POC and ACK segments, live examples and common errors.

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 BCA header and the POC loop, with an ACK loop 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) and BCA02 = AC (acknowledged with detail and change), because one line is not accepted exactly as requested. BCA05 repeats the buyer's change sequence 1, and BCA06 the PO date.
  • Line 2 echoes the buyer's POC (QI, 6 to 10) and its ACK accepts all 10 (IA) to ship November 3.
  • Line 4 echoes the added line (AI, 18 throws) and its ACK accepts only 12 (IQ, quantity changed) to ship November 10.
Live exampleEDI 865

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)

1
ISA*00* *00* *ZZ*CEDARLINE *ZZ*HARBORHOME *261024*1110*U*00401*000008651*0*P*:~
2
GS*CA*CEDARLINE*HARBORHOME*20261024*1110*8651*X*004010~
3
ST*865*0001~
4
BCA*06*AC*4500087321**1*20261020~
5
REF*DP*042~
6
N1*BY*HARBOR HOME STORE 318*92*0318~
7
N1*SU*CEDARLINE HOME*92*V20417~
8
POC*2*QI*6*10*EA*64.00**UP*085519001229*VN*CL-RUG-0508~
9
ACK*IA*10*EA*068*20261103~
10
POC*4*AI*0*18*EA*14.50**UP*085519001236*VN*CL-THROW-WOL~
11
ACK*IQ*12*EA*068*20261110~
12
CTT*2~
13
SE*11*0001~
14
GE*1*8651~
15
IEA*1*000008651~

Human-Readable

Interchange

Sender ID(ZZ)CEDARLINE
Receiver ID(ZZ)HARBORHOME
Date261024
Time1110
Standards IDU
Version00401
Control Number000008651
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDCACA
SenderCEDARLINE
ReceiverHARBORHOME
Date20261024
Time1110
Control Number8651
Agency CodeX
Version004010
Transactions1
Reported Transaction Count (GE01)1

Transaction 865

Purchase Order Change Acknowledgment
Transaction Type865
Control Number0001
Segments, ST to SE11
Count in SE0111 (matches)

Segment Detail

BCABeginning Segment for Purchase Order Change Acknowledgment
BCA01Transaction Set Purpose Code06
BCA02Acknowledgment TypeAC
BCA03Purchase Order Number4500087321
BCA05Change Order Sequence Number1
BCA06Date20261020
REFReference Identification
REF01QualifierDP
REF02Reference ID042
N1Party Identification
N101Entity CodeBY
N102NameHARBOR HOME STORE 318
N103ID Qualifier92
N104ID Code0318
N1Party Identification
N101Entity CodeSU
N102NameCEDARLINE HOME
N103ID Qualifier92
N104ID CodeV20417
POCLine Item Change
POC01Assigned Identification (Line Number)2
POC02Change or Response Type CodeQI
POC03Quantity Ordered6
POC04Quantity Left to Receive10
POC05Unit of MeasureEA
POC06Unit Price64.00
POC08Product/Service ID QualifierUP
POC09Product/Service ID085519001229
POC10Product/Service ID QualifierVN
POC11Product/Service IDCL-RUG-0508
ACKLine Item Acknowledgment
ACK01Line Item Status CodeIA
ACK02Quantity10
ACK03Unit of MeasureEA
ACK04Date/Time Qualifier068
ACK05Date20261103
POCLine Item Change
POC01Assigned Identification (Line Number)4
POC02Change or Response Type CodeAI
POC03Quantity Ordered0
POC04Quantity Left to Receive18
POC05Unit of MeasureEA
POC06Unit Price14.50
POC08Product/Service ID QualifierUP
POC09Product/Service ID085519001236
POC10Product/Service ID QualifierVN
POC11Product/Service IDCL-THROW-WOL
ACKLine Item Acknowledgment
ACK01Line Item Status CodeIQ
ACK02Quantity12
ACK03Unit of MeasureEA
ACK04Date/Time Qualifier068
ACK05Date20261110
CTTTransaction Totals
CTT01Line Item Count2
1 functional group1 transactionControl #000008651Valid

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, with DTM*068 current 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 in PID.
Live exampleEDI 865

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)

1
ISA*00* *00* *ZZ*CEDARLINE *ZZ*HARBORHOME *261027*1630*U*00401*000008652*0*P*:~
2
GS*CA*CEDARLINE*HARBORHOME*20261027*1630*8652*X*004010~
3
ST*865*0001~
4
BCA*19**4500087412**1*20261021~
5
REF*DP*042~
6
N1*BY*HARBOR HOME STORE 318*92*0318~
7
N1*SU*CEDARLINE HOME*92*V20417~
8
POC*1*RS*24*24*EA*42.00**UP*085519001205*VN*CL-LAMP-BRS~
9
DTM*068*20261201~
10
POC*2*RE*12*12*EA*18.00**UP*085519001250*VN*CL-VASE-WHT~
11
PID*F****CERAMIC VASE WHITE REPLACES CL-VASE-CER~
12
CTT*2~
13
SE*11*0001~
14
GE*1*8652~
15
IEA*1*000008652~

Human-Readable

Interchange

Sender ID(ZZ)CEDARLINE
Receiver ID(ZZ)HARBORHOME
Date261027
Time1630
Standards IDU
Version00401
Control Number000008652
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDCACA
SenderCEDARLINE
ReceiverHARBORHOME
Date20261027
Time1630
Control Number8652
Agency CodeX
Version004010
Transactions1
Reported Transaction Count (GE01)1

Transaction 865

Purchase Order Change Acknowledgment
Transaction Type865
Control Number0001
Segments, ST to SE11
Count in SE0111 (matches)

Segment Detail

BCABeginning Segment for Purchase Order Change Acknowledgment
BCA01Transaction Set Purpose Code19
BCA03Purchase Order Number4500087412
BCA05Change Order Sequence Number1
BCA06Date20261021
REFReference Identification
REF01QualifierDP
REF02Reference ID042
N1Party Identification
N101Entity CodeBY
N102NameHARBOR HOME STORE 318
N103ID Qualifier92
N104ID Code0318
N1Party Identification
N101Entity CodeSU
N102NameCEDARLINE HOME
N103ID Qualifier92
N104ID CodeV20417
POCLine Item Change
POC01Assigned Identification (Line Number)1
POC02Change or Response Type CodeRS
POC03Quantity Ordered24
POC04Quantity Left to Receive24
POC05Unit of MeasureEA
POC06Unit Price42.00
POC08Product/Service ID QualifierUP
POC09Product/Service ID085519001205
POC10Product/Service ID QualifierVN
POC11Product/Service IDCL-LAMP-BRS
DTMDate/Time Reference
DTM01Date Qualifier068
DTM02Date20261201
POCLine Item Change
POC01Assigned Identification (Line Number)2
POC02Change or Response Type CodeRE
POC03Quantity Ordered12
POC04Quantity Left to Receive12
POC05Unit of MeasureEA
POC06Unit Price18.00
POC08Product/Service ID QualifierUP
POC09Product/Service ID085519001250
POC10Product/Service ID QualifierVN
POC11Product/Service IDCL-VASE-WHT
PIDProduct/Item Description
PID01Description TypeF
PID05DescriptionCERAMIC VASE WHITE REPLACES CL-VASE-CER
CTTTransaction Totals
CTT01Line Item Count2
1 functional group1 transactionControl #000008652Valid

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

PositionSegmentNameUsageNotes
HeaderSTTransaction Set HeaderMandatoryST01 = 865
HeaderBCABeginning Segment for Purchase Order Change AcknowledgmentMandatoryPurpose, acknowledgment type, PO number, change sequence, date
HeaderREFReference IdentificationOptionalDepartment, vendor and order references
HeaderDTMDate/Time ReferenceOptionalHeader-level dates
HeaderN1 loopName (with N3, N4)OptionalBuyer, supplier, ship-to
DetailPOCLine Item ChangeMandatory in the POC loopOne per line: change code, quantities, price, item IDs
DetailPIDProduct/Item DescriptionOptionalDescription, or the reason for a replacement
DetailDTMDate/Time ReferenceOptionalNew dates for the line
DetailACKLine Item AcknowledgmentOptionalYour answer to the line: status, quantity, qualified date. Repeats
DetailSCHLine Item ScheduleOptionalA revised delivery schedule
SummaryCTTTransaction TotalsOptionalNumber of POC lines
SummarySETransaction Set TrailerMandatorySegment count and control number

Key Segments Explained

BCA: Beginning Segment for Purchase Order Change Acknowledgment

BCA*06*AC*4500087321**1*20261020~
ElementNameExampleWhat it means
BCA01Transaction Set Purpose Code06Why this 865 exists. Common values: 06 confirmation, 04 change, 00 original, 19 seller initiated change. Buyers' guides differ
BCA02Acknowledgment TypeACAC with detail and change, AD with detail and no change, AK no detail, RD or RJ rejected. Optional in the standard
BCA03Purchase Order Number4500087321The PO being changed. Must match the 850 and 860
BCA04Release NumberFor releases against a blanket order
BCA05Change Order Sequence Number1The 860's BCH05, so the buyer knows which change you are answering
BCA06Date20261020Mandatory. Usually the PO date
BCA07 to BCA09Request reference, contract number, reference IDRarely used
BCA10 to BCA12DateFurther dates as the buyer's guide defines them
BCA13Purchase Order Type CodeFrom 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:

CodeMeaningTypical 865 use
QI / QDQuantity increase / decreaseEchoing the buyer's change, or proposing a new quantity
AIAdd itemEchoing a line the buyer added
DIDelete itemEchoing a deletion, or proposing to drop a line you cannot supply
PCPrice changeEchoing a price change, or proposing one
CT / RSChange of dates / rescheduleA new ship or delivery date
REReplacement itemOffering a substitute
RCReject item changeRefusing the change the buyer requested on this line
NCConcurrent 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

DocumentSent byAnswers
855 PO AcknowledgmentSupplierThe original 850: what will ship
860 PO Change RequestBuyerNothing. It asks for a change
865 PO Change Acknowledgment/RequestSupplierA buyer's 860, or proposes the supplier's own change
870 Order Status ReportSupplierWhere the order stands, often in reply to an 869
EDIFACT ORDRSPSupplierThe 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

  1. 850 Purchase Order: buyer places the order.
  2. 855 PO Acknowledgment: supplier confirms what will ship.
  3. 860 PO Change: buyer changes the order.
  4. 865: supplier accepts or rejects the change, or proposes its own.
  5. 856 Ship Notice/ASN: supplier ships against the order as agreed.
  6. 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

ErrorWhat happensPrevention
Change sequence missing or wrongBuyer cannot tell which 860 you are answeringCopy the 860's BCH05 into BCA05
Lines not echoed as sentBuyer cannot match your answer to its changeEcho POC01, the change code and the item IDs from the 860
Header says no change, lines show changesContradiction; stricter buyers reject itDerive BCA02 from the line-level ACK codes
Date placed in ACK04Date lost or rejectedACK04 is the qualifier; the date goes in ACK05
Seller-initiated change sent to a buyer that does not accept themIgnored, and the buyer still expects the original orderConfirm in the buyer's guide; otherwise agree the change by phone or email and let the buyer send the 860
Wrong functional groupRejected at the envelopeGS01 is CA for an 865
ASN built from the original orderReceipt disagrees with the agreed changeShip 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, POC02 and ACK01 codes 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 POC from the 860 as an echo, and generate ACK from 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.

James Darby
Last updated: 11/4/2026

Related Resources