PRIMED Medical Products
/
[DRAFT FOR DISCUSSION/REVIEW] 940 Warehouse Shipping Order
  • Specification
  • EDI Inspector
PRIMED Medical Products logo

X12 940 [DRAFT FOR DISCUSSION/REVIEW] 940 Warehouse Shipping Order

X12 Release 5010Revised
Jul 17, 4:11 PM
PRIMED.com
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://portal.stedi.com/app/guides/view/primed-medical-products/draft-for-discussionreview-940-warehouse-shipping-order/01JYT9NJCG9D6RXJRW3PBG382S
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
0100
Transaction Set Header
Max use 1
Required
W05
0200
Shipping Order Identification
Max use 1
Required
0100 Loop Depositor
G62
1100
Date/Time
Max use 2
Required
NTE
1200
Note/Special Instruction
Max use 10
Optional
W66
1400
Warehouse Carrier Information
Max use 1
Optional
W6
1500
Special Handling Information
Max use 1
Optional
detail
0300 Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1
^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00501
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
OW
Warehouse Shipping Order (940)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
005010
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
940
Warehouse Shipping Order
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
W05
0200
Heading > W05

Shipping Order Identification

RequiredMax use 1
Example
W05-01
473
Order Status Code
Required
Identifier (ID)
N
Original
W05-02
285
Depositor Order Number
Required
String (AN)
Min 1Max 22
Usage notes
Example values
  • 80990001
  • 80099999
0100 Loop Depositor
RequiredMax 1
Variants (all may be used)
0100 Loop Warehouse0100 Loop Ship To
N1
0400
Heading > 0100 Loop Depositor > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
Usage notes
DE
Depositor
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
Usage notes
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
21
Health Industry Number (HIN)
93
Code assigned by the organization originating the transaction set
94
Code assigned by the organization that is the ultimate destination of the transaction set
UL
Global Location Number (GLN)
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
N3
0600
Heading > 0100 Loop Depositor > N3

Party Location

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
0700
Heading > 0100 Loop Depositor > N4

Geographic Location

OptionalMax use 1
Example
If United Nations Location Code (UN/LOCODE) (N4-06) is present, then UN/LOCODE Qualifier (N4-05) is required
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal or Zip Code
Required
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
N4-05
309
UN/LOCODE Qualifier
Optional
Identifier (ID)
UN
United Nations Location Code (UNLOCODE)
N4-06
310
United Nations Location Code (UN/LOCODE)
Optional
String (AN)
Min 5Max 5
PER
0800
Heading > 0100 Loop Depositor > PER

Administrative Communications Contact

OptionalMax use 1
Example
Required
Identifier (ID)
Max use 2
Usage notes
EB
Entered By
Optional
String (AN)
Min 1Max 60
Example values
  • FSMITH
  • TCHEN
  • APRINCE
0100 Loop Depositor end
0100 Loop Warehouse
RequiredMax 1
Variants (all may be used)
0100 Loop Depositor0100 Loop Ship To
N1
0400
Heading > 0100 Loop Warehouse > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
WH
Warehouse
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
Usage notes
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
21
Health Industry Number (HIN)
93
Code assigned by the organization originating the transaction set
94
Code assigned by the organization that is the ultimate destination of the transaction set
UL
Global Location Number (GLN)
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
N3
0600
Heading > 0100 Loop Warehouse > N3

Party Location

OptionalMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
0700
Heading > 0100 Loop Warehouse > N4

Geographic Location

