X12
Inbound

Warehouse Leader X12 940 Warehouse Shipping Order

Warehouse Leader
The EDI 940 (Warehouse Shipping Order) document is used by Warehouse Leader for electronic data interchange. It enables automated processing and compliance with Warehouse Leader's trading partner requirements.
61segments
10loops
8mandatory

Schema Reference

61 segments · X12 940 Warehouse Shipping Order

ISA ISA Interchange Control Header
Mandatory Max: 1
ISA01 Authorization Information Qualifier
M ID 2-2
ISA02 Authorization Information
M AN 10-10
ISA03 Security Information Qualifier
M ID 2-2
ISA04 Security Information
M AN 10-10
ISA05 Interchange ID Qualifier
M ID 2-2
ISA06 Interchange Sender ID
M AN 15-15
ISA07 Interchange ID Qualifier
M ID 2-2
ISA08 Interchange Receiver ID
M AN 15-15
ISA09 Interchange Date
M DT 6-6
ISA10 Interchange Time
M TM 4-4
ISA11 Interchange Control Standards Identifier
M ID 1-1
ISA12 Interchange Control Version Number
M ID 5-5
ISA13 Interchange Control Number
M N0 9-9
ISA14 Acknowledgment Requested
M ID 1-1
ISA15 Usage Indicator
M ID 1-1
GS GS Functional Group Header
Mandatory Max: 1
GS01 Functional Identifier Code
M ID 2-2
GS02 Application Sender's Code
M AN 2-15
GS03 Application Receiver's Code
M AN 2-15
GS04 Date
M DT 8-8
GS05 Time
M TM 4-8
GS06 Group Control Number
M N0 1-9
GS07 Responsible Agency Code
M ID 1-2
GS08 Version / Release / Industry Identifier Code
M AN 1-12
ST Transaction Set Header
Mandatory Max: 1
ST01 Transaction Set Identifier Code
M ID 3-3
ST02 Transaction Set Control Number
M AN 4-9
W05 Shipping Order Identification
Mandatory Max: 1
W0501 Order Status Code
M ID 1-1
W0502 Depositor Order Number
M AN 1-22
W0503 Purchase Order Number
O AN 1-22
W0504 Link Sequence Number
C N0 6-6
W0505 Master Reference (Link) Number
C AN 1-22
W0506 Transaction Type Code
O ID 2-2
W0507 Action Code
O ID 1-2
N1 Loop Repeat: 10
N1 Name
Optional Max: 1
N101 Entity Identifier Code
M ID 2-3
N102 Name
C AN 1-60
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
N105 Entity Relationship Code
O ID 2-2
N106 Entity Identifier Code
O ID 2-3
N2 Additional Name Information
Optional Max: 2
N201 Name
M AN 1-60
N202 Name
O AN 1-60
N3 Address Information
Optional Max: 2
N301 Address Information
M AN 1-55
N302 Address Information
O AN 1-55
N4 Geographic Location
Optional Max: 1
N401 City Name
O AN 2-30
N402 State or Province Code
O ID 2-2
N403 Postal Code
O ID 3-15
N404 Country Code
O ID 2-3
PER Administrative Communications Contact
Optional Max: 5
PER01 Contact Function Code
M ID 2-2
PER02 Name
O AN 1-60
PER03 Communication Number Qualifier
C ID 2-2
PER04 Communication Number
C AN 1-80
PER05 Communication Number Qualifier
C ID 2-2
PER06 Communication Number
C AN 1-80
PER07 Communication Number Qualifier
C ID 2-2
PER08 Communication Number
C AN 1-80
PER09 Contact Inquiry Reference
O AN 1-20
N9 Reference Identification
Optional Max: 10
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
N903 Free-form Description
C AN 1-45
N904 Date
O DT 8-8
N905 Time
C TM 4-8
N906 Time Code
O ID 2-2
G61 Contact
Optional Max: 3
G6101 Contact Function Code
M ID 2-2
G6102 Name
M AN 1-60
G6103 Communication Number Qualifier
C ID 2-2
G6104 Communication Number
C AN 1-80
G62 Date/Time
Optional Max: 10
G6201 Date Qualifier
C ID 2-2
G6202 Date
C DT 8-8
G6203 Time Qualifier
C ID 1-2
G6204 Time
C TM 4-8
G6205 Time Code
O ID 2-2
NTE Note/Special Instruction
NTE01 Note Reference Code
O ID 3-3
NTE02 Description
M AN 1-80
W09 Equipment and Temperature
Optional Max: 1
W0901 Equipment Description Code
M ID 2-2
W0902 Temperature
C R 1-4
W0903 Unit or Basis for Measurement Code
C ID 2-2
W0904 Temperature
C R 1-4
W0905 Unit or Basis for Measurement Code
C ID 2-2
W0906 Free Form Message
O AN 1-60
W0907 Vent Setting Code
O ID 1-1
W0908 Percent
O N0 1-3
W0909 Quantity
O R 1-15
W66 Warehouse Carrier Information
Optional Max: 1
W6601 Shipment Method of Payment
M ID 2-2
W6602 Transportation Method/Type Code
M ID 1-2
W6603 Pallet Exchange Code
O ID 1-1
W6604 Unit Load Option Code
O ID 2-2
W6605 Routing
O AN 1-35
W6606 F.O.B. Point Code
O ID 2-2
W6607 F.O.B. Point
O AN 1-30
W6608 COD Method of Payment Code
C ID 1-1
W6609 Amount
C N2 1-15
W6610 Standard Carrier Alpha Code
O ID 2-4
W6 Special Handling Information
Optional Max: 1
W601 Special Handling Code
M ID 2-3
W602 Special Handling Code
O ID 2-3
W603 Special Handling Code
O ID 2-3
W604 Special Handling Code
O ID 2-3
R2 Route Information
Optional Max: 13
R201 Standard Carrier Alpha Code
M ID 2-4
R202 Routing Sequence Code
M ID 1-2
R203 City Name
O AN 2-30
R204 Standard Point Location Code
O ID 6-9
R205 Intermodal Service Code
O ID 1-2
R206 Transportation Method/Type Code
O ID 1-2
R207 Intermediate Switch Carrier
C ID 2-4
R208 Intermediate Switch Carrier
O ID 2-4
R209 Invoice Number
O AN 1-22
R210 Date
O DT 8-8
R211 Free-form Description
O AN 1-45
R212 Type of Service Code
O ID 2-2
R213 Route Description
O AN 1-35
BNX Rail Shipment Information
Optional Max: 1
BNX01 Shipment Weight Code
O ID 1-1
BNX02 Referenced Pattern Identifier
O AN 1-13
BNX03 Billing Code
O ID 1-1
BNX04 Repetitive Pattern Number
O N0 5-5
LM Loop Repeat: 10
LM Code Source Information
Optional Max: 1
LM01 Agency Qualifier Code
M ID 2-2
LM02 Source Subqualifier
O AN 1-15
LQ Industry Code
Mandatory Max: 100
LQ01 Code List Qualifier Code
O ID 1-3
LQ02 Industry Code
C AN 1-30
LX Loop Repeat: 10
LX Assigned Number
Optional Max: 1
LX01 Assigned Number
M N0 1-6
MAN Marks and Numbers
MAN01 Marks and Numbers Qualifier
M ID 1-2
MAN02 Marks and Numbers
M AN 1-48
MAN03 Marks and Numbers
O AN 1-48
MAN04 Marks and Numbers Qualifier
C ID 1-2
MAN05 Marks and Numbers
C AN 1-48
MAN06 Marks and Numbers
O AN 1-48
N1 Name
Optional Max: 1
N101 Entity Identifier Code
M ID 2-3
N102 Name
C AN 1-60
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
N105 Entity Relationship Code
O ID 2-2
N106 Entity Identifier Code
O ID 2-3
G62 Date/Time
Optional Max: 10
G6201 Date Qualifier
C ID 2-2
G6202 Date
C DT 8-8
G6203 Time Qualifier
C ID 1-2
G6204 Time
C TM 4-8
G6205 Time Code
O ID 2-2
W01 Loop Repeat: 10
W01 Line Item Detail - Warehouse
Optional Max: 1
W0101 Quantity Ordered
M R 1-15
W0102 Unit or Basis for Measurement Code
M ID 2-2
W0103 U.P.C. Case Code
C AN 12-12
W0104 Product/Service ID Qualifier
C ID 2-2
W0105 Product/Service ID
C AN 1-48
W0106 Product/Service ID Qualifier
C ID 2-2
W0107 Product/Service ID
C AN 1-48
W0108 Freight Class Code
O AN 2-5
W0109 Rate Class Code
O ID 1-3
W0110 Commodity Code Qualifier
C ID 1-1
W0111 Commodity Code
C AN 1-30
W0112 Pallet Block and Tiers
O N0 6-6
W0113 Warehouse Lot Number
O AN 1-12
W0114 Product/Service Condition Code
O ID 2-2
W0115 Product/Service ID Qualifier
C ID 2-2
W0116 Product/Service ID
C AN 1-48
G69 Line Item Detail - Description
Optional Max: 5
G6901 Free-form Description
M AN 1-45
N9 Reference Identification
Optional Max: 10
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
N903 Free-form Description
C AN 1-45
N904 Date
O DT 8-8
N905 Time
C TM 4-8
N906 Time Code
O ID 2-2
NTE Note/Special Instruction
NTE01 Note Reference Code
O ID 3-3
NTE02 Description
M AN 1-80
W20 Line-Item Detail - Miscellaneous
Optional Max: 3
W2001 Pack
O N0 1-6
W2002 Size
C R 1-8
W2003 Unit or Basis for Measurement Code
C ID 2-2
W2004 Weight
C R 1-10
W2005 Weight Qualifier
C ID 1-2
W2006 Weight Unit Code
C ID 1-1
W2007 Unit Weight
O R 1-8
W2008 Volume
C R 1-8
W2009 Unit or Basis for Measurement Code
C ID 2-2
W2010 Color
O AN 1-10
QTY Quantity
Optional Max: 10
QTY01 Quantity Qualifier
M ID 2-2
QTY02 Quantity
C R 1-15
AMT Monetary Amount
Optional Max: 1
AMT01 Amount Qualifier Code
M ID 1-3
AMT02 Monetary Amount
M R 1-18
AMT03 Credit/Debit Flag Code
O ID 1-1
G62 Date/Time
Optional Max: 10
G6201 Date Qualifier
C ID 2-2
G6202 Date
C DT 8-8
G6203 Time Qualifier
C ID 1-2
G6204 Time
C TM 4-8
G6205 Time Code
O ID 2-2
G66 Transportation Instructions
Optional Max: 1
G6601 Shipment Method of Payment
O ID 2-2
G6602 Transportation Method/Type Code
O ID 1-2
G6603 Pallet Exchange Code
O ID 1-1
G6604 Unit Load Option Code
O ID 2-2
G6605 Routing
O AN 1-35
G6606 F.O.B. Point Code
O ID 2-2
G6607 F.O.B. Point
O AN 1-30
N1 Name
Optional Max: 1
N101 Entity Identifier Code
M ID 2-3
N102 Name
C AN 1-60
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
N105 Entity Relationship Code
O ID 2-2
N106 Entity Identifier Code
O ID 2-3
PER Administrative Communications Contact
Optional Max: 5
PER01 Contact Function Code
M ID 2-2
PER02 Name
O AN 1-60
PER03 Communication Number Qualifier
C ID 2-2
PER04 Communication Number
C AN 1-80
PER05 Communication Number Qualifier
C ID 2-2
PER06 Communication Number
C AN 1-80
PER07 Communication Number Qualifier
C ID 2-2
PER08 Communication Number
C AN 1-80
PER09 Contact Inquiry Reference
O AN 1-20
LH2 Hazardous Classification Information
Optional Max: 6
LH201 Hazardous Classification
O ID 1-30
LH202 Hazardous Class Qualifier
O ID 1-1
LH203 Hazardous Placard Notation
O ID 14-40
LH204 Hazardous Endorsement
O ID 4-25
LH205 Reportable Quantity Code
O ID 2-2
LH206 Unit or Basis for Measurement Code
C ID 2-2
LH207 Temperature
C R 1-4
LH208 Unit or Basis for Measurement Code
C ID 2-2
LH209 Temperature
C R 1-4
LH210 Unit or Basis for Measurement Code
C ID 2-2
LH211 Temperature
C R 1-4
LHR Hazardous Material Identifying Reference Numbers
Optional Max: 1
LHR01 Reference Identification Qualifier
M ID 2-3
LHR02 Reference Identification
M AN 1-30
LHR03 Date
O DT 8-8
LH6 Hazardous Certification
Optional Max: 5
LH601 Name
O AN 1-60
LH602 Hazardous Certification Code
C ID 1-1
LH603 Hazardous Certification Declaration
C AN 1-25
LH604 Hazardous Certification Declaration
O AN 1-25
LM Loop Repeat: 10
LM Code Source Information
Optional Max: 1
LM01 Agency Qualifier Code
M ID 2-2
LM02 Source Subqualifier
O AN 1-15
LQ Industry Code
Mandatory Max: 100
LQ01 Code List Qualifier Code
O ID 1-3
LQ02 Industry Code
C AN 1-30
LS Loop Repeat: 1
LS Loop Header
Optional Max: 1
LS01 Loop Identifier Code
M AN 1-6
LX Loop Repeat: 10
LX Assigned Number
Optional Max: 1
LX01 Assigned Number
M N0 1-6
N9 Reference Identification
Optional Max: 10
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
N903 Free-form Description
C AN 1-45
N904 Date
O DT 8-8
N905 Time
C TM 4-8
N906 Time Code
O ID 2-2
G62 Date/Time
Optional Max: 10
G6201 Date Qualifier
C ID 2-2
G6202 Date
C DT 8-8
G6203 Time Qualifier
C ID 1-2
G6204 Time
C TM 4-8
G6205 Time Code
O ID 2-2
N1 Name
Optional Max: 1
N101 Entity Identifier Code
M ID 2-3
N102 Name
C AN 1-60
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
N105 Entity Relationship Code
O ID 2-2
N106 Entity Identifier Code
O ID 2-3
LM Loop Repeat: 10
LM Code Source Information
Optional Max: 1
LM01 Agency Qualifier Code
M ID 2-2
LM02 Source Subqualifier
O AN 1-15
LQ Industry Code
Mandatory Max: 100
LQ01 Code List Qualifier Code
O ID 1-3
LQ02 Industry Code
C AN 1-30
LH1 Loop
LH1 Hazardous Identification Information
Optional Max: 1
LH101 Unit or Basis for Measurement Code
M ID 2-2
LH102 Lading Quantity
M N0 1-7
LH103 UN/NA Identification Code
O ID 6-6
LH104 Hazardous Materials Page
O AN 1-6
LH105 Commodity Code
O AN 1-30
LH106 Unit or Basis for Measurement Code
O ID 2-2
LH107 Quantity
O R 1-15
LH108 Compartment ID Code
O ID 1-1
LH109 Residue Indicator Code
O ID 1-1
LH110 Packing Group Code
O ID 1-3
LH111 Interim Hazardous Material Regulatory Number
O AN 1-5
LH2 Hazardous Classification Information
Optional Max: 6
LH201 Hazardous Classification
O ID 1-30
LH202 Hazardous Class Qualifier
O ID 1-1
LH203 Hazardous Placard Notation
O ID 14-40
LH204 Hazardous Endorsement
O ID 4-25
LH205 Reportable Quantity Code
O ID 2-2
LH206 Unit or Basis for Measurement Code
C ID 2-2
LH207 Temperature
C R 1-4
LH208 Unit or Basis for Measurement Code
C ID 2-2
LH209 Temperature
C R 1-4
LH210 Unit or Basis for Measurement Code
C ID 2-2
LH211 Temperature
C R 1-4
LH3 Hazardous Material Shipping Name
Optional Max: 10
LH301 Hazardous Material Shipping Name
C AN 1-25
LH302 Hazardous Material Shipping Name Qualifier
C ID 1-1
LH303 N.O.S. Indicator Code
O ID 3-3
LH304 Yes/No Condition or Response Code
O ID 1-1
LFH Freeform Hazardous Material Information
Optional Max: 20
LFH01 Hazardous Material Shipment Information Qualifier
M ID 3-3
LFH02 Hazardous Material Shipment Information
M AN 1-25
LFH03 Hazardous Material Shipment Information
O AN 1-25
LFH04 Hazard Zone Code
O ID 1-1
LFH05 Unit or Basis for Measurement Code
C ID 2-2
LFH06 Quantity
C R 1-15
LFH07 Quantity
O R 1-15
LEP EPA Required Data
Optional Max: 3
LEP01 EPA Waste Stream Number Code
O ID 4-6
LEP02 Waste Characteristics Code
O ID 12-16
LEP03 State or Province Code
C ID 2-2
LEP04 Reference Identification
C AN 1-30
LH4 Canadian Dangerous Requirements
Optional Max: 1
LH401 Emergency Response Plan Number
O AN 1-12
LH402 Communication Number
O AN 1-80
LH403 Packing Group Code
O ID 1-3
LH404 Subsidiary Classification
O ID 1-3
LH405 Subsidiary Classification
O ID 1-3
LH406 Subsidiary Classification
O ID 1-3
LH407 Subsidiary Risk Indicator
O ID 1-2
LH408 Net Explosive Quantity
C N0 1-6
LH409 Canadian Hazardous Notation
O AN 1-25
LH410 Special Commodity Indicator Code
O ID 1-1
LH411 Communication Number
O AN 1-80
LH412 Unit or Basis for Measurement Code
C ID 2-2
LHT Transborder Hazardous Requirements
Optional Max: 3
LHT01 Hazardous Classification
O ID 1-30
LHT02 Hazardous Placard Notation
O ID 14-40
LHT03 Hazardous Endorsement
O ID 4-25
LHR Hazardous Material Identifying Reference Numbers
Optional Max: 1
LHR01 Reference Identification Qualifier
M ID 2-3
LHR02 Reference Identification
M AN 1-30
LHR03 Date
O DT 8-8
PER Administrative Communications Contact
Optional Max: 5
PER01 Contact Function Code
M ID 2-2
PER02 Name
O AN 1-60
PER03 Communication Number Qualifier
C ID 2-2
PER04 Communication Number
C AN 1-80
PER05 Communication Number Qualifier
C ID 2-2
PER06 Communication Number
C AN 1-80
PER07 Communication Number Qualifier
C ID 2-2
PER08 Communication Number
C AN 1-80
PER09 Contact Inquiry Reference
O AN 1-20
LE Loop Trailer
Optional Max: 1
LE01 Loop Identifier Code
M AN 1-6
FA1 Loop
FA1 Type of Financial Accounting Data
Optional Max: 1
FA101 Agency Qualifier Code
M ID 2-2
FA102 Service, Promotion, Allowance, or Charge Code
O ID 4-4
FA103 Allowance or Charge Indicator
O ID 1-1
FA2 Accounting Data
FA201 Breakdown Structure Detail Code
M ID 2-2
FA202 Financial Information Code
M AN 1-80
W76 Total Shipping Order
Optional Max: 1
W7601 Quantity Ordered
M R 1-15
W7602 Weight
C R 1-10
W7603 Unit or Basis for Measurement Code
C ID 2-2
W7604 Volume
C R 1-8
W7605 Unit or Basis for Measurement Code
C ID 2-2
W7606 Order Sizing Factor
O R 1-10
SE Transaction Set Trailer
Mandatory Max: 1
SE01 Number of Included Segments
M N0 1-10
SE02 Transaction Set Control Number
M AN 4-9
How It Works

