X12
Inbound

MidwayUSA X12 865 Purchase Order Change Acknowledgment/Request

MidwayUSA (via SPS Commerce)
The EDI 865 (Purchase Order Change Acknowledgment/Request) document is used by MidwayUSA for electronic data interchange. It enables automated processing and compliance with MidwayUSA's trading partner requirements.
11segments
4loops
5mandatory

Schema Reference

11 segments · X12 865 Purchase Order Change Acknowledgment/Request

ISA ISA Interchange Control Header
Mandatory Max: 1
ISA01 Authorization Information Qualifier
M ID 2-2
ISA02 Authorization Information
M AN 10-10
ISA03 Security Information Qualifier
M ID 2-2
ISA04 Security Information
M AN 10-10
ISA05 Interchange ID Qualifier
M ID 2-2
ISA06 Interchange Sender ID
M AN 15-15
ISA07 Interchange ID Qualifier
M ID 2-2
ISA08 Interchange Receiver ID
M AN 15-15
ISA09 Interchange Date
M DT 6-6
ISA10 Interchange Time
M TM 4-4
ISA11 Repetition Separator M MIN 1 MAX 1 ID: I65 Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator ISA12 Interchange Control Version Number
M ID 5-5
ISA13 Interchange Control Number
M N0 9-9
ISA14 Acknowledgment Requested
M ID 1-1
ISA15 Usage Indicator
M ID 1-1
GS GS Functional Group Header
Mandatory Max: 1
GS01 Functional Identifier Code
M ID 2-2
GS02 Application Sender's Code
M AN 2-15
GS03 Application Receiver's Code
M AN 2-15
GS04 Date
M DT 8-8
GS05 Time
M TM 4-8
GS06 Group Control Number
M N0 1-9
GS07 Responsible Agency Code
M ID 1-2
GS08 Version / Release / Industry Identifier Code
M AN 1-12
ST Transaction Set Header
Mandatory Max: 1
ST01 Transaction Set Identifier Code
M ID 3-3
ST02 Transaction Set Control Number
M AN 4-9
BCA Beginning Segment for Purchase Order Change Acknowledgment
Mandatory Max: 1
BCA01 Transaction Set Purpose Code
M ID 2-2
BCA02 Acknowledgment Type
O ID 2-2
BCA03 Purchase Order Number
M AN 1-22
BCA06 Date
M DT 8-8
BCA12 Date
O DT 8-8
REF Reference Identification
REF01 Reference Identification Qualifier
M ID 2-3
REF02 Reference Identification
C AN 1-50
DTM Date/Time Reference
Optional Max: 10
DTM01 Date/Time Qualifier
M ID 3-3
DTM02 Date
C DT 8-8
POC Loop Repeat: 1,000
POC Line Item Change
Optional Max: 1
POC01 Assigned Identification
O AN 1-20
POC02 Change or Response Type Code
M ID 2-2
POC08 Product/Service ID Qualifier
C ID 2-2
POC09 Product/Service ID
C AN 1-48
POC10 Product/Service ID Qualifier
C ID 2-2
POC11 Product/Service ID
C AN 1-48
POC12 Product/Service ID Qualifier
C ID 2-2
POC13 Product/Service ID
C AN 1-48
PID Loop Repeat: 1,000
PID Product/Item Description
Optional Max: 1
PID01 Item Description Type
M ID 1-1
PID02 Product/Process Characteristic Code
O ID 2-3
PID05 Description
C AN 1-80
ACK Loop Repeat: 104
ACK Line Item Acknowledgment
Optional Max: 1
ACK01 Line Item Status Code
M ID 2-2
ACK02 Quantity
C R 1-15
ACK03 Unit or Basis for Measurement Code
C ID 2-2
ACK04 Date/Time Qualifier
O ID 3-3
ACK05 Date
C DT 8-8
CTT Loop Repeat: 1
CTT Transaction Totals
Optional Max: 1
CTT01 Number of Line Items
M N0 1-6
SE Transaction Set Trailer
Mandatory Max: 1
SE01 Number of Included Segments
M N0 1-10
SE02 Transaction Set Control Number
M AN 4-9
How It Works

Automating MidwayUSA EDI 865

Stacksync validates, transforms, and delivers your 865 transactions automatically — so your team can focus on operations, not EDI compliance.

Validate
Transform
Route
Monitor
Stacksync processes MidwayUSA EDI 865 (Purchase Order Change Acknowledgment/Request) documents automatically — syncing data to your system in real time with no manual intervention required.

MidwayUSA EDI 865 FAQ

Common questions about 865 Purchase Order Change Acknowledgment/Request transactions with MidwayUSA.

How long does it take to set up MidwayUSA EDI with Stacksync?

Most suppliers are fully connected and processing live MidwayUSA EDI transactions within 3–5 business days. Stacksync's no-code setup means you don't need developers or EDI consultants — configure your field mappings through our visual interface, run a test cycle, and go live.

Do I need an existing VAN or AS2 connection to trade with MidwayUSA?

No. Stacksync handles the entire EDI transport layer. We connect directly to MidwayUSA's trading partner network through our certified connections. You don't need to manage a separate VAN subscription, AS2 certificates, or SFTP configurations.

How does Stacksync help with MidwayUSA compliance?

Stacksync improves compliance scores by eliminating manual processing delays. Purchase Orders sync to your system in real time, ASNs are generated automatically when you ship, and invoices are validated with three-way matching before submission. Real-time monitoring alerts you to issues before they become chargebacks.

What EDI document types does Stacksync support for MidwayUSA?

Stacksync supports all EDI document types required by MidwayUSA — including Purchase Orders (850), Invoices (810), ASNs (856), PO Acknowledgments (855), and more. Our platform handles the full lifecycle from order to payment automatically.

Can I connect MidwayUSA EDI to my existing ERP or WMS?

Yes. Stacksync integrates with any system that has a database or API — including SAP, Oracle, NetSuite, Microsoft Dynamics, and custom-built ERPs. Data flows bidirectionally between MidwayUSA's EDI network and your system in real time.

What happens when MidwayUSA updates their EDI specifications?

Stacksync monitors MidwayUSA's EDI spec changes and updates our mappings proactively. When a change affects your integration, we notify you and apply updates — so you stay compliant without scrambling to decode new implementation guides.