X12
Inbound

CVS X12 812 Credit/Debit Adjustment

CVS
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

CVS (Legacy ISA ID: CVSD)
Stacksync processes CVS EDI 812 (Credit/Debit Adjustment) documents automatically — syncing data to your system in real time with no manual intervention required.
CVS (Legacy ISA ID: 001786664)
Stacksync processes CVS EDI 812 (Credit/Debit Adjustment) documents automatically — syncing data to your system in real time with no manual intervention required.
CVS (Legacy ISA ID: CVS)
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.

What is a CVS EDI 812 Credit/Debit Adjustment?

The CVS EDI 812 Credit/Debit Adjustment is an X12 transaction set used to exchange Credit/Debit Adjustment data electronically between trading partners. As a inbound document, it standardizes the communication of Credit/Debit Adjustment information between CVS and their suppliers, carriers, or partners. Stacksync processes CVS 812 transactions automatically, parsing the X12 segments and mapping them to the corresponding records in your ERP, WMS, or database. This eliminates manual data entry, reduces errors, and ensures your systems stay in sync with CVS's requirements in real time.

What is a CVS EDI 812 Credit/Debit Adjustment?

The CVS EDI 812 Credit/Debit Adjustment is an X12 transaction set used to exchange Credit/Debit Adjustment data electronically between trading partners. As a inbound document, it standardizes the communication of Credit/Debit Adjustment information between CVS and their suppliers, carriers, or partners. Stacksync processes CVS 812 transactions automatically, parsing the X12 segments and mapping them to the corresponding records in your ERP, WMS, or database. This eliminates manual data entry, reduces errors, and ensures your systems stay in sync with CVS's requirements in real time.

How does Stacksync automate CVS EDI 812 Credit/Debit Adjustment transactions?

Stacksync handles CVS EDI 812 Credit/Debit Adjustment transactions through an automated pipeline: receive the X12 document, validate the envelope and segment structure, map fields to your system's schema, and sync the data in real time. For inbound 812 transactions, Stacksync either generates the document from your system's data or processes incoming documents and routes them to the correct records. The platform includes built-in compliance validation so every CVS 812 document meets their specific formatting requirements before transmission or after receipt.

How does Stacksync automate CVS EDI 812 Credit/Debit Adjustment transactions?

Stacksync handles CVS EDI 812 Credit/Debit Adjustment transactions through an automated pipeline: receive the X12 document, validate the envelope and segment structure, map fields to your system's schema, and sync the data in real time. For inbound 812 transactions, Stacksync either generates the document from your system's data or processes incoming documents and routes them to the correct records. The platform includes built-in compliance validation so every CVS 812 document meets their specific formatting requirements before transmission or after receipt.

What are common CVS EDI 812 errors and how do I fix them?

Common errors in CVS EDI 812 Credit/Debit Adjustment transactions include missing mandatory segments, invalid qualifier codes, incorrect date or time formats, and data values exceeding maximum field lengths. Reference number mismatches between related documents (e.g., PO numbers that don't match) also cause rejections. Stacksync validates CVS 812 documents against known requirements before transmission and after receipt, catching errors proactively. When issues occur, the platform provides human-readable error descriptions with the specific segment and element that failed, rather than raw X12 error codes.

What are common CVS EDI 812 errors and how do I fix them?

Common errors in CVS EDI 812 Credit/Debit Adjustment transactions include missing mandatory segments, invalid qualifier codes, incorrect date or time formats, and data values exceeding maximum field lengths. Reference number mismatches between related documents (e.g., PO numbers that don't match) also cause rejections. Stacksync validates CVS 812 documents against known requirements before transmission and after receipt, catching errors proactively. When issues occur, the platform provides human-readable error descriptions with the specific segment and element that failed, rather than raw X12 error codes.

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

Most CVS EDI 812 Credit/Debit Adjustment integrations with Stacksync go live within 3 to 5 business days. The setup involves authenticating your EDI connection (AS2, SFTP, or VAN), configuring field mappings between CVS's 812 format and your system, running test transactions, and completing CVS's certification process if required. Stacksync includes pre-built mappings for CVS's most common 812 configurations, which accelerates the setup. Your team can monitor the integration from a single dashboard without managing EDI infrastructure directly.

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

Most CVS EDI 812 Credit/Debit Adjustment integrations with Stacksync go live within 3 to 5 business days. The setup involves authenticating your EDI connection (AS2, SFTP, or VAN), configuring field mappings between CVS's 812 format and your system, running test transactions, and completing CVS's certification process if required. Stacksync includes pre-built mappings for CVS's most common 812 configurations, which accelerates the setup. Your team can monitor the integration from a single dashboard without managing EDI infrastructure directly.

Can I customize CVS EDI 812 field mappings in Stacksync?

Yes. Stacksync provides a visual field mapping tool that lets you define exactly how CVS EDI 812 segments and elements map to your system's fields. You can set data transformations (date format conversion, code translation tables), conditional routing rules, and default values for optional fields. The mappings are version-controlled, so changes can be reviewed and rolled back if needed. If CVS updates their 812 specification, Stacksync highlights the affected mappings and suggests adjustments, ensuring your integration stays compliant without a full reconfiguration.

Can I customize CVS EDI 812 field mappings in Stacksync?

Yes. Stacksync provides a visual field mapping tool that lets you define exactly how CVS EDI 812 segments and elements map to your system's fields. You can set data transformations (date format conversion, code translation tables), conditional routing rules, and default values for optional fields. The mappings are version-controlled, so changes can be reviewed and rolled back if needed. If CVS updates their 812 specification, Stacksync highlights the affected mappings and suggests adjustments, ensuring your integration stays compliant without a full reconfiguration.

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