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

X12 945 Warehouse Shipping Advice
—
Delimiters
- ~ Segment
- * Element
- > Component
EDI samples
- None included
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
detail
0300 Loop
LX
005
Assigned Number
Max use 1
Required
MAN
010
Marks and Numbers
Max use 1
PAL
015
Pallet Information
Max use 1
N9
017
Reference Identification
Max use 5
0310 Loop
W12
020
Warehouse Item Detail
Max use 1
Required
G69
030
Line Item Detail - Description
Max use 5
N9
040
Reference Identification
Max use 200
G62
050
Date/Time
Max use 10
MEA
057
Measurements
Max use 5
R4
070
Port or Terminal
Max use 5
W27
075
Carrier Detail
Max use 1
G72
085
Allowance or Charge
Max use 5
LS
105
Loop Header
Max use 1
Required
LE
165
Loop Trailer
Max use 1
Required
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
W06
020
Heading > W06
Warehouse Shipment Identification
RequiredMax use 1
—
Example
If either Master Reference (Link) Number (W06-07) or Link Sequence Number (W06-08) is present, then the other is required
—
- A
- Inventory Adjustment, Full Detail
- B
- Book Transfer of Inventory, Full Detail
- C
- Customer Return - Full Detail
- F
- Full Detail
- J
- Original Transaction
- K
- Simulation Exercise
- N
- No Exceptions
- O
- Physical Inventory Overage, Full Detail
- P
- Production Receipt, Full Detail
- R
- Replacement and Charge
- S
- Physical Inventory Shortage, Full Detail
- X
- Exceptions Only
- Y
- Automated Manifest System (AMS) Master-In-Bond Participant
0100 Loop
RequiredMax >1
N1
040
Heading > 0100 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
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
—
- BT
- Bill-to-Party
- ST
- Ship To
- VN
- Vendor
- WH
- Warehouse
- Z7
- Mark-for Party
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
N4
070
Heading > 0100 Loop > N4
Geographic Location
Max use 1
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
PER
080
Heading > 0100 Loop > PER
Administrative Communications Contact
Max use 5
—
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
—
- BD
- Buyer Name or Department
- IC
- Information Contact
- OC
- Order Contact
0100 Loop end
N9
090
Heading > N9
Reference Identification
Max use 10
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
If Time Code (N9-06) is present, then Time (N9-05) is required
—
- 2I
- Tracking Number
- 19
- Division Identifier
- 23
- Client Number
- BM
- Bill of Lading Number
- CN
- Carrier's Reference Number (PRO/Invoice)
- CO
- Customer Order Number
- DP
- Department Number
- IA
- Internal Vendor Number
- PK
- Packing List Number
- SL
- Sales/Territory Code
G61
100
Heading > G61
Contact
Max use 3
—
Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
—
- BD
- Buyer Name or Department
- IC
- Information Contact
- OC
- Order Contact
G62
110
Heading > G62
Date/Time
Max use 5
—
Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
W27
130
Heading > W27
Carrier Detail
Max use 1
—
Example
At least one of Standard Carrier Alpha Code (W27-02) or Routing (W27-03) is required
—
- A
- Air
- H
- Customer Pickup
- M
- Motor (Common Carrier)
- P
- Private Carrier
- T
- Best Way (Shippers Option)
G72
155
Heading > G72
Allowance or Charge
Max use 5
—
Example
If either Allowance or Charge Quantity (G72-06) or Unit or Basis for Measurement Code (G72-07) is present, then the other is required
Only one of Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent (G72-09) may be present
If either Percent (G72-09) or Dollar Basis For Percent (G72-10) is present, then the other is required
At least one of Allowance or Charge Number (G72-03), Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent (G72-09) is required
If Option Number (G72-11) is present, then Allowance or Charge Number (G72-03) is required
—
- 02
- Off Invoice
- 06
- Charge to be Paid by Customer
Heading end
Detail
0300 Loop
Max >1
MAN
010
Detail > 0300 Loop > MAN
Marks and Numbers
Max use >1
—
Example
If either Marks and Numbers Qualifier (MAN-04) or Marks and Numbers (MAN-05) is present, then the other is required
If Marks and Numbers (MAN-06) is present, then Marks and Numbers (MAN-05) is required
—
- CA
- Shipper-Assigned Case Number
- CP
- Carrier-Assigned Package ID Number
- GM
- SSCC-18 and Application Identifier
- SI
- Self-Identifying Container via Radio Frequency ID Device
- UC
- U.P.C. Shipping Container Code
—
- CA
- Shipper-Assigned Case Number
- CP
- Carrier-Assigned Package ID Number
- GM
- SSCC-18 and Application Identifier
- SI
- Self-Identifying Container via Radio Frequency ID Device
- UC
- U.P.C. Shipping Container Code
PAL
015
Detail > 0300 Loop > PAL
Pallet Information
Max use 1
—
Example
If either Unit Weight (PAL-05) or Unit or Basis for Measurement Code (PAL-06) is present, then the other is required
If either Gross Weight per Pack (PAL-11) or Unit or Basis for Measurement Code (PAL-12) is present, then the other is required
If either Gross Volume per Pack (PAL-13) or Unit or Basis for Measurement Code (PAL-14) is present, then the other is required
If Unit or Basis for Measurement Code (PAL-10) is present, then at least one of Length (PAL-07), Width (PAL-08) or Height (PAL-09) is required
If Length (PAL-07) is present, then Unit or Basis for Measurement Code (PAL-10) is required
If Width (PAL-08) is present, then Unit or Basis for Measurement Code (PAL-10) is required
If Height (PAL-09) is present, then Unit or Basis for Measurement Code (PAL-10) is required
N9
017
Detail > 0300 Loop > N9
Reference Identification
Max use 5
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
If Time Code (N9-06) is present, then Time (N9-05) is required
—
- 2I
- Tracking Number
- AO
- Appointment Number
- BM
- Bill of Lading Number
- CN
- Carrier's Reference Number (PRO/Invoice)
- GK
- Third Party Reference Number
- LT
- Lot Number
- SE
- Serial Number
- SL
- Sales/Territory Code
- YD
- Buyer Identification
0310 Loop
Max >1
W12
020
Detail > 0300 Loop > 0310 Loop > W12
Warehouse Item Detail
RequiredMax use 1
—
Example
If either Product/Service ID Qualifier (W12-07) or Product/Service ID (W12-08) is present, then the other is required
At least one of U.P.C. Case Code (W12-06) or Product/Service ID Qualifier (W12-07) is required
If either Product/Service ID Qualifier (W12-17) or Product/Service ID (W12-18) is present, then the other is required
If either Product/Service ID Qualifier (W12-21) or Product/Service ID (W12-22) is present, then the other is required
If either Weight (W12-13), Weight Qualifier (W12-14) or Weight Unit Code (W12-15) are present, then the others are required
If either Weight (W12-10), Weight Qualifier (W12-11) or Weight Unit Code (W12-12) are present, then the others are required
—
- BP
- Buyer's Part Number
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- MG
- Manufacturer's Part Number
- SK
- Stock Keeping Unit (SKU)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- VN
- Vendor's (Seller's) Item Number
—
- BP
- Buyer's Part Number
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- MG
- Manufacturer's Part Number
- SK
- Stock Keeping Unit (SKU)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- VN
- Vendor's (Seller's) Item Number
—
- BP
- Buyer's Part Number
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- MG
- Manufacturer's Part Number
- SK
- Stock Keeping Unit (SKU)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- VN
- Vendor's (Seller's) Item Number
N9
040
Detail > 0300 Loop > 0310 Loop > N9
Reference Identification
Max use 200
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
If Time Code (N9-06) is present, then Time (N9-05) is required
—
- 19
- Division Identifier
- BT
- Batch Number
- DP
- Department Number
- LT
- Lot Number
- SE
- Serial Number
- YD
- Buyer Identification
G62
050
Detail > 0300 Loop > 0310 Loop > G62
Date/Time
Max use 10
—
Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
MEA
057
Detail > 0300 Loop > 0310 Loop > MEA
Measurements
Max use 5
—
Example
If Range Minimum (MEA-05) is present, then Composite Unit of Measure (MEA-04) is required
If Range Maximum (MEA-06) is present, then Composite Unit of Measure (MEA-04) is required
If Measurement Significance Code (MEA-07) is present, then at least one of Measurement Value (MEA-03), Range Minimum (MEA-05) or Range Maximum (MEA-06) is required
Only one of Measurement Value (MEA-03) or Measurement Attribute Code (MEA-08) may be present
At least one of Measurement Value (MEA-03), Range Minimum (MEA-05), Range Maximum (MEA-06) or Measurement Attribute Code (MEA-08) is required
Max use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
R4
070
Detail > 0300 Loop > 0310 Loop > R4
Port or Terminal
Max use 5
—
Example
If either Location Qualifier (R4-02) or Location Identifier (R4-03) is present, then the other is required
W27
075
Detail > 0300 Loop > 0310 Loop > W27
Carrier Detail
Max use 1
—
Example
At least one of Standard Carrier Alpha Code (W27-02) or Routing (W27-03) is required
—
- C
- Consolidation
- H
- Customer Pickup
- M
- Motor (Common Carrier)
- P
- Private Carrier
- T
- Best Way (Shippers Option)
G72
085
Detail > 0300 Loop > 0310 Loop > G72
Allowance or Charge
Max use 5
—
Example
If either Allowance or Charge Quantity (G72-06) or Unit or Basis for Measurement Code (G72-07) is present, then the other is required
Only one of Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent (G72-09) may be present
If either Percent (G72-09) or Dollar Basis For Percent (G72-10) is present, then the other is required
At least one of Allowance or Charge Number (G72-03), Allowance or Charge Rate (G72-05), Allowance or Charge Total Amount (G72-08) or Percent (G72-09) is required
If Option Number (G72-11) is present, then Allowance or Charge Number (G72-03) is required
—
- 02
- Off Invoice
- 06
- Charge to be Paid by Customer
0312 Loop
RequiredMax >1
N9
120
Detail > 0300 Loop > 0310 Loop > 0312 Loop > N9
Reference Identification
Max use >1
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
If Time Code (N9-06) is present, then Time (N9-05) is required
G62
130
Detail > 0300 Loop > 0310 Loop > 0312 Loop > G62
Date/Time
Max use 10
—
Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
N1
140
Detail > 0300 Loop > 0310 Loop > 0312 Loop > N1
Name
Max use 1
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
0312 Loop end
0310 Loop end
0300 Loop end
Detail end
Summary
W03
010
Summary > W03
Total Shipment Information
Max use 1
—
Example
If Weight (W03-02) is present, then Unit or Basis for Measurement Code (W03-03) is required
If either Lading Quantity (W03-06) or Unit or Basis for Measurement Code (W03-07) is present, then the other is required
If either Volume (W03-04) or Unit or Basis for Measurement Code (W03-05) is present, then the other is required
Summary end
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.