Automating Warehouse Leader EDI 940

Stacksync validates, transforms, and delivers your 940 transactions automatically — so your team can focus on operations, not EDI compliance.

Validate
Transform
Route
Monitor
Stacksync processes Warehouse Leader EDI 940 (Warehouse Shipping Order) documents automatically — syncing data to your system in real time with no manual intervention required.

Warehouse Leader EDI 940 FAQ

Common questions about 940 Warehouse Shipping Order transactions with Warehouse Leader.

What is a Warehouse Leader EDI 940 Warehouse Shipping Order?

The Warehouse Leader EDI 940 Warehouse Shipping Order is an X12 transaction set used to exchange Warehouse Shipping Order data electronically between trading partners. As a inbound document, it standardizes the communication of Warehouse Shipping Order information between Warehouse Leader and their suppliers, carriers, or partners. Stacksync processes Warehouse Leader 940 transactions automatically, parsing the X12 segments and mapping them to the corresponding records in your ERP, WMS, or database. This eliminates manual data entry, reduces errors, and ensures your systems stay in sync with Warehouse Leader's requirements in real time.

How does Stacksync automate Warehouse Leader EDI 940 Warehouse Shipping Order transactions?

Stacksync handles Warehouse Leader EDI 940 Warehouse Shipping Order transactions through an automated pipeline: receive the X12 document, validate the envelope and segment structure, map fields to your system's schema, and sync the data in real time. For inbound 940 transactions, Stacksync either generates the document from your system's data or processes incoming documents and routes them to the correct records. The platform includes built-in compliance validation so every Warehouse Leader 940 document meets their specific formatting requirements before transmission or after receipt.

