Last reviewed October 6, 2026 by Effective Data's EDI specialists.
When the 812 is used, and which way it travels
Sellers typically send an 812 to notify a customer about a pricing increase or decrease related to a previous order, such as an 850 or an 810.
Buyers use it to request an adjustment due to damaged, lost, or wrong items being delivered.
The document typically includes the original transaction or PO number, the amount of the adjustment, the items being adjusted, and the reason for the adjustment.
Also called the Credit or Debit Memo, the Adjustment. Same document, same number.
The segments, and what each one carries
The published X12 structure, minus the segments most partners never use. Each partner's implementation guide narrows this further: which qualifiers, which identifiers, how many decimals. That guide, not the standard, is what your file is validated against.
| Segment | Name | Part | What it carries |
|---|---|---|---|
| ST | Transaction Set Header | Header | Identifies the document as an 812 and opens the control number the trailer must match. |
| BCD | Beginning Credit/Debit Adjustment | Header | Credit or debit, the amount, the date, and the invoice or PO it adjusts. |
| REF | Reference Identification | Header | The reference numbers that locate the original transaction. |
| N1 | Party Identification | Header | Who is adjusting whom. |
| CDD | Credit/Debit Adjustment Detail | Detail | The line-level adjustment: the reason code, quantity and amount per item. |
| SE | Transaction Set Trailer | Summary | Closes the set. Segment count and control number must match the ST. |
- ST Transaction Set Header Header
- Identifies the document as an 812 and opens the control number the trailer must match.
- BCD Beginning Credit/Debit Adjustment Header
- Credit or debit, the amount, the date, and the invoice or PO it adjusts.
- REF Reference Identification Header
- The reference numbers that locate the original transaction.
- N1 Party Identification Header
- Who is adjusting whom.
- CDD Credit/Debit Adjustment Detail Detail
- The line-level adjustment: the reason code, quantity and amount per item.
- SE Transaction Set Trailer Summary
- Closes the set. Segment count and control number must match the ST.
Why yours is being rejected
Every EDI provider publishes what an 812 is. What matters in production is why one fails, and these are the failure modes we can put a source against today:
-
An adjustment that references nothing. The 812 adjusts a previous transaction; a document whose original PO or invoice reference does not match the counterparty's records cannot be applied and joins the dispute queue.
-
Reason codes left generic. CDD carries the reason per line; adjustments filed without usable reasons cannot be reconciled to their cause, and the same dispute repeats on the next order.
If one of these is happening to you right now, skip to the bottom of the page and describe it. Diagnosing rejected documents is most of what we do.
The documents the 812 travels with
Frequently asked
+ What is an EDI 812?
A debit/credit adjustment business document that securely communicates costs between businesses for goods or services, replacing the paper credit or debit memo.
+ What does an 812 include?
The original transaction or PO number, the amount of the adjustment, the items being adjusted, and the reason for the adjustment.
+ Who sends the 812?
Both parties. Sellers send it to notify a customer about a pricing increase or decrease related to a previous order; buyers use it to request an adjustment for damaged, lost or wrong items delivered.
+ How does the 812 relate to the 820?
The 812 raises or requests the adjustment; the 820 is where adjustments show up against actual payment. Together they are how deductions are communicated rather than discovered.
Is your 812 failing, or being mandated by a partner?
Describe the situation and a named EDI specialist will tell you what it takes, including when the answer is that you do not need us.
Or call 847.969.9300Answered by a named EDI specialist on the same business day. If we are not the right answer we will say so on the first call.