Stedi maintains this guide based on public documentation from CDW. Contact CDW for official EDI specifications. To report any errors in this guide, please contact us.
X12 810 Invoice
—
Delimiters
- ~ Segment
- * Element
- > Component
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
010
Transaction Set Header
Max use 1
Required
BIG
020
Beginning Segment for Invoice
Max use 1
Required
NTE
030
Note/Special Instruction
Max use 100
Optional
CUR
040
Currency
Max use 1
Optional
REF
050
Reference Identification
Max use 12
Optional
PER
060
Administrative Communications Contact
Max use 3
Optional
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
140
Date/Time Reference
Max use 10
Optional
FOB
150
F.O.B. Related Instructions
Max use 1
Optional
MEA
170
Measurements
Max use 40
Optional
detail
IT1 Loop
IT1
010
Baseline Item Data (Invoice)
Max use 1
Required
IT3
030
Additional Item Data
Max use 5
Optional
TXI
040
Tax Information
Max use 10
Optional
CTP
050
Pricing Information
Max use 25
Optional
MEA
059
Measurements
Max use 40
Optional
ITD
110
Terms of Sale/Deferred Terms of Sale
Max use 2
Optional
REF
120
Reference Identification (Serial Number)
Max use 1
Optional
DTM
150
Date/Time Reference
Max use 10
Optional
CAD
160
Carrier Detail
Max use 1
Optional
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
PER
060
Heading > PER
Administrative Communications Contact
OptionalMax use 3
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
N1 Loop Rest All
OptionalMax 200
Variants (all may be used)
N1 Loop Ship ToN1
070
Heading > N1 Loop Rest All > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- BT
- Bill-to-Party
- EU
- Old Secured Party
- RE
- Party to receive commercial invoice remittance
- RI
- Remit To
N1 Loop Rest All end
N1 Loop Ship To
OptionalMax 1
Variants (all may be used)
N1 Loop Rest AllN1
070
Heading > N1 Loop Ship To > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N4
100
Heading > N1 Loop Ship To > N4
Geographic Location
OptionalMax use 1
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N1 Loop Ship To end
FOB
150
Heading > FOB
F.O.B. Related Instructions
OptionalMax use 1
—
Example
If Description (FOB-03) is present, then Location Qualifier (FOB-02) is required
If Description (FOB-07) is present, then Location Qualifier (FOB-06) is required
—
- BP
- Paid by Buyer
- CA
- Advance Collect
- CC
- Collect
- MX
- Mixed
- PA
- Advance Prepaid
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
- PS
- Paid by Seller
- TP
- Third Party Pay
—
- DE
- Destination (Shipping)
- OR
- Origin (Shipping Point)
—
- DE
- Destination (Shipping)
- OR
- Origin (Shipping Point)
Heading end
Detail
IT1 Loop
RequiredMax >1
IT1
010
Detail > IT1 Loop > IT1
Baseline Item Data (Invoice)
RequiredMax use 1
—
Usage notes
—
Example
If either Unit or Basis for Measurement Code (IT1-03) or Unit Price (IT1-04) is present, then the other is required
If either Product/Service ID Qualifier (IT1-08) or Product/Service ID (IT1-09) is present, then the other is required
If either Product/Service ID Qualifier (IT1-10) or Product/Service ID (IT1-11) is present, then the other is required
If either Product/Service ID Qualifier (IT1-12) or Product/Service ID (IT1-13) is present, then the other is required
If either Product/Service ID Qualifier (IT1-14) or Product/Service ID (IT1-15) is present, then the other is required
If either Product/Service ID Qualifier (IT1-16) or Product/Service ID (IT1-17) is present, then the other is required
If either Product/Service ID Qualifier (IT1-18) or Product/Service ID (IT1-19) is present, then the other is required
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
—
- AC
- Aggregation Code (Used to Consolidate Part Families)
IT3
030
Detail > IT1 Loop > IT3
Additional Item Data
OptionalMax use 5
—
Example
If either Number of Units Shipped (IT3-01) or Unit or Basis for Measurement Code (IT3-02) is present, then the other is required
PID Loop
OptionalMax >1
PID Loop end
REF
120
Detail > IT1 Loop > REF
Reference Identification (Serial Number)
OptionalMax use >1
—
Usage notes
—
Example
CAD
160
Detail > IT1 Loop > CAD
Carrier Detail
OptionalMax use >1
—
Example
At least one of Standard Carrier Alpha Code (CAD-04) or Routing (CAD-05) is required
If Reference Identification Qualifier (CAD-07) is present, then Reference Identification (CAD-08) is required
SAC Loop
OptionalMax 25
SAC
180
Detail > IT1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
SAC Loop end
SLN Loop
OptionalMax >1
SLN
200
Detail > IT1 Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Usage notes
—
Example
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
OptionalMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
SLN Loop end
N1 Loop
OptionalMax 200
N1
240
Detail > IT1 Loop > N1 Loop > N1
Name
RequiredMax use 1
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1 Loop end
IT1 Loop end
Detail end
Summary
TXI
020
Summary > TXI
Tax Information
OptionalMax use 1
—
Example
If either Tax Jurisdiction Code Qualifier (TXI-04) or Tax Jurisdiction Code (TXI-05) is present, then the other is required
At least one of Monetary Amount (TXI-02), Percent (TXI-03) or Tax Exempt Code (TXI-06) is required
CAD
030
Summary > CAD
Carrier Detail
OptionalMax use 1
—
Example
At least one of Standard Carrier Alpha Code (CAD-04) or Routing (CAD-05) is required
If Reference Identification Qualifier (CAD-07) is present, then Reference Identification (CAD-08) is required
SAC Loop
OptionalMax >1
SAC
040
Summary > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
TXI
050
Summary > SAC Loop > TXI
Tax Information
OptionalMax use 10
—
Example
If either Tax Jurisdiction Code Qualifier (TXI-04) or Tax Jurisdiction Code (TXI-05) is present, then the other is required
At least one of Monetary Amount (TXI-02), Percent (TXI-03) or Tax Exempt Code (TXI-06) is required
SAC Loop end
ISS Loop
OptionalMax >1
ISS
060
Summary > ISS Loop > ISS
Invoice Shipment Summary
RequiredMax use 1
—
Example
If either Number of Units Shipped (ISS-01) or Unit or Basis for Measurement Code (ISS-02) is present, then the other is required
If either Weight (ISS-03) or Unit or Basis for Measurement Code (ISS-04) is present, then the other is required
ISS Loop end
Summary end
EDI Samples
CDW 810 Invoice
ISA~00~ ~00~ ~ZZ~SENDER ~ZZ~RECEIVER ~231101~0139~U~00401~000000001~0~T~>
GS~IN~SENDERGS~RECEIVERGS~20231101~013902~000000001~X~004010
ST~810~0004
BIG~20000310~12345678~20000309~113294~~~DI
REF~EU~03001035208150
N1~BT~CDW COMPUTER CENTERS INC~91~99998
N1~ST~CDW COMPUTER CENTERS INC~91~99998
N1~RE~XYZ COMPUTERS~91~00001
N2~ACCOUNTS PAYABLE
N3~P.O. BOX 1424
N4~ANYTOWN~CA~99999
ITD~05~3~~~~19950409~30
DTM~011~20000310
IT1~2~5~EA~90~~BP~123456~MG~20002
PID~F~~~~SECOND ITEM DESCRIPTION
SLN~X~~I~2~EA~~~~SN~A260004
SLN~X~~I~2~EA~~~~SN~A260005
SLN~X~~I~2~EA~~~~SN~A260006
SLN~X~~I~2~EA~~~~SN~A260007
SLN~X~~I~2~EA~~~~SN~A260008
TDS~65510
CAD~T~~~ABFS~1234~~ABF~123
SAC~C~D240~~~10000~~~~~~~06
CTT~1
SE~23~0004
GE~1~000000001
IEA~1~000000001
GS~IN~SENDERGS~RECEIVERGS~20231101~013902~000000001~X~004010
ST~810~0004
BIG~20000310~12345678~20000309~113294~~~DI
REF~EU~03001035208150
N1~BT~CDW COMPUTER CENTERS INC~91~99998
N1~ST~CDW COMPUTER CENTERS INC~91~99998
N1~RE~XYZ COMPUTERS~91~00001
N2~ACCOUNTS PAYABLE
N3~P.O. BOX 1424
N4~ANYTOWN~CA~99999
ITD~05~3~~~~19950409~30
DTM~011~20000310
IT1~2~5~EA~90~~BP~123456~MG~20002
PID~F~~~~SECOND ITEM DESCRIPTION
SLN~X~~I~2~EA~~~~SN~A260004
SLN~X~~I~2~EA~~~~SN~A260005
SLN~X~~I~2~EA~~~~SN~A260006
SLN~X~~I~2~EA~~~~SN~A260007
SLN~X~~I~2~EA~~~~SN~A260008
TDS~65510
CAD~T~~~ABFS~1234~~ABF~123
SAC~C~D240~~~10000~~~~~~~06
CTT~1
SE~23~0004
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.