OptionalMax use 1
Example
If United Nations Location Code (UN/LOCODE) (N4-06) is present, then UN/LOCODE Qualifier (N4-05) is required
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal or Zip Code
Required
Identifier (ID)
Min 3Max 15
Example values
  • L4T1B2
  • M1H2C3
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
N4-05
309
UN/LOCODE Qualifier
Optional
Identifier (ID)
UN
United Nations Location Code (UNLOCODE)
N4-06
310
United Nations Location Code (UN/LOCODE)
Optional
String (AN)
Min 5Max 5
0100 Loop Warehouse end
0100 Loop Ship To
RequiredMax 1
Variants (all may be used)
0100 Loop Depositor0100 Loop Warehouse
N1
0400
Heading > 0100 Loop Ship To > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
ST
Ship To
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
Usage notes
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
21
Health Industry Number (HIN)
93
Code assigned by the organization originating the transaction set
94
Code assigned by the organization that is the ultimate destination of the transaction set
UL
Global Location Number (GLN)
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
N3
0600
Heading > 0100 Loop Ship To > N3

Party Location

RequiredMax use 1
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
0700
Heading > 0100 Loop Ship To > N4

Geographic Location

RequiredMax use 1
Example
If United Nations Location Code (UN/LOCODE) (N4-06) is present, then UN/LOCODE Qualifier (N4-05) is required
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal or Zip Code
Required
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
N4-05
309
UN/LOCODE Qualifier
Optional
Identifier (ID)
UN
United Nations Location Code (UNLOCODE)
N4-06
310
United Nations Location Code (UN/LOCODE)
Optional
String (AN)
Min 5Max 5
PER
0800
Heading > 0100 Loop Ship To > PER

Administrative Communications Contact

OptionalMax use 1
Example
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-03) or Communication Number (PER-04) is present, then the other is required
At least one of Name (PER-02) or Communication Number (PER-04) is required
Required
Identifier (ID)
Max use 2
Usage notes
RE
Receiving Contact
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 32
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EX
Telephone Extension
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 8
0100 Loop Ship To end
G62
1100
Heading > G62

Date/Time

RequiredMax use 2
Usage notes
Example
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Required
Identifier (ID)
02
Delivery Requested on This Date
10
Requested Ship Date/Pickup Date
Required
Date (DT)
CCYYMMDD format
Example values
  • 2025-07-25
  • 2025-07-31
  • 2025-07-14
G62-03
176
Time Qualifier
Optional
Identifier (ID)
Y
Requested Pickup Time
Z
Requested Delivery Time
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
Example values
  • 13:30
  • 14:00
  • 09:00
NTE
1200
Heading > NTE

Note/Special Instruction

OptionalMax use 10
Usage notes
Example
NTE-01
363
Note Reference Code
Required
Identifier (ID)
Usage notes
BOL
Bill of Lading Note
SPH
Special Handling
WHI
Warehouse Instruction
NTE-02
352
Description
Required
String (AN)
Min 1Max 80
W66
1400
Heading > W66

Warehouse Carrier Information

OptionalMax use 1
Example
W66-01
146
Shipment Method of Payment
Optional
Identifier (ID)
CC
Collect
PP
Prepaid (by Seller)
PU
Pickup
TP
Third Party Pay
W66-02
91
Transportation Method/Type Code
Optional
Identifier (ID)
AF
Air Freight
M
Motor (Common Carrier)
O
Containerized Ocean
U
Private Parcel Service
W6
1500
Heading > W6

Special Handling Information

OptionalMax use 1
Usage notes
Example
W6-01
152
Special Handling Code
Required
Identifier (ID)
LBL
Apply a Uniform Code Council/International Article Numbering Association (UCC/EAN) Serial Shipping Container Label to the Shipping Containers
PBC
Pallet Label Bar Code
Example values
  • LBL
  • PBC
Heading end

Detail

0300 Loop
OptionalMax >1
LX
0050
Detail > 0300 Loop > LX

Transaction Set Line Number

RequiredMax use 1
Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6
0310 Loop
RequiredMax >1
W01
0200
Detail > 0300 Loop > 0310 Loop > W01

Line Item Detail - Warehouse

