Stedi maintains this guide based on public documentation from UPS. Contact UPS for official EDI specifications. To report any errors in this guide, please contact us.

X12 846 Inventory Inquiry/Advice
X12 Release 5010Revised
Jun 6, 2023, 4:28 PM
—
Delimiters
- ~ Segment
- * Element
- > Component
- ^ Repetition
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
detail
LIN Loop
LIN
0100
Item Identification
Max use 1
Required
PID
0300
Product/Item Description
Max use 200
Optional
DTM
1000
Expiration
Max use 10
Optional
DTM
1000
Lot Number Expiration
Max use 10
Optional
REF
1400
Location on Product Code
Max use 1
Optional
REF
1400
Lot Number
Max use 1
Optional
REF
1400
Shipment Origin Code
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)
—
- 00501
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
—
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
—
- I
- Information
- P
- Production Data
- T
- Test Data
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
N1 Loop
OptionalMax >1
N1
0800
Heading > N1 Loop > N1
Party Identification
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
Heading end
Detail
LIN Loop
RequiredMax >1
LIN
0100
Detail > LIN Loop > LIN
Item Identification
RequiredMax use 1
—
Example
If either Product/Service ID Qualifier (LIN-04) or Product/Service ID (LIN-05) is present, then the other is required
—
- VC
- Vendor's (Seller's) Catalog Number
- VN
- Vendor's (Seller's) Item Number
DTM
1000
Detail > LIN Loop > DTM
Expiration
OptionalMax use 10
—
Example
Variants (all may be used)
DTMLot Number ExpirationDTM
1000
Detail > LIN Loop > DTM
Lot Number Expiration
OptionalMax use 10
—
Example
Variants (all may be used)
DTMExpirationQTY Loop
OptionalMax >1
—
- 15
- Quantity in Hold Out—
- 20
- Unusable Quantity—
- 33
- Quantity Available for Sale (stock quantity)—
- 35
- Inventory on Shelf + Work in Progress—
- 37
- Work In Process—
- A1
- Acceptable Unserviceable Quantity—
- GZ
- Active Listings—
- KM
- Active Line Items Delinquent—
- RJ
- Quantity Available on Shelf—
- TO
- Total—
- Y4
- Number of Active Accounts This Cycle—
REF Loop
OptionalMax >1
REF
3900
Detail > LIN Loop > QTY Loop > REF Loop > REF
Reference Information
RequiredMax use 1
—
Usage notes
—
Example
REF Loop end
QTY Loop end
LIN Loop end
Detail end
Summary
Summary end
EDI Samples
Sample
BIA*08*LC*333458792*20170323*195019~
N1*WH*001*54*1001~
LIN*00001*VN*081871111~
PID*F****Product 1 Description~
QTY*TO*12*EA~
QTY*RJ*7*EA~
QTY*20*5*EA~
QTY*KM*5*EA~
QTY*33*7*EA~
QTY*15*5*EA~
LS*REF~
REF*ACC*RT~
LE*REF~
LIN*00002*VN*081871122~
PID*F****Product 2 Description~
DTM*036*20170128~
REF*LT*CB22328~
QTY*TO*8*EA~
QTY*20*8*EA~
QTY*KM*8*EA~
QTY*15*6*EA~
LS*REF~
REF*ACC*DM~
LE*REF~
QTY*15*2*EA~
LS*REF~
REF*ACC*EX~
LE*REF~
LIN*00003*VN*081871133~
PID*F****Product 3 Description~
QTY*TO*8*EA~
QTY*GZ*3*EA~
QTY*20*5*EA~
QTY*KM*5*EA~
QTY*33*3*EA~
LS*REF~
REF*SE*410141501~
REF*SE*410141502~
REF*SE*410141503~
LE*REF~
QTY*15*2*EA~
LS*REF~
REF*ACC*DM~
REF*SE*410141505~
REF*SE*410141507~
LE*REF~
QTY*15*3*EA~
LS*REF~
REF*ACC*RT~
REF*SE*410141504~
REF*SE*410141506~
REF*SE*410141508~
LE*REF~
CTT*3~
N1*WH*001*54*1001~
LIN*00001*VN*081871111~
PID*F****Product 1 Description~
QTY*TO*12*EA~
QTY*RJ*7*EA~
QTY*20*5*EA~
QTY*KM*5*EA~
QTY*33*7*EA~
QTY*15*5*EA~
LS*REF~
REF*ACC*RT~
LE*REF~
LIN*00002*VN*081871122~
PID*F****Product 2 Description~
DTM*036*20170128~
REF*LT*CB22328~
QTY*TO*8*EA~
QTY*20*8*EA~
QTY*KM*8*EA~
QTY*15*6*EA~
LS*REF~
REF*ACC*DM~
LE*REF~
QTY*15*2*EA~
LS*REF~
REF*ACC*EX~
LE*REF~
LIN*00003*VN*081871133~
PID*F****Product 3 Description~
QTY*TO*8*EA~
QTY*GZ*3*EA~
QTY*20*5*EA~
QTY*KM*5*EA~
QTY*33*3*EA~
LS*REF~
REF*SE*410141501~
REF*SE*410141502~
REF*SE*410141503~
LE*REF~
QTY*15*2*EA~
LS*REF~
REF*ACC*DM~
REF*SE*410141505~
REF*SE*410141507~
LE*REF~
QTY*15*3*EA~
LS*REF~
REF*ACC*RT~
REF*SE*410141504~
REF*SE*410141506~
REF*SE*410141508~
LE*REF~
CTT*3~
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.