CDW Corporation
April 24, 2000
ANSI X12 810 Out Bound
Version 4010
Guidelines
April 24, 2000
The following pages are the guidelines for implementing the ANSI X12 810 document with CDW for customers. The segments listed below are a subset of the 810 document.
Segment Max. Loop
ID Name Req Use Repeat
(Header)
ST Transaction Set Header M 1
BIG Beginning Segment for Invoices M 1
REF Reference Numbers O 12
N1 Name O 1 200 |
N2 Additional Name Information O 1 |
N3 Address Information O 1 |
N4 Geographic Location O 1 |
PER Administrative Communications Contact O 3 |
ITD Terms of Sale/Deferred Terms of Sale O 1
DTM Date/Time Reference O 1
(Detail)
IT1 Baseline Item Data O 1 200,000 - |
IT3 Additional Item Data O 1 |
PID Product/Item Description O 1000 |
REF Reference Numbers O >1 |
(Trailer)
TDS Total Monetary Value Summary M 1
TXI Tax Information O 1
CAD Carrier Detail O 1
SAC Allowance, Charge, Or Service O 10
CTT Transactions Totals M 1
SE Transaction Set Trailer M 1
| - Denotes that the segment is included in a previous loop
Here is an example of CDW’s 810 document:
ST*810*000000001
BIG*20010421*TESTPO12345*20010402*113294***IN
REF*IT*102285
REF*ON*2209010
REF*PO*12345678901234567890123456789012345
N1*BT*ABC COMPANY
N2*ACCOUNTS PAYABLE
N3*1234 ANY ST.
N4*ANYCITY*IL*99999
N1*ST*ABC COMPANY
N2*RECEIVING
N3*1234 ANY ST DOCK 4
N4*ANYCITY*IL*99999
N1*RE*COMPUTER DISCOUNT WAREHOUSE
N3*1020 LAKE COOK RD
N4*BUFFALO GROVE*IL*60089
ITD******950410*10
DTM*006*20000421
DTM*011*20000421
IT1*1*5*EA*299**VP*15676
IT3*5*EA*BP*1
PID*F****OKI 320 EPSON/IBM PAR 9 PIN
REF*SE*S412D1359925
REF*SE*S412D1359933
REF*SE*S412D1359936
REF*SE*S412D1359938
REF*SE*S412D1359945
IT1*2*6*EA*39.99**VP*16155
PID*F****OKI PULL TRACTOR FOR 320 - 390
IT1*3*6*EA*8**VP*16386
PID*F****IBM 25FT PAR CAB
TDS*224531
TXI*ST*124.81*.07
CAD*A***FEDX*FEDERAL EXPRESS AIR**SI*40013562415
SAC*C*D240***33756*******06
CTT*3
SE*36*0004
Please note that the segment terminators are not shown.
The following is a guide to the notation that is used to present the specifications:
Req - Required or Usage TP - Element Type
C Conditional AN Alpha Numeric
M Mandatory DT Date, in the form of CCYYMMDD
O Optional ID Identifier or Qualifier
X Relational Nx Numeric, ‘x’ is decimals
R Decimal, decimal point TM Time, in the form of HHMM
included
Header
ST - Transaction Set Header
Reference Length
Element Number Description Qual/Def Req Type Min Max
ST01 143 Transaction code for document 810 - Invoice M ID 3 3
ST02 329 Transaction set control number Sequential # M AN 4 9
same as SE02
BIG - Beginning Segment for Invoice
Reference Length
Element Number Description Qual/Def Req Type Min Max
BIG01 373 Invoice Date Issue date M DT 8 8
BIG02 76 Invoice Number Identifying number M AN 1 22
BIG03 373 Purchase Order Date Date of PO O DT 8 8
BIG04 324 Purchase Order Number PO number O AN 1 22
BIG07 640 Transaction Type Code Specifies type of O ID 2 2
transaction
‘IN’ - Invoice
‘CR’ - Credit
‘RE’ - Re-bill
REF - Reference Numbers
Reference Length
Element Number Description Qual/Def Req Type Min Max
REF01 128 Reference Number Qualifier Valid qualifiers M ID 3 3
‘IT’ - Internal Customer #
‘ON’- Order Number
‘TJ’ - Tax Id Number
‘PO’ - Purchase Order Number
REF02 127 Reference Number Corresponding X AN 1 30
number
N1 - Name
Reference Length
Element Number Description Qual/Def Req Type Min Max
N101 98 Type of Organization Valid qualifiers M ID 3 3
BT - Bill To
RE - Remit To
ST - Ship To
SF - Ship From
N102 93 Name of Party Free form name X AN 1 60
N103 66 ID Code Qualifier Valid qualifier X ID 2 2
N104 67 ID Code Identifying number X AN 2 80
N2 - Additional Name Information
Reference Length
Element Number Description Qual/Def Req Type Min Max
N201 93 Name of Party Free form name M AN 1 60
N202 93 Name of Party Free form name O AN 1 60
N3 - Address Information
Reference Length
Element Number Description Qual/Def Req Type Min Max
N301 166 Address Destination address M AN 1 55
N302 166 Address Additional Address O AN 1 55
N4 - Geographic Location
Reference Length
Element Number Description Qual/Def Req Type Min Max
N401 19 City Name X AN 2 30
N402 156 State/Province Code Any 2 character O ID 2 2
state or province code
N403 116 Postal Code Zip or postal code O ID 3 15
N404 26 Country Code Not necessary if US O ID 2 3
or Canada
PER - Administrative Communications Contact
Reference Length
Element Number Description Qual/Def Req Type Min Max
PER01 366 Contact Function Code SA - Sales Admin M ID 2 2
SR - Sales Representative
PER02 93 Name Free form name O AN 1 60
PER03 365 Communications Number TE - Telephone X ID 2 2
Qualifier
PER04 364 Communications Number Area code included X AN 1 80
ITD - Terms of Sale/Deferred Terms of Sale
Reference Length
Element Number Description Qual/Def Req Type Min Max
ITD06 446 Terms Net Due Date Due date of total O DT 8 8
ITD07 386 Terms Net Days Number of days O N0 1 3
total amount due
ITD12 352 Description Term Description O AN 1 80
DTM - Date/Time Reference
Reference Length
Element Number Description Qual/Def Req Type Min Max
DTM01 374 Date/Time Qualifier 006 - Date Sold M ID 3 3
011 - Date Shipped
DTM02 373 Date CCYYMMDD X DT 8 8
Detail
IT1 - Baseline Item Data
Reference Length
Element Number Description Qual/Def Req Type Min Max
IT101 350 Assigned Identifier Line number O AN 1 20
IT102 358 Quantity Invoiced Number of units M R 1 10
IT103 355 Unit of Measurement Code Valid code M ID 2 2
IT104 212 Unit Price Decimal as needed M R 1 17
IT106 235 Product/Service ID Qualifier VP - Vendor’s P/N O ID 2 2
IT107 234 Product Service CDW’s P/N X AN 1 48
IT3 - Additional Item Data
Reference Length
Element Number Description Qual/Def Req Type Min Max
IT301 382 Number of Units Shipped X R 1 10
IT302 355 Unit of Measurement Code Same as IT103 X ID 2 2
IT303 368 Shipment/Order Status Code BP - Back Ordered X ID 2 2
IT304 383 Quantity Difference Back ordered X R 1 9
quantity
PID - Product/Item Description
Reference Length
Element Number Description Qual/Def Req Type Min Max
PID01 349 Item Description Type F - Free form M ID 1 1
PID05 352 Description Product description X AN 1 80
REF - Reference Numbers
Reference Length
Element Number Description Qual/Def Req Type Min Max
REF01 128 Reference Number Qualifier SE - Serial Number M ID 2 3
REF02 127 Reference Number Serial number of X AN 1 30
product
Trailer
TDS - Total Monetary Value Summary
Reference Length
Element Number Description Qual/Def Req Type Min Max
TDS01 610 Total Invoice Amount Amount of invoice M N2 1 15
TXI - Tax Information
Reference Length
Element Number Description Qual/Def Req Type Min Max
TXI01 963 Tax Type Code ST - State sales tax M ID 2 2
TXI02 782 Monetary Amount Amount of tax X R 1 18
TXI03 954 Percent Percent of tax X R 1 10
CAD - Carrier Detail
Reference Length
Element Number Description Qual/Def Req Type Min Max
CAD01 91 Transportation Method Code A - Air O ID 1 2
M - Motor
CAD04 140 Standard Carrier Alpha Code SCAC code X ID 2 4
CAD05 387 Routing Name of carrier X AN 1 35
CAD07 128 Reference Number Qualifier SI - Shipper number O ID 2 3
CAD08 127 Reference Number Tracking number X AN 1 30
SAC – Service, Promotion, Allowance, or Charge Information
Reference Length
Element Number Description Qual/Def Req Type Min Max
SAC01 248 Allowance or Charge Indicator C - Charge M ID 1 1
SAC02 1300 Allowance or Charge Code Code M ID 1 4
D240 - Freight
SAC05 610 Amount M N2 1 15
SAC12 331 Allowance or Charge Handling 06-pd by customer M ID 1 2
CTT - Transaction Totals
Reference Length
Element Number Description Qual/Def Req Type Min Max
CTT01 354 Number of Line Items Number of IT1 M N0 1 6
segments used
SE - Transaction Set Trailer
Reference Length
Element Number Description Qual/Def Req Type Min Max
SE01 96 Segments in Transaction ST and SE included M N0 1 10
SE02 329 Transaction Set Control Same as ST02 M AN 4 9
810_O_4010 1