RequiredMax use 1
Example
If either Product/Service ID Qualifier (W01-15) or Product/Service ID (W01-16) is present, then the other is required
If either Product/Service ID Qualifier (W01-06) or Product/Service ID (W01-07) is present, then the other is required
At least one of U.P.C. Case Code (W01-03), Product/Service ID (W01-07) or Product/Service ID (W01-16) is required
W01-01
380
Quantity
Required
Decimal number (R)
Min 1Max 15
Usage notes
W01-02
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CA
Case
EA
Each
PK
Package
PL
Pallet/Unit Load
W01-03
438
U.P.C. Case Code
Optional
String (AN)
Min 12Max 12
Usage notes
W01-04
235
Product/Service ID Qualifier
Required
Identifier (ID)
VN
Vendor's (Seller's) Item Number
W01-05
234
Product/Service ID
Required
String (AN)
Min 6Max 18
Usage notes
W01-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
UK
GTIN 14-digit Data Structure
W01-07
234
Product/Service ID
Optional
String (AN)
Min 14Max 14
Usage notes
W01-15
235
Product/Service ID Qualifier
Optional
Identifier (ID)
F1
Catalog Number
W01-16
234
Product/Service ID
Optional
String (AN)
Min 1Max 18
Usage notes
G69
0300
Detail > 0300 Loop > 0310 Loop > G69

Line Item Detail - Description

RequiredMax use 5
Example
G69-01
369
Free-form Description
Required
String (AN)
Min 1Max 45
N9
0400
Detail > 0300 Loop > 0310 Loop > N9

Extended Reference Information

OptionalMax use 200
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
Optional
Date (DT)
CCYYMMDD format
Usage notes
Example values
  • 2025-04-30
  • 2024-12-07
N9-07
C040
Reference Identifier
OptionalMax use 1
To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier
If either Reference Identification Qualifier (C040-03) or Reference Identification (C040-04) is present, then the other is required
If either Reference Identification Qualifier (C040-01) or Reference Identification (C040-02) is present, then the other is required
C040-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
L9
Customer's Part Number
C040-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
C040-03
128
Reference Identification Qualifier
Optional
Identifier (ID)
CO
Customer Order Number
C040-04
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
Example values
  • 10000001
  • 10000999
  • 20000001
  • 20000999
W20
0500
Detail > 0300 Loop > 0310 Loop > W20

Line Item Detail - Packing

OptionalMax use 1
Example
If either Volume (W20-08) or Unit or Basis for Measurement Code (W20-09) is present, then the other is required
If either Weight (W20-04), Weight Qualifier (W20-05) or Weight Unit Code (W20-06) are present, then the others are required
W20-04
81
Weight
Optional
Decimal number (R)
Min 1Max 10
W20-05
187
Weight Qualifier
Optional
Identifier (ID)
G
Gross Weight
W20-06
188
Weight Unit Code
Optional
Identifier (ID)
Usage notes
G
Grams
K
Kilograms
W20-08
183
Volume
Optional
Decimal number (R)
Min 1Max 8
W20-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Usage notes
C8
Cubic Decimeter
CC
Cubic Centimeter
CR
Cubic Meter
0310 Loop end
0300 Loop end
Detail end

Summary

W76
0100
Summary > W76

Total Shipping Order

RequiredMax use 1
Example
If either Weight (W76-02) or Unit or Basis for Measurement Code (W76-03) is present, then the other is required
If either Volume (W76-04) or Unit or Basis for Measurement Code (W76-05) is present, then the other is required
W76-01
380
Quantity
Required
Decimal number (R)
Min 1Max 15
W76-02
81
Weight
Optional
Decimal number (R)
Min 1Max 10
W76-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Usage notes
GR
Gram
KG
Kilogram
W76-04
183
Volume
Optional
Decimal number (R)
Min 1Max 8
W76-05
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Usage notes
C8
Cubic Decimeter
CC
Cubic Centimeter
CR
Cubic Meter
SE
0200
Summary > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Summary end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

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.