Stedi maintains this guide based on public documentation from Wayfair. Contact Wayfair 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
CUR
040
Currency
Max use 1
Optional
REF
050
Reference Identification - Carrier Reference Number
Max use 12
Optional
REF
050
Reference Identification - Customer Order Number
Max use 12
Optional
REF
050
Reference Identification - Vendor ID Number
Max use 12
Required
PER
060
Administrative Communications Contact
Max use 3
Required
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
140
Date/Time Reference
Max use 10
Required
MEA
170
Measurements
Max use 40
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
REF
050
Heading > REF
Reference Identification - Carrier Reference Number
OptionalMax use 12
—
Example
Variants (all may be used)
REFReference Identification - Customer Order NumberREFReference Identification - Vendor ID NumberREF
050
Heading > REF
Reference Identification - Customer Order Number
OptionalMax use 12
—
Example
Variants (all may be used)
REFReference Identification - Carrier Reference NumberREFReference Identification - Vendor ID NumberN1 Loop
RequiredMax >1
N1
070
Heading > N1 Loop > N1
Name
RequiredMax use 1
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N4
100
Heading > N1 Loop > N4
Geographic Location
RequiredMax use 1
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
PER
120
Heading > N1 Loop > 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
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
N1 Loop end
Heading end
Detail
IT1 Loop
RequiredMax >1
PID Loop
RequiredMax >1
PID Loop end
IT1 Loop end
Detail end
Summary
SAC Loop
RequiredMax >1
SAC
040
Summary > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
—
- B720
- Cooperative Advertising/Merchandising Allowance (Performance)
- C000
- Defective Allowance
- C540
- Early Buy Allowance
- D240
- Freight
- D500
- Handling
- F670
- Price and Marketing Allowance
- F800
- Promotional Allowance
- G470
- Restocking Charge
- H750
- Tax - Sales Tax (State and Local)
SAC Loop end
Summary end
EDI Samples
Wayfair sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231101*0202*U*00401*000000001*0*T*>
GS*IN*SENDERGS*RECEIVERGS*20231101*020227*000000001*X*004010
ST*810*0001
BIG*20221231*Invoice Number*20221130*PO Number***DI
CUR*SE*USD
REF*CO*Order Number
REF*CN*Tracking Number
REF*VR*SuID*Warehouse ZIP
PER*IC*Supplier Name*TE*Supplier Phone*FX*Supplier Fax
N1*ST*Ship To Name*54*Warehouse ID
N3*Ship to Addr1*Ship to Addr2
N4*Ship to City*CA*Ship to Zip*USA*ZN*R
PER*DC**TE*Ship to Phone***EM*Ship to Email
ITD*02***20230114**20230130******Terms
DTM*011*20230118
MEA*WT*WT*150
IT1**10*EA*100**VN*Supplier Product ID
PID*F****Product Name
TDS*1000
CAD*****Ship Carrier
SAC*A*B720***1000
SE*20*0001
GE*1*000000001
IEA*1*000000001
GS*IN*SENDERGS*RECEIVERGS*20231101*020227*000000001*X*004010
ST*810*0001
BIG*20221231*Invoice Number*20221130*PO Number***DI
CUR*SE*USD
REF*CO*Order Number
REF*CN*Tracking Number
REF*VR*SuID*Warehouse ZIP
PER*IC*Supplier Name*TE*Supplier Phone*FX*Supplier Fax
N1*ST*Ship To Name*54*Warehouse ID
N3*Ship to Addr1*Ship to Addr2
N4*Ship to City*CA*Ship to Zip*USA*ZN*R
PER*DC**TE*Ship to Phone***EM*Ship to Email
ITD*02***20230114**20230130******Terms
DTM*011*20230118
MEA*WT*WT*150
IT1**10*EA*100**VN*Supplier Product ID
PID*F****Product Name
TDS*1000
CAD*****Ship Carrier
SAC*A*B720***1000
SE*20*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.