Stedi maintains this guide based on public documentation from US Foods. Contact US Foods 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
detail
IT1 Loop
IT1
010
Baseline Item Data (Invoice)
Max use 1
Required
QTY
015
Quantity
Max use 5
Optional
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
PKG
090
Marking, Packaging, Loading
Max use 25
Optional
PO4
100
Item Physical Details
Max use 1
Optional
REF
120
Reference Identification
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
REF
050
Heading > REF
Reference Identification
OptionalMax use 12
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
—
- 1X
- Credit or Debit Adjustment Number
- 06
- System Number
- AD
- Acceptable Source DUNS Number
- BC
- Buyer's Contract Number
- CO
- Customer Order Number
- OI
- Original Invoice Number
- TJ
- Federal Taxpayer's Identification Number
- WX
- Distributor's Account Identification
- ZZ
- Mutually Defined
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
OptionalMax 200
N1
070
Heading > 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
—
- BT
- Bill-to-Party
- RE
- Party to receive commercial invoice remittance
- SE
- Selling Party
- SF
- Ship From
- ST
- Ship To
—
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
N1 Loop end
Heading end
Detail
IT1 Loop
OptionalMax 200000
IT1
010
Detail > IT1 Loop > IT1
Baseline Item Data (Invoice)
RequiredMax use 1
—
Example
If either Quantity Invoiced (IT1-02), Unit or Basis for Measurement Code (IT1-03) or Unit Price (IT1-04) are present, then the others are required
If either Product/Service ID Qualifier (IT1-06) or Product/Service ID (IT1-07) 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-22) or Product/Service ID (IT1-23) 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
—
- PE
- Price per Each
- PP
- Price per Pound
- UM
- Price per Unit of Measure
—
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
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 1000
PID Loop end
PKG
090
Detail > IT1 Loop > PKG
Marking, Packaging, Loading
OptionalMax use 25
—
Example
If Description (PKG-05) is present, then Item Description Type (PKG-01) is required
REF
120
Detail > IT1 Loop > REF
Reference Identification
OptionalMax use >1
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
—
- 1X
- Credit or Debit Adjustment Number
- 87
- Functional Category
- AS
- Acceptable Source Supplier ID
- FK
- Finish Lot Number
- FL
- Fine Line Classification
- GZ
- General Ledger Account
- HO
- Shipper's Hazardous Number
- IA
- Internal Vendor Number
- PG
- Product Group
SAC Loop
OptionalMax >1
Usage notes
—
SAC
180
Detail > IT1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
—
Usage notes
—
SAC Loop end
IT1 Loop end
Detail end
Summary
SAC Loop
OptionalMax 25
SAC
040
Summary > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
SAC Loop end
CTT
070
Summary > CTT
Transaction Totals
RequiredMax use 1
—
Example
If either Weight (CTT-03) or Unit or Basis for Measurement Code (CTT-04) is present, then the other is required
Summary end
EDI Samples
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240124*1814*U*00401*000000001*0*T*>~
GS*IN*SENDERGS*RECEIVERGS*20240124*181425*000000001*X*004010~
BIG*20110509*9999999*20110509*WC 08***DI~
NTE*INV*The perishable agricultural commodities listing on this invoice are sold~
NTE*INV*subject to the statutory trust authorized by section 5(c) of the Perishable ~
NTE*INV*Agricultural Commodities Act, 1930 (7U.S.C.499c(c)). The seller of these ~
NTE*INV*commodities retains a trust claim over these commodities, all inventories ~
NTE*INV*of food and other products derived from these commodities, and any
receivables ~
NTE*INV*or proceeds from the sale of these commodities until full payment is
received.~
NTE*GEN*WC 08 CUS PU 9 30~
CUR*SE*USD~
REF*06*ASYS~
REF*TJ*36373233908~
REF*AD*607027680~
REF*CO*294656~
REF*ZZ*ECXXXXXX~
PER*BJ*DENVER/6V*TE*303.792.9230*****CONTENT SUPPORT~
PER*CN*US FOODSERVICE HELP DESK*TE*888.648.2580*****TRANSMISSION
SUPPORT~
N1*SE*US FOODSERVICE INC.*91*795140433~
N3*U.S. FOODSERVICE INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUSTOMER*91*83860000~
N3*123 MAIN STREET*SUITE A~
N4*ANYTOWN*IL*99999~
REF*DP*000~
N1*ST*CUSTOMER*92*100~
N1*RE*US FOODSERVICE INC.*91*6214181854146~
N3*2838 COLLECTIONS CTR DR~
N4*CHICAGO*IL*60693~
N1*ST*CUSTOMER*91*83860000~
N3*123 MAIN STREET*SUITE A~
N4*ANYTOWN*IL*99999~
N1*SF*DENVER/6V*91*6V3160~
N3*11955 E. PEAKVIEW AVE.~
N4*CENTENNIAL*CO*80111~
ITD*01*3****20110529*20~
DTM*011*20110509~
DTM*035*20110509~
IT1*0001*1*CA*30.9*UM*VN*6955355*IN*11995*UK*00793799079360*MG*3291
-306-303*********BL*REMBRANDT~
QTY*38*1*CA~
IT3*40*PN~
IT3*1*CA~
CTP**NET*30.9~
PID*F****EGG LIQ WHL PSTRD B-I-B REF~
PKG*F****2/20 LB~
PO4*1~
REF*GZ*11995~
REF*IA*097148*REMBRANDT ENTERPRISES~
REF*FL*21*DAIRY~
REF*87*159*EGGS FURTHER PROCESSED~
REF*PG*1653*EGGS PROCESSED LIQUID RAW REFRIGERATED~
REF*AS*058237*REMBRANDT ENTERPRISES~
IT1*XXX*000000000*EA*0000000*UM*VN*XXX*IN*XXXX*UK*XX*MG*XXXXXX*SR*XXX*******BL*XXXXX~
QTY*38*1*CA~
IT3*34.8*31~
IT3*34.8*PN~
IT3*1*CA~
CTP**NET*84.56~
PID*F****PORK CARNITA CSHON MEAT MRNTD~
PKG*F****6/4.5 LBA~
PO4*6~
REF*IA*005623*HORMEL FOODS CORPORATION~
REF*FL*30*PORK~
REF*87*240*PORK FURTHER PROCESSED~
REF*PG*2166*PORK PRECOOKED OTHER FROZEN~
REF*AS*000052*HORMEL FOODS CORPORATION~
TDS*13080~
TXI*TX*7.34~
SAC*C*C650***800**********Fuel Surcharge~
CTT*2**74.8*LB~
GE*1*000000001~
IEA*1*000000001~
GS*IN*SENDERGS*RECEIVERGS*20240124*181425*000000001*X*004010~
BIG*20110509*9999999*20110509*WC 08***DI~
NTE*INV*The perishable agricultural commodities listing on this invoice are sold~
NTE*INV*subject to the statutory trust authorized by section 5(c) of the Perishable ~
NTE*INV*Agricultural Commodities Act, 1930 (7U.S.C.499c(c)). The seller of these ~
NTE*INV*commodities retains a trust claim over these commodities, all inventories ~
NTE*INV*of food and other products derived from these commodities, and any
receivables ~
NTE*INV*or proceeds from the sale of these commodities until full payment is
received.~
NTE*GEN*WC 08 CUS PU 9 30~
CUR*SE*USD~
REF*06*ASYS~
REF*TJ*36373233908~
REF*AD*607027680~
REF*CO*294656~
REF*ZZ*ECXXXXXX~
PER*BJ*DENVER/6V*TE*303.792.9230*****CONTENT SUPPORT~
PER*CN*US FOODSERVICE HELP DESK*TE*888.648.2580*****TRANSMISSION
SUPPORT~
N1*SE*US FOODSERVICE INC.*91*795140433~
N3*U.S. FOODSERVICE INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUSTOMER*91*83860000~
N3*123 MAIN STREET*SUITE A~
N4*ANYTOWN*IL*99999~
REF*DP*000~
N1*ST*CUSTOMER*92*100~
N1*RE*US FOODSERVICE INC.*91*6214181854146~
N3*2838 COLLECTIONS CTR DR~
N4*CHICAGO*IL*60693~
N1*ST*CUSTOMER*91*83860000~
N3*123 MAIN STREET*SUITE A~
N4*ANYTOWN*IL*99999~
N1*SF*DENVER/6V*91*6V3160~
N3*11955 E. PEAKVIEW AVE.~
N4*CENTENNIAL*CO*80111~
ITD*01*3****20110529*20~
DTM*011*20110509~
DTM*035*20110509~
IT1*0001*1*CA*30.9*UM*VN*6955355*IN*11995*UK*00793799079360*MG*3291
-306-303*********BL*REMBRANDT~
QTY*38*1*CA~
IT3*40*PN~
IT3*1*CA~
CTP**NET*30.9~
PID*F****EGG LIQ WHL PSTRD B-I-B REF~
PKG*F****2/20 LB~
PO4*1~
REF*GZ*11995~
REF*IA*097148*REMBRANDT ENTERPRISES~
REF*FL*21*DAIRY~
REF*87*159*EGGS FURTHER PROCESSED~
REF*PG*1653*EGGS PROCESSED LIQUID RAW REFRIGERATED~
REF*AS*058237*REMBRANDT ENTERPRISES~
IT1*XXX*000000000*EA*0000000*UM*VN*XXX*IN*XXXX*UK*XX*MG*XXXXXX*SR*XXX*******BL*XXXXX~
QTY*38*1*CA~
IT3*34.8*31~
IT3*34.8*PN~
IT3*1*CA~
CTP**NET*84.56~
PID*F****PORK CARNITA CSHON MEAT MRNTD~
PKG*F****6/4.5 LBA~
PO4*6~
REF*IA*005623*HORMEL FOODS CORPORATION~
REF*FL*30*PORK~
REF*87*240*PORK FURTHER PROCESSED~
REF*PG*2166*PORK PRECOOKED OTHER FROZEN~
REF*AS*000052*HORMEL FOODS CORPORATION~
TDS*13080~
TXI*TX*7.34~
SAC*C*C650***800**********Fuel Surcharge~
CTT*2**74.8*LB~
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.