X12
Inbound

CVS X12 812 Credit/Debit Adjustment

All Business Units
The EDI 812 (Credit/Debit Adjustment) document is used by CVS for electronic data interchange. It enables automated processing and compliance with CVS's trading partner requirements.
15segments
2loops
6mandatory

Schema Reference

15 segments · X12 812 Credit/Debit Adjustment

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
BCD Beginning Credit/Debit Adjustment
Mandatory Max: 1
BCD01 Date
M DT 8-8
BCD02 Credit/Debit Adjustment Number
M AN 1-22
BCD03 Transaction Handling Code
M ID 1-2
BCD04 Amount
M N2 1-15
BCD05 Credit/Debit Flag Code
M ID 1-1
BCD06 Date
O DT 8-8
BCD07 Invoice Number
C AN 1-22
BCD09 Date
O DT 8-8
BCD10 Purchase Order Number
C AN 1-22
BCD12 Transaction Type Code
O ID 2-2
N9 Reference Identification
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
DTM Date/Time Reference
DTM01 Date/Time Qualifier
M ID 3-3
DTM02 Date
C DT 8-8
SAC Service, Promotion, Allowance, or Charge Information
Optional Max: 25
SAC01 Allowance or Charge Indicator
M ID 1-1
SAC02 Service, Promotion, Allowance, or Charge Code
C ID 4-4
SAC05 Amount
O N2 1-15
N1 Loop Repeat: 200
N1 Name
Mandatory Max: 1
N101 Entity Identifier Code
M ID 2-3
N102 Name
C AN 1-60
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
AMT Monetary Amount
Optional Max: 10
AMT01 Amount Qualifier Code
M ID 1-3
AMT02 Monetary Amount
M R 1-18
CDD Loop
CDD Credit/Debit Adjustment Detail
Optional Max: 1
CDD01 Adjustment Reason Code
M ID 2-2
CDD02 Credit/Debit Flag Code
M ID 1-1
CDD03 Assigned Identification
O AN 1-20
CDD04 Amount
C N2 1-15
CDD07 Credit/Debit Quantity
C R 1-10
CDD08 Unit or Basis for Measurement Code
C ID 2-2
CDD10 Price Identifier Code
C ID 3-3
CDD11 Unit Price
C R 1-17
CDD12 Price Identifier Code
C ID 3-3
CDD13 Unit Price
C R 1-17
LIN Item Identification
Optional Max: 1
LIN02 Product/Service ID Qualifier
M ID 2-2
LIN03 Product/Service ID
M AN 1-48
LIN04 Product/Service ID Qualifier
C ID 2-2
LIN05 Product/Service ID
C AN 1-48
PO4 Item Physical Details
Optional Max: 1
PO401 Pack
O N0 1-6
SAC Service, Promotion, Allowance, or Charge Information
Optional Max: 25
SAC01 Allowance or Charge Indicator
M ID 1-1
SAC02 Service, Promotion, Allowance, or Charge Code
C ID 4-4
SAC05 Amount
O N2 1-15
N9 Reference Identification
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
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 812

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

Validate
Transform
Route
Monitor
Stacksync processes CVS EDI 812 (Credit/Debit Adjustment) documents automatically — syncing data to your system in real time with no manual intervention required.

Business unit variations

General
Stacksync processes CVS EDI 812 (Credit/Debit Adjustment) documents automatically — syncing data to your system in real time with no manual intervention required.
General
Stacksync processes CVS EDI 812 (Credit/Debit Adjustment) documents automatically — syncing data to your system in real time with no manual intervention required.
General
Stacksync processes CVS EDI 812 (Credit/Debit Adjustment) documents automatically — syncing data to your system in real time with no manual intervention required.

CVS EDI 812 FAQ

Common questions about 812 Credit/Debit Adjustment 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.

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.

Ready to automate CVS EDI?

a blue checkmark icon
POC from integration engineers
a blue checkmark icon
No-code EDI setup
a blue checkmark icon
Real-time compliance monitoring
a blue checkmark icon
White-glove onboarding