Skip to content
EDI X12 812

X12 transaction code

X12 812 Credit Debit Adjustment

Stop Mapping. Start Trading.

Standard
X12
Code
812
Trading partners
17

Specification summary

X12 812 Credit Debit Adjustment at the element level

The X12 812 specification defines 22 segments carrying 99 data elements, 44 of which are mandatory.

Segments
22
Data elements
99
Mandatory elements
44
Segments with mandatory elements
Segment Elements Mandatory
BCD 9 5
N9 3 1
PER 6 1
DTM 2 1
SAC 8 1
N1 4 1
N3 2 1
CDD 8 2
LIN 9 2
Key identifiers in 812
  • Date
  • Credit/Debit Adjustment Number
  • Transaction Handling Code
  • Amount
  • Credit/Debit Flag Code
  • Reference Identification Qualifier
  • Contact Function Code
  • Date/Time Qualifier

Usage breakdown

Who trades X12 812 Credit Debit Adjustment

812 is used most heavily in grocery & food, retail and building & hardware.

The X12 812 is the electronic equivalent of a credit or debit memo. It communicates adjustments to amounts already invoiced, covering events such as over- or under-shipments, returns, price discrepancies, billing errors, and billbacks under trading-partner agreements, so both parties' payables and receivables stay reconciled. It typically flows after the EDI 810 invoice and before the EDI 820 remittance, and it notifies or requests an adjustment rather than moving funds. The 812 flows in both directions: sellers send credit or debit memos to buyers, and buyers such as retailers and distributors send it to suppliers to document deductions and billbacks. A discrepancy is found after invoicing, such as a shortage, return, pricing error, or agreed billback, and one party issues an adjustment against the original invoice.

By industry

  • grocery & food 9 channels
  • retail 5 channels
  • building & hardware 4 channels
  • healthcare & pharma 4 channels
  • apparel & footwear 3 channels
  • furniture & home 1 channel

By network

  • SPS Commerce 8 channels
  • InterTrade 1 channel

FAQ

X12 812 questions

What is X12 812 Credit Debit Adjustment?

X12 812 (Credit Debit Adjustment) is an EDI transaction set defined by ANSI ASC X12 for exchanging credit debit adjustment between trading partners. It is one of over 300 X12 transaction sets used across retail, healthcare, manufacturing, and logistics. 17 Stacksync trading partners support this code across 26 channels.

Which trading partners use X12 812?

17 Stacksync partners accept X12 812: Ace Hardware, Ashley Furniture Industries, LLC, Buc-ee's, Ltd., Core-Mark (via SPS Commerce), CVS, Dillard's Department Stores, Inc., Family Dollar, Family Farm & Home, Inc., and more. Each partner has its own implementation guideline that Stacksync pre-validates before sending. Browse the full directory above.

How do I integrate X12 812 with my ERP?

Stacksync handles the full X12 812 integration: partner channel certification (AS2, VAN, FTP), transaction-set mapping per the trading partner's implementation guide, translation to your ERP's native data model, and real-time delivery. Typical time from kickoff to production is 3 to 10 business days for a single partner connection.

Ready to automate your EDI?

Most teams go live in days, not months. Talk to our team and we'll walk you through your specific setup.