Tediware launches an official MCP server for EDI.Learn more →
Access X12 from your terminal Get the tedi CLI

812 Credit/Debit Adjustment

A Credit/Debit Adjustment tells a trading partner that an amount owed is being corrected, or asks for a correction. Buyers and sellers both send it, for reasons such as damaged goods, billing errors and returns. The BCD (Beginning Credit/Debit Adjustment) segment gives the net amount, shows which way the money goes, and identifies the invoice. Each CDD (Credit/Debit Adjustment Detail) segment explains one adjustment, with a reason code, a quantity and an amount, and the LIN (Item Identification) segment names the product.

For example, Ferncliff Lighting ships 200 table lamps to Maplehurst Home Goods and invoices them at $15 each. Maplehurst finds that 20 of the lamps are broken and sends Ferncliff an 812 asking for $300 back. The BCD segment carries the $300 and Ferncliff’s invoice number. A CDD segment gives the reason code for damaged goods, the quantity of 20 and the $15 unit price, and a LIN segment carries the lamp’s product code. Ferncliff checks the claim and returns its own 812 to confirm that it has credited Maplehurst’s account.

Structure

Credit/Debit Adjustment (CD812) contains 2 tables (Heading, Detail), 4 loops, and 27 segments. Sign up free or login to view every table, loop, and element in full, as well as download it in Markdown or console (text) formats.

Heading
ST 010
Transaction Set Header
R
Max 1
BCD 020
Beginning Credit/Debit Adjustment
R
Max 1
CUR 030
Currency
O
Max 1
N9 040
Reference Number
O
Unbounded
PER 050
Administrative Communications Contact
O
Unbounded
ITD 060
Terms of Sale/Deferred Terms of Sale
O
Unbounded

Sign up free to see the full CD812 reference

See every segment, loop, and element across all 2 tables. Download it in console (text) or Markdown format, or use the tedi CLI to access the full X12 reference from your terminal.