
Kmart 812 Credit/Debit Adjustment
Kmart · X12 004010
The Kmart 812 is the credit or debit adjustment sent to correct an amount already invoiced.
Kmart’s published 812 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
10 of 10 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
BCD
Beginning Credit Debit Adjustment BCD
The amount in BCD04 is always positive (not signed). The Credit/Debit flag in BCD05 determines if money is due the Sender (Sears) or the Receiver (Vendor). Debits are due the Sender; Credits are due the Receiver.
For Debit/Credit Memos, BCD10 will contain the date in YYYYMMDD format if the original purchase order number is not available or applicable.
BCD13 will contain code BT when none of the invoice number (BCD07), the purchase order number (BCD10), store / unit number or the return goods authorization number (BCD13 contains code RZ) are applicable.
BCD13 will contain code ST for training and licensing fees. BCD14 will contain the account number.
pos 020
Required
max —
N9
Reference Identification N9
If N901 contains code CN, N902 contains carrier’s invoice number.
If N901 contains code L1, N903 contains the text description of the reason for the Debit or Credit.
If N901 contains code RZ, N902 contains the return goods authorization number and N903 contains the name of the person authorizing the return.
If N901 contains code ST, N902 contains the Kmart store / unit number. For returned goods, this is where the merchandise was shipped from.
If the 812 is generated for training or licensing fees, then the store number will be the account number.
pos 040
Required
max —
DTM
Date Time Reference DTM
This segment is used for RGIs when BCD13 contains code RZ to
indicate the date that the returned goods were shipped to the vendor.
pos 070
Optional
max —
SHD
Shipment Detail SHD
This segment is used only when merchandise is being returned to vendor. SHD01 reports the total number of cases (boxes) of merchandise that are returned for the entire 812, (e.g. the sum of all CDD07 quantities in the transaction).
pos 090
Optional
max —
SAC
Service Promotion Allowance Or Charge Information SAC
pos 097
Optional
max 3
N1 Looprepeats 200required
N1
Name N1
If N101 contains code CA, N102 will contain the name of the carrier that picked up the return.
If N101 contains code PR, N102 will contain the value 'KMART', N103 will contain code value 1 and N104 will contain the Kmart Duns number '008965873'.
If N101 contains code SE, N103 will contain code value 92 and N104 will contain the Seller’s (Vendor’s) remit-to (pay) vendor number.
If N101 contains code SF, N103 will contain code value 92 and N104 will contain the Kmart Store ID of the store that is returning the product.
pos 100
Required
max —
DETAIL
CDD Loop
CDD
Credit Debit Adjustment Detail CDD
The code values that may be specified in CDD01 include all values from the VICS / UCS 426 data element list.
If the code value in CDD01 is L4, the debits are related to training classes, set-up fees or other administrative fees.
The amounts in CDD04, CDD09, CDD11, and CDD13 are always positive (not signed). The Credit/Debit flag in CDD02 determines if money is due the Sender (Sears) or the Receiver (Vendor). Debits are due the Sender; Credits are due the Receiver.
The amount in CDD04 is formatted with an implied decimal with 2 decimal places ($100.00 will be formatted as 10000). The amounts in CDD09, CDD11, and CDD13 are formatted with a decimal, and any trailing 0s are not sent ($100.00 will be formatted as 100.)
The CDD loop repeats once for each item or reason code included in the transaction. Additional CDD loops may be present to specify any miscellaneous amounts, such as freight, that apply to the entire transaction set.
The sequence number in CDD03 will always match the sequence number in the following LIN01. This will enable your system to keep the Line Item Reference with the appropriate adjustment detail.
The CDD segment may be used to specify credits or debits that apply to the entire transaction set. In this case, the LIN segment is not used.
If CDD05 contains code Y, then merchandise is being shipped back to the supplier.
pos 160
Required
max —
LIN
Item Identification LIN
This segment will specify the Kmart product associated with the preceding CDD segment.
The sequence number in LIN01 will always match the sequence
number in the preceding CDD03. This will enable your system to keep the Line Item Reference with the appropriate adjustment detail.
The LIN segment will not be present for miscellaneous charges that do not apply to a specific item. This includes 812s that are transmitted for training or licensing fees (CDD01 contains L4).
pos 170
Optional
max —
SE
Transaction Set Trailer SE
pos 270
Optional
max —
Validate your 812
Paste or upload a document and check it against Kmart’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Kmart’s 812 in days, not months
Connect this guide to your accounting system and test with Kmart yourself, or leave the mapping and the test cycle to us, at no extra charge.