What are common Warehouse Leader EDI 940 errors and how do I fix them?

Common errors in Warehouse Leader EDI 940 Warehouse Shipping Order transactions include missing mandatory segments, invalid qualifier codes, incorrect date or time formats, and data values exceeding maximum field lengths. Reference number mismatches between related documents (e.g., PO numbers that don't match) also cause rejections. Stacksync validates Warehouse Leader 940 documents against known requirements before transmission and after receipt, catching errors proactively. When issues occur, the platform provides human-readable error descriptions with the specific segment and element that failed, rather than raw X12 error codes.

How long does it take to set up Warehouse Leader EDI 940 with Stacksync?

Most Warehouse Leader EDI 940 Warehouse Shipping Order integrations with Stacksync go live within 3 to 5 business days. The setup involves authenticating your EDI connection (AS2, SFTP, or VAN), configuring field mappings between Warehouse Leader's 940 format and your system, running test transactions, and completing Warehouse Leader's certification process if required. Stacksync includes pre-built mappings for Warehouse Leader's most common 940 configurations, which accelerates the setup. Your team can monitor the integration from a single dashboard without managing EDI infrastructure directly.

Can I customize Warehouse Leader EDI 940 field mappings in Stacksync?

Yes. Stacksync provides a visual field mapping tool that lets you define exactly how Warehouse Leader EDI 940 segments and elements map to your system's fields. You can set data transformations (date format conversion, code translation tables), conditional routing rules, and default values for optional fields. The mappings are version-controlled, so changes can be reviewed and rolled back if needed. If Warehouse Leader updates their 940 specification, Stacksync highlights the affected mappings and suggests adjustments, ensuring your integration stays compliant without a full reconfiguration.

Ready to automate Warehouse Leader EDI?

a blue checkmark icon
POC from integration engineers
a blue checkmark icon
No-code EDI setup
a blue checkmark icon
Real-time compliance monitoring
a blue checkmark icon
White-glove onboarding