X12 transaction guide · Ordering

EDI 860 Purchase Order Change Request

Official X12 name: Purchase Order Change Request - Buyer Initiated

The X12 document a buyer sends to change or cancel a purchase order that was already sent to the supplier.

Sent by
Buyer
Received by
Supplier or vendor
Standard
ANSI ASC X12
EDIFACT equivalent
ORDCHG

What is an EDI 860?

The EDI 860 Purchase Order Change Request (Buyer Initiated) is the ANSI X12 transaction set a buyer uses to modify a purchase order it has already sent. Changes can include adding or deleting lines, changing quantities or prices, updating dates or ship-to locations, or cancelling the entire order.

Because the 860 changes an existing order, the receiving system must find the original sales order and apply the change correctly. Suppliers often respond with an 865 purchase order change acknowledgment, or with an updated 855, depending on the partner's rules.

How the EDI 860 worksDiagram of the EDI 860 Purchase Order Change Request. Buyer sends it to supplier or vendor. It usually follows 850. It is usually followed by 997 and 855. Inside the ISA, GS and ST envelopes, X12 release 004010 requires, in the heading: BCH (Beginning Segment for Purchase Order Change). 9 optional loops are listed by their first segment.How the EDI 860 worksPurchase Order Change Request: who sends it, where it fits and what the standard marks required1 WHERE IT FITSUSUALLY FOLLOWS850Purchase OrderEDI 860SENDERBuyerRECEIVERSupplier or vendor997 or 999 acknowledgment back, if the partners agreeUSUALLY FOLLOWED BY997FunctionalAcknowledgment855Purchase OrderAcknowledgment2 WHAT X12 RELEASE 004010 REQUIRESInterchange: sender and receiver IDsISA … IEAFunctional group, ID code PCGS … GETransaction set 860ST … SEHEADINGBCHBeginning Segment forPurchase Order Change+ 7 optional loops, starting with:SACAMTN9N1LMSPIADVDETAIL+ 1 optional loop, starting with:POCSUMMARY+ 1 optional loop, starting with:CTTBlue box: required loop. Optional loops are listed by the segment that starts them; when a loop is used, that first segment is required. Optional segmentsoutside loops are not drawn.Structure: required segments and loops in the X12 004010 listing for the 860. Your trading partner's implementation guide adds its own requirements.
How the EDI 860 worksDiagram of the EDI 860 Purchase Order Change Request. Buyer sends it to supplier or vendor. It usually follows 850. It is usually followed by 997 and 855. Inside the ISA, GS and ST envelopes, X12 release 004010 requires, in the heading: BCH (Beginning Segment for Purchase Order Change). 9 optional loops are listed by their first segment.How the EDI 860 worksPurchase Order Change Request: who sends it,where it fits and what the standard marksrequired1 WHERE IT FITSUSUALLY FOLLOWS850Purchase OrderEDI 860SENDERBuyerRECEIVERSupplier orvendor997 or 999 acknowledgment back, if the partnersagreeUSUALLY FOLLOWED BY997Functional Acknowledgment855Purchase Order Acknowledgment2 WHAT X12 RELEASE 004010 REQUIRESInterchange: sender and receiver IDs (ISA… IEA)Functional group, ID code PC (GS … GE)Transaction set 860 (ST … SE)HEADINGBCHBeginning Segment forPurchase Order Change+ 7 optional loops, starting with:SACAMTN9N1LMSPIADVDETAIL+ 1 optional loop, starting with:POCSUMMARY+ 1 optional loop, starting with:CTTBlue box: required loop. Optional loops are listedby the segment that starts them; when a loop isused, that first segment is required. Optionalsegments outside loops are not drawn.Structure: required segments and loops in the X12004010 listing for the 860. Your trading partner'simplementation guide adds its own requirements.

How to read this diagram: the top row shows who sends the 860, to whom, and which documents usually come before and after it. The lower part shows what X12 release 004010 itself requires: the envelopes around the 860 and the segments and loops the standard marks as required, area by area. Optional loops are listed by the segment that starts them rather than drawn in full. This is the standard's minimum, not a trading partner's requirement: each partner's implementation guide usually makes some optional loops mandatory, restricts the codes and may use a different release.

Expand diagram Download SVG

When it is used

  • Increasing or decreasing quantities on an open order
  • Changing requested delivery dates or ship-to locations
  • Adding or removing line items
  • Cancelling an entire purchase order

Where it fits in the document flow

Usually follows 850 Purchase Order
This document 860 Purchase Order Change Request

Structure

Key segments in the 860

