X12
Inbound

CVS X12 850 Purchase Order

CVS (Legacy ISA ID: CVSD)
The EDI 850 Purchase Order is CVS's primary document for placing orders with suppliers. It contains item details, quantities, pricing, shipping instructions, and delivery windows. Suppliers must acknowledge and fulfill these orders according to CVS's compliance requirements.
21segments
7loops
6mandatory

Schema Reference

21 segments · X12 850 Purchase Order

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 Interchange Control Standards Identifier
M ID 1-1
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
BEG Beginning Segment for Purchase Order
Mandatory Max: 1
BEG01 Transaction Set Purpose Code
M ID 2-2
BEG02 Purchase Order Type Code
M ID 2-2
BEG03 Purchase Order Number
M AN 1-22
BEG05 Date
M DT 8-8
REF Reference Identification
REF01 Reference Identification Qualifier
M ID 2-3
REF02 Reference Identification
C AN 1-30
REF03 Description
C AN 1-80
PER Administrative Communications Contact
Optional Max: 3
PER01 Contact Function Code
M ID 2-2
PER02 Name
O AN 1-60
SAC Loop Repeat: 25
SAC Service, Promotion, Allowance, or Charge Information
Optional Max: 1
SAC01 Allowance or Charge Indicator
M ID 1-1
SAC02 Service, Promotion, Allowance, or Charge Code
C ID 4-4
SAC03 Agency Qualifier Code
C ID 2-2
SAC04 Agency Service, Promotion, Allowance, or Charge Code
C AN 1-10
SAC06 Allowance/Charge Percent Qualifier
C ID 1-1
SAC07 Percent
C R 1-6
SAC12 Allowance or Charge Method of Handling Code
O ID 2-2
SAC15 Description
C AN 1-80
ITD Terms of Sale/Deferred Terms of Sale
ITD01 Terms Type Code
O ID 2-2
ITD02 Terms Basis Date Code
O ID 1-2
ITD03 Terms Discount Percent
O R 1-6
ITD05 Terms Discount Days Due
C N0 1-3
ITD07 Terms Net Days
O N0 1-3
ITD10 Deferred Amount Due
C N2 1-10
DTM Date/Time Reference
Optional Max: 10
DTM01 Date/Time Qualifier
M ID 3-3
DTM02 Date
C DT 8-8
AMT Loop
AMT Monetary Amount
Optional Max: 1
AMT01 Amount Qualifier Code
M ID 1-3
AMT02 Monetary Amount
M R 1-18
N9 Loop Repeat: 1,000
N9 Reference Identification
Optional Max: 1
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
MSG Message Text
Optional Max: 1,000
MSG01 Free-Form Message Text
M AN 1-264
N1 Loop Repeat: 200
N1 Name
Optional Max: 1
N101 Entity Identifier Code
M ID 2-3
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
N3 Address Information
Optional Max: 2
N301 Address Information
M AN 1-55
N4 Geographic Location
N401 City Name
O AN 2-30
N402 State or Province Code
O ID 2-2
N403 Postal Code
O ID 3-15
PO1 Loop Repeat: 100,000
PO1 Baseline Item Data
Mandatory Max: 1
PO102 Quantity Ordered
C R 1-15
PO103 Unit or Basis for Measurement Code
O ID 2-2
PO104 Unit Price
C R 1-17
PO106 Product/Service ID Qualifier
C ID 2-2
PO107 Product/Service ID
C AN 1-48
PO108 Product/Service ID Qualifier
C ID 2-2
PO109 Product/Service ID
C AN 1-48
PO110 Product/Service ID Qualifier
C ID 2-2
PO111 Product/Service ID
C AN 1-48
PAM Period Amount
Optional Max: 10
PAM01 Quantity Qualifier
C ID 2-2
PAM02 Quantity
C R 1-15
PID Loop Repeat: 1,000
PID Product/Item Description
Optional Max: 1
PID01 Item Description Type
M ID 1-1
PID05 Description
C AN 1-80
PO4 Item Physical Details
PO401 Pack
O N0 1-6
CTT Loop Repeat: 1
CTT Transaction Totals
Optional Max: 1
CTT01 Number of Line Items
M N0 1-6
CTT02 Hash Total
O R 1-10
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 CVS EDI 850

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

Validate
Transform
Route
Monitor
Stacksync automatically syncs incoming CVS 850 Purchase Orders directly to your ERP or database. New orders appear in your system within seconds — no manual data entry, no CSV imports. Field mappings are configured once and every future PO flows through automatically.

Business unit variations

CVS (Legacy ISA ID: 001786664)
Stacksync automatically syncs incoming CVS 850 Purchase Orders directly to your ERP or database. New orders appear in your system within seconds — no manual data entry, no CSV imports. Field mappings are configured once and every future PO flows through automatically.
CVS (Legacy ISA ID: CVS)
Stacksync automatically syncs incoming CVS 850 Purchase Orders directly to your ERP or database. New orders appear in your system within seconds — no manual data entry, no CSV imports. Field mappings are configured once and every future PO flows through automatically.
CVS
Stacksync automatically syncs incoming CVS 850 Purchase Orders directly to your ERP or database. New orders appear in your system within seconds — no manual data entry, no CSV imports. Field mappings are configured once and every future PO flows through automatically.

CVS EDI 850 FAQ

Common questions about 850 Purchase Order transactions with CVS.

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

Most suppliers are fully connected and processing live CVS 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 CVS?

No. Stacksync handles the entire EDI transport layer. We connect directly to CVS'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 CVS 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 CVS?

Stacksync supports all EDI document types required by CVS — 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 CVS 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 CVS's EDI network and your system in real time.

What happens when CVS updates their EDI specifications?

Stacksync monitors CVS'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.