X12 812 Credit/Debit Adjustment
This Draft Standard for Trial Use contains the format and establishes the data contents of the Credit/Debit Adjustment Transaction Set (812) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to notify a trading partner of an adjustment or billback and may be used to request an adjustment or billback. It identifies and contains the details and amounts covering exceptions, adjustments, credits, or debits for goods or services. This transaction set is multi-directional between trading partners.
- Segment
- * Element
- > Component
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code to identify the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in I02)
Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)
Code to identify the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in I04)
This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
This version number covers the interchange control segments
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
A control number assigned by the interchange sender
Code sent by the sender to request an interchange acknowledgment (TA1)
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code to indicate whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator
- >
- Component Element Separator
Functional Group Header
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- CD
- Credit/Debit Adjustment (812)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission. Codes agreed to by trading partners
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
Assigned number originated and maintained by the sender
Code used in conjunction with Data Element 480 to identify the issuer of the standard
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed
- 004010
- Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997
Heading
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
Code uniquely identifying a Transaction Set
- The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
- 812
- Credit/Debit Adjustment
Beginning Credit/Debit Adjustment
To transmit identifying dates and numbers for the transaction set and indicate the monetary value to the receiver of the transaction
- BCD05 indicates whether the net of the detail is a credit or a debit.
Date expressed as CCYYMMDD
- BCD01 is the credit/debit adjustment date.
Number assigned by issuer of a credit or debit memo
1 - 16 Adjustment number
Code designating the action to be taken by all parties
- A
- Off Invoice (Deduction from Original Invoice)
- O
- Deduct from Next Remittance
- Q
- Credit Due, Payment Being Issued
Monetary amount
- BCD04 is the net amount of this complete transaction.
Code indicating whether amount is a credit or debit
- C
- Credit
- D
- Debit
Identifying number assigned by issuer
- If using BCD07 or BCD10, do not use BCD14 to identify invoice number or purchase order number.
Date expressed as CCYYMMDD
- BCD09 is the purchase order date.
Identifying number for Purchase Order assigned by the orderer/purchaser
Code identifying purpose of transaction set
- For BCD11, only codes 00, 05, 06, 07, and 15 are permitted to be used.
- 00
- Original
- 07
- Duplicate
Code qualifying the Reference Identification
- BT
- Batch Number
- C9
- Previous Credit/Debit Adjustment Number
- E7
- Service Bulletin Number
- RZ
- Returned Goods Authorization Number
Check Number
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- CK
- Check Number
Department Number
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- DP
- Department Number
Internal Vendor Number
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- IA
- Internal Vendor Number
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
- CR
- Customer Relations
Date/Time Reference
To specify pertinent dates and times
Shipment Detail
To indicate shipment details in terms of quantity, weight, and routing instructions related to credit or debit of returned product
- SHD is used to indicate shipment detail relative to credit or debit of returned product.
Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- BY
- Buying Party (Purchaser)
- RI
- Remit To
- ST
- Ship To
Code designating the system/method of code structure used for Identification Code (67)
- 92
- Assigned by Buyer or Buyer's Agent
Code identifying a party or other code
- This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
4 - 7 Buying party
9 - 9 Remit to
9 - 9 Ship to for returned goods
Detail
Credit/Debit Adjustment Detail
To provide information relative to a line item adjustment
Code indicating reason for debit or credit memo or adjustment to invoice, debit or credit memo, or payment
- 01
- Pricing Error
- 03
- Extension Error
- 05
- Item Not Accepted - Quality
- 10
- Pallet/Container Charge Error
- 11
- Returns - Damage
- 12
- Returns - Quality
- 13
- Returns - Dating
- 14
- Returns - Promotion
- 15
- Returns - Recall
- 16
- Non-Invoice Related Allowance/Charge
- 19
- Duplicate Billing
- 23
- Special Charge Not Authorized
- 27
- Product Transfers Subject to Charge Back
- 44
- Required Documents Missing
- 46
- Transportation Charge Incorrect
- 48
- Service Charge
- 49
- Processing Charge
- 50
- Late Charge
- 52
- Credit for Previous Overpayment
- 53
- Remittance for Previous Underpayment
- 54
- Freight Deducted
- 59
- Item not received
- 63
- Customer Paid Invoice Which Was Previously Disputed
- 72
- Authorized Return
- 74
- Cancel or Adjust Prior Credit/Debit Adjustment
- 75
- Total Order Not Received
- 76
- Cash Discount
- 79
- Cooperative Advertising
- 81
- Credit as Agreed
- 82
- Defective Allowance
- 83
- Delivery Charge
- 86
- Duplicate Payment
- 87
- Duplicate Shipment
- 92
- Entire Shipment Not Ordered
- 93
- Field Destroy
- 97
- Handling Charge
- 98
- Labor Charges
- A2
- Misshipped (Wrong Product Received)
- A4
- Nonreceipt of Goods
- A5
- Overage
- A6
- Packing Violations
- A7
- Payment on Account
- A9
- Proof of Delivery Not Received
- B1
- Proof of Shipment Not Received
- B2
- Rebate
- B6
- Repay Discount
- B7
- Restocking Charge
- B8
- Routing Violation
- B9
- Samples Not Received
- C1
- Settlement of Account
- C2
- Special Allowance
- C8
- Ticketing Error
- E9
- Order Cancelled
- F1
- Defective
- L7
- Miscellaneous Deductions
- L8
- Miscellaneous Credits
- WU
- Unspecified Recovery
Code indicating whether amount is a credit or debit
- C
- Credit
- D
- Debit
Alphanumeric characters assigned for differentiation within a transaction set
Code indicating a Yes or No condition or response
- CDD05 is the code indicating whether adjustment is for returned goods. A "Y" confirms that the adjustment is for returned goods.
- Y
- Yes
Number of supplier units credited or debited
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- EA
- Each
Per unit (case) price or allowance/charge difference between original billing and corrected amount (may be unit full list price or allowance/charge where item was not on original billing or where full credit/debit amount is being transacted, i.e., returns or contested quantities)
Code identifying pricing specification
- UCP
- Unit cost price
Price per unit of product, service, commodity, etc.
Code identifying pricing specification
- If comparison pricing is used, then CDD12 and CDD13 are required.
- OPP
- Original Purchase Order Price
Item Identification
To specify basic item identification data
Alphanumeric characters assigned for differentiation within a transaction set
- LIN01 is the line item identification
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IZ
- Buyer's Size Code
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
13 - 13 EAN number (LIN02=EN)
4 - 5 Sears’ item number (LIN02=IN)
3 - 3 Sears’ SKU number (LIN02=IZ)
1 - 24 Repair part number (LIN02=PN)
12 - 12 U.P.C. number (LIN02=UP)
1 - 24 Vendor’s item number (LIN02=VN)
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IZ
- Buyer's Size Code
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
See LIN03
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IZ
- Buyer's Size Code
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
See LIN03
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IZ
- Buyer's Size Code
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
See LIN03
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IZ
- Buyer's Size Code
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
Reference Identification
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- IV
- Seller's Invoice Number
Transaction Set Trailer
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
Sample from Sears
GS*CD*SENDERGS*RECEIVERGS*20231106*125917*000000001*X*004010
ST*812*0001
BCD*19980829*D50006858*O*2256*D*19980518*****00**BT*D50006858
N9*DP*624
N9*IA*000654321
PER*CR*BUYING DEPT 624
N1*BY**92*Bill to unit
N1*RI**92*Remit to Duns number
CDD*01*D*100*1090***10*EA*1.09*UCP*9.59*OPP*8.5
LIN*100*IN*40250
N9*IV*141685
CDD*01*D*101*636***3*EA*2.12*UCP*12.12*OPP*10
LIN*101*IN*40251
N9*IV*141685
CDD*01*D*102*530***5*EA*1.06*UCP*6.06*OPP*5
LIN*102*IN*40252
N9*IV*141685
SE*17*0001
GE*1*000000001
IEA*1*000000001
Sample from Sears 2
GS*CD*SENDERGS*RECEIVERGS*20231106*125927*000000001*X*004010
ST*812*0001
BCD*19980828*G0059895*O*3163*D******00**BT*D534911851
N9*DP*676
N9*IA*840364871
PER*CR*DALLAS TX AP CENTER 9767
DTM*011*20230202
SHD*1**EA********XX44
N1*BY**92*Bill to unit
N1*RI**92*Remit to Duns number
N1*ST**92*Ship-to Duns number
CDD*12*D*100*285***1*EA**UCP*2.85
LIN*100*IN*95739*IZ*568
CDD*12*D*101*285*Y**1*EA**UCP*2.85
LIN*101*IN*95739*IZ*570
CDD*12*D*102*1260***1*EA**UCP*12.6
LIN*102*IN*44739*IZ*572
CDD*97*D**222
CDD*10*D**1111
SE*19*0001
GE*1*000000001
IEA*1*000000001
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.