The segments most implementations use, described in plain language. The last column shows what X12 release 004010 itself requires: "Required" marks a segment the standard requires in every 860; "Optional, common" marks a segment the standard leaves optional, or that sits in an optional loop, but that implementations often use. This is the standard's requirement, not your trading partner's: each partner's implementation guide names the release it uses, makes some optional segments mandatory and restricts the values, and requirements can differ between releases. The requirement status comes from one published X12 reference listing and has not been checked against a second source.

SegmentNameWhat it carriesIn X12 004010
BCHBeginning Segment for Purchase Order ChangeChange purpose, purchase order type, purchase order number and original order date.Required
DTMDate/Time ReferenceUpdated delivery, ship or cancel dates.Optional, common
N1 loopParty IdentificationUpdated or confirmed ship-to and other parties.Optional, common
POCLine Item ChangeThe line being changed, the type of change, the new quantity, price and item identifiers.Optional, common
CTTTransaction TotalsNumber of changed line items.Optional, common

Example

Sample EDI 860

A change (04) to purchase order PO123456. The POC segment increases the quantity on line 1 (QI) to 36 units at the same price.

Illustrative data only, not tied to one X12 release or trading partner. The interchange (ISA/IEA) and functional group (GS/GE) envelopes are omitted for readability.

ST*860*0001~
BCH*04*SA*PO123456***20261015~
POC*1*QI*36**EA*12.50**UP*012345678905~
CTT*1~
SE*5*0001~
Reading a sample EDI 860, line by lineAnnotated sample EDI 860 with 5 lines. Notes explain the ST, BCH, POC, CTT and SE segments.Reading a sample EDI 860, line by lineEach numbered note explains the segment on that line. The data is illustrative.ST*860*0001~11Transaction Set Header. Opens the 860 and gives it a controlnumber, which SE repeats.BCH*04*SA*PO123456***20261015~22Beginning Segment for Purchase Order Change. Change purpose,purchase order type, purchase order number and original orderdate.POC*1*QI*36**EA*12.50**UP*012345678905~33Line Item Change. The line being changed, the type of change,the new quantity, price and item identifiers.CTT*1~44Transaction Totals. Number of changed line items.SE*5*0001~55Transaction Set Trailer. Closes the set with the number ofsegments, including ST and SE, and the same control number.Illustrative data only, not tied to one trading partner. Envelopes (ISA/GS) are omitted for readability.
Reading a sample EDI 860, line by lineAnnotated sample EDI 860 with 5 lines. Notes explain the ST, BCH, POC, CTT and SE segments.Reading a sample EDI 860, lineby lineEach numbered note explains the segment onthat line. The data is illustrative.ST*860*0001~Transaction Set Header. Opens the 860 andgives it a control number, which SE repeats.BCH*04*SA*PO123456***20261015~Beginning Segment for Purchase OrderChange. Change purpose, purchase order type,purchase order number and original order date.POC*1*QI*36**EA*12.50**UP*012345678905~Line Item Change. The line being changed,the type of change, the new quantity, priceand item identifiers.CTT*1~Transaction Totals. Number of changed lineitems.SE*5*0001~Transaction Set Trailer. Closes the set withthe number of segments, including ST and SE,and the same control number.Illustrative data only, not tied to one trading partner.Envelopes (ISA/GS) are omitted for readability.

The sample is the same one shown above, with a note beside each segment the first time it appears. Segment IDs are highlighted at the start of each line; the fields after them are separated by asterisks, and each segment ends with a tilde.

Expand diagram Download SVG

Avoid problems

Common 860 errors and how to prevent them

Applying changes to the wrong order

The 860 must be matched to the original order by purchase order number. Orders created from a different number cannot be updated automatically.

Creating duplicates

Treating an 860 like a new order creates duplicate sales orders. Changes should update the existing order.

Ignoring orders already shipped

Changes that arrive after shipment need a review step rather than an automatic update.

Trading partners

Integration guides that include the 860

  • Costco EDI integration
  • The Home Depot EDI integration
  • Verizon EDI integration

EDI 860 FAQs

What is the difference between an 850 and an 860?

The 850 creates a new purchase order. The 860 changes or cancels a purchase order that was already sent.

How does a supplier respond to an 860?

Typically with a 997 functional acknowledgment and, if the buyer requires it, an 865 purchase order change acknowledgment or an updated 855.

Can an 860 cancel an entire order?

Yes. The change purpose code in the BCH segment can indicate a full cancellation.

Need help with the EDI 860?

ECOM maps, tests and monitors X12 documents for your trading partners and integrates them with your ERP.