Skip to main content
Home
  • AI Mode
  • Supply Chain Orchestration
    fast
    Supply Chain Orchestration
    • Life Sciences Company
    • Direct Material Supplier
    • Contract Manufacturer
    • Third Party Logistics
    • Wholesale Distributor
    • Healthcare Provider
    • Retail Pharmacy
  • Network
  • Products
    fast
    Products
    • Multienterprise Information Network Tower (MINT)
    • Process Orchestration for Empowered Teams (POET)
    • Track-and-Trace
  • Resources
    fast
    Resources
    • Resource Center
    • TraceLink University
    • Partners
    • Community
    • Events
    • Customers
  • About
    fast
    About
    • Our Story
    • Newsroom
    • Culture and Careers
    • Leadership
    • Our Values
    • Corporate Social Responsibility
    • Contact Sales
  • Log In
    • Tracelink Classic
      TraceLink Classic app.tracelink.com
      Redirect
    • Opus Platform
      Opus Platform opus.tracelink.com
      Redirect
Log In
  • Tracelink Classic
    TraceLink Classic app.tracelink.com
    Redirect
  • Opus Platform
    Opus Platform opus.tracelink.com
    Redirect
Tracelink University

Breadcrumb

  1. Home
  2. Resources
  3. TraceLink University

Warehouse Shipping Advice (X12)

  • Download PDF
  • Share
    • LinkedIn
    • Facebook
    • Mail
    • Twitter

Table of contents

A Warehouse Shipping Advice is a message sent by a warehouse to notify a trading partner that goods have been shipped and to provide details about the shipment. A Warehouse Shipping Advice communicates information about a shipment leaving a warehouse, including the items shipped, quantities, shipment identifiers, and destination details.

Supplier's remote warehouses or third-party warehouse Partners use warehouse shipping advices to communicate to the supplier that they have shipped the purchased products to the buyer’s location.

Contact your TraceLink Services representative for more information about integrating with this message.

  • Message Type: MPC_WAREHOUSE_SHIP_ADVICE (Warehouse Shipping Advice)
  • X12 Format: 945
  • Transform Names:
    • B2B_EDI_X12_945_WHS_ShipAdvice_IB_V5
    • B2B_EDI_X12_945_WHS_ShipAdvice_OB_V2
ClosedGuidelines
Input Element Occurs Length Description Example
ISA [1…1]
– Required.ISA interchange envelope. –
  ISA01 [1…1]
2/2

Required.Qualifier for authorization control number in ISA02.

Valid values:

  • 00 - No authorization info present.
  • 03 - Additional data identification.
00
  ISA02 [1…1]
10/10 Required.Information used for additional identification or authorization of the interchange sender or the data in the interchange/ 10 spaces a valid entry. –
  ISA03 [1…1]
2/2

Required.Qualifier for security information in ISA04.

Valid values:

  • 00 - No security information present.
  • 01 - Password.
00
  ISA04 [1…1]
10/10 Required.Identifies security information about the interchange sender or data. –
  ISA05 [1…1]
2/2

Required.Interchange sender partner ID qualifier.

07
  ISA06 [1…1]
15/15 Required.EDI sender ID mapping to file control header and to ServiceLinkId (see row 23). 7777776067344
  ISA07 [1…1]
2/2

Required.Interchange receiver partner ID qualifier.

01
  ISA08 [1…1]
15/15 Required.EDI receiver ID mapping to file control header. 888888404358877
  ISA09 [1…1]
6/6 Required.Interchange date in 6 char YYMMDD format. 231020
  ISA10 [1…1]
4/4 Required.Interchange time in 4 char HHMM format. 1420
  ISA11 [1…1]
1/1 Required.Repetition separator. Delimiter that separates repeated occurrences of a data element or composite data structure. Must be different than the data element separator, component separator, and segment terminator. U
  ISA12 [1…1]
5/5 Required.Interchange control version number. Valid value is 00501. 00501
  ISA13 [1…1]
9/9 Required.Interchange Control Number for file control header. 0000000000619827
  ISA14 [1…1]
1/1

Required.Interchange level acknowledgment requested.

Valid values:

  • 0 - No acknowledgment requested.
  • 1 - Interchange level acknowledgment requested.
0
  ISA15 [1…1]
1/1

Required.Indicates whether the interchange is for production, test, or information purposes.

Valid values:

  • I - Information.
  • P - Production data.
  • T - Test data.
P
  ISA16 [1…1]
1/1 Required.Component element separator. Delimiter that separates data elements within a composite data structure. Must be different than the data element separator and segment terminator. >
GS [1…*]
– GS group functional envelope. Child of ISA. Only one GS group expected per interchange. –
  GS01 [1…1]
2/2 Required.GS group function code. Valid value is SW - Ship Advice. SW
  GS02 [1…1]
2/15 Required.Application sender's code. 2222224043588
  GS03 [1…1]
2/15 Required.Application receiver's code. TRACELINK
  GS04 [1…1]
8/8 Required.Current date stamp in 8 char X12 date format YYYYMMDD. 20301020
  GS05 [1…1]
4/8 Required.Current time stamp in 6 char X12 time format HHMMSS. 142000
  GS06 [1…1]
1/9 Required.Group control ID number. 619827
  GS07 [1…1]
1/2

Required.Responsible agency code.

Valid values:

T – Transportation data coordinating committee (TDCC) .

X – Accredited standards committee X12.

X
  GS08 [1…1]
1/12 Required.X12 message version code. 005010
ST [1…*]
– ST transaction set envelope. Child of GS group. Only one ST transaction expected. –
  ST01 [1…1]
3/3 Required.Transaction set identifier code. 850
  ST02 [1…1]
4/9 Required.Transaction set ID number. Counter for each ST segment beginning with 1. 0001
  W06 [1…1]
– Required.Warehouse shipment identification. Child of ST transaction set. –
    W0601 [1…1]
1/1

Required.Reporting code specifying the basis used when reporting shipment information.

ClosedValid values:
  • A – Inventory adjustment with full details
  • B – Book transfer of inventory with full details
  • C – Customer return with full details
  • F – Full details in message
  • J – Original transaction
  • K – Simulation exercise
  • N – No exceptions
  • O – Physical inventory overage with full detail
  • P – Production receipt with full detail
  • S – Physical inventory shortage with full detail
  • X – Only exceptions included
  • Y – Automated manifest system master-in-bond participant
N
    W0602 [0…1]
1/22 Depositor order number. –
    W0603 [0…1]
8/8 Date in YYYYMMDD format. 20230916
    W0604 [0…1]
1/30 Shipment identification number assigned by the shipper. 2114
    W0606 [0…1]
1/22 Purchase order number. 4500003288
  N1 [0…1]
–

Name segment loop for:

  • Ship to party
  • Buyer party … sold to
  • Bill to party
  • Supplier party
  • Ship from party
  • Carrier party
–
    N101 [1…1]
2/3

Entity identifier code for party identifier and address information for:

  • Ship to party.
  • Sold to party
  • Bill to party
  • Supplier party
  • Ship from party
  • Carrier party

Valid value:

  • ST – Ship to party
  • BY – Buyer
  • BT – Bill to party
  • SU – Supplier
  • SF – Ship from party
  • CA – Carrier
ST
    N102 [1…1]
1/60 Name. Wholesale Inc
    N103 [1…1]
1/2

Identifier code qualifier.

Valid values:

  • 01 – DUNS
  • 09 – DUNS+4
  • 11 – Drug Enforcement Agency registration number
  • 21 – Health Industry Number
  • 91 – Company identifier
  • 92 – Company location identifier
  • UL – Global Location Number
11
    N104 [1…1]
2/80 Ship to party identifier, as qualified by N103. 3333331013655
    N3 [0…1]
– N3: Address. Child of Ship to N1 Name segment. –
      N301 [1…1]
1/55 Street address 1. 555 Neelan Road
      N302 [0…1]
1/55 Street address 2. Suite 123
    N4 [0…1]
– N4: Geographic Location. Child of ship to N1 name segment. –
      N401 [1…1]
2/30 City name. Sacramento
      N402 [1…1]
2/2 State or province code. Code (Standard state/province) as defined by appropriate government agency. CA
      N403 [1…1]
3/15 Postal code. Code defining international postal zone code excluding punctuation and blanks (zip code for United States). 95833
      N404 [1…1]
2/3 Country code. US
      N405 [0…1]
1/2 Placeholder for future use of SGLN. –
      N406 [0…1]
1/30 Origin or destination shipping location ID. SGLN number. –
  LX [0…*]
– Transaction set line number loop. –
    LX01 [1…1]
1/6 Transaction set line number. 1
    N9 [1…1]
– Extended reference information. –
      N901 [1…1]
2/3

Reference identification qualifier.

Valid values:

  • 2I – Tracking Number
  • PO – Purchase Order
  • VN – Supplier Order
PO
      N902 [0…1]
1/50 Reference identification. K018293-00010
      N903 [0…1]
1/45 Free form description. TEST ITEM1
      N904 [0…1]
8/8 Date in YYYYMMDD format. 20231001
      N905 [0…1]
4/8 Time in HH:MM:SS format. –
    W12 [0…*]
– Warehouse item detail loop. –
      W1201 [1…1]
2/2 Shipment or order status code. A
      W1202 [0…1]
0/15 Quantity ordered This is the total quantity in the ordered. 400
      W1203 [0…1]
1/10 Number of units shipped. This is the total quantity delivered. 395
      W1204 [0…1]
1/9 Quantity difference. This records the difference between the delivery or shipment quantity and the quantity actually shipped. 5
      W1205 [0…1]
2/2

Unit or basis for measurement code.

Closed.Valid values
  • 02 – Statute Mile
  • 4G – Microliter
  • AM – Ampoule
  • AV – Capsule
  • BD – Bundle
  • BG – Bag
  • BO – Bottle
  • BX – Box
  • C3 – Centiliter
  • CA – Case
  • CC – Cubic Centimeter
  • CF – Cubic Feet
  • CG – Card, Blister
  • CI – Cubic Inches
  • CL – Cylinder
  • CM – Centimeter
  • CN – Can
  • CP – Crate
  • CQ – Cartridge
  • CR – Cubic Meters
  • CT – Carton
  • DA – Day
  • DI – Dispenser
  • DK – Kilometers
  • DL – Deciliter
  • DM – Decimeter
  • DR – Drum
  • DS – Display
  • DZ – Dozen
  • EA – Each
  • FO – Fluid Ounce
  • FT – Foot
  • GA – Gallon
  • GL – Gram/liter
  • GR – Gram
  • GS – Gross
  • H4 – Hectoliter
  • HF – Hundred Feet
  • HR – Hours
  • IN – Inch
  • K6 – Kiloliters
  • KG – Kilogram
  • KT – Kit
  • LB – Pounds
  • LF – Linear Foot
  • LO – Lot (unit of procurement)
  • LT – Liter
  • LY – Linear Yard
  • MC – Microgram
  • ME – Milligram
  • ML – Milliliter
  • MM – Millimeter
  • MO – Months
  • MR – Meter
  • OZ – Ounces
  • PC – Piece
  • PF – Pallet
  • PK – Package
  • PR – Pair
  • PT – Pint
  • QT – Quart
  • RL – Roll
  • SC – Square Centimeter
  • SF – Square Foot
  • SH – Sheet
  • SI – Square Inch
  • SM – Square Meter
  • ST – Set
  • SY – Square Yard
  • T3 – Thousand Pieces
  • TB – Tube
  • TH – Thousand
  • TY – Tray
  • U2 – Tablet
  • UM – Million
  • UN – Unit
  • V2 – Pouch
  • VI – Vial
  • WK – Week
  • YD – Yard
  • YR – Years
CA
      W1206 [0…1]
12/12 U.P.C. Case code. 02
      W1207 [0…1]
2/2

Product or service ID qualifier.

ClosedValid values:
  • AV – Manufacturer/Supplier's catalog number
  • BP – Buyer's product number
  • FV – Canada product number
  • IN – Customer's(Buyer's) product item number
  • N1 – US National-Drug-Code-NDC442-with-hyphen-separators
  • N2 – US National-Drug-Code-NDC532-with-hyphen-separators
  • N3 – US National-Drug-Code-NDC541-with-hyphen-separators
  • N4 – US-National-Drug-Code-NDC542-with-hyphen-separators
  • MF – Manufacturer's product identefier
  • PI – Customer's (Purchaser's) material number
  • SK – Stock keeping unit
  • UK – GTIN14 identifier
  • UP or VC – Universal product number (UPC)
  • VN – Vendor (Supplier) material Number.
IN
      W1208 [0…1]
1/48 Product or service ID. 100021
      W1209 [0…1]
1/12 Warehouse lot number. 82943
      W1210 [0…1]
1/10 Weight. 20000
      W1211 [0…1]
1/2

Weight Qualifier.

Value values:

  • A3 – Shippers weight
  • G – Gross weight
A3
      W1212 [0…1]
1/1

Weight Unit Code.

Valid values:

  • G – Gram
  • K – Kilogram
  • L – Pounds
  • O – Ounces

Not Supported:

  • E – Metric Ton
  • M – Measurement Ton
  • S – Short Ton
  • T – Long Ton
L
    W03 [0…1]
– Total shipment information (Warehouse) –
      W301 [0…0]
1/10 Number of units shipped. N
      W302 [0…0]
1/10 Weight. N
      W303 [0…0]
2/2

Unit or basis for measurement code.

Valid values:

  • 01 – Actual pounds
  • 50 – Actual kilograms
N
  CTT [0…1]
– CTT-Transaction Totals. –
    CTT01 [1…1]
1/6 Total number of line items in the transaction set. 15
SE [1…1]
– ST … SE transaction set trailer envelope. Child of GS group. Only one ST transaction expected. –
  SE01 [1…1]
1/10 Total count of segments in ST … SE transaction set including ST and SE segments. 10
  SE02 [1…1]
4/9 Transaction set control number. 0001
GE [1…1]
– GS … GE functional group trailer envelope. Child of ISA interchange. Only one GS group expected. –
  GE01 [1…1]
1/6 Number of transaction sets in functional group. 5
  GE02 [1…1]
1/9 Functional group control number. 619827
IEA [1…1]
– ISA … IEA interchange control trailer envelope. Only one interchange expected per transmission. –
  IEA01 [1…1]
1/5 Number of functional groups in interchange. 1
  IEA02 [1…1]
9/9 Interchange control number. 0000000000619827
ClosedExample
ISA*00*          *00*          *01*FROM           *ZZ*TO             *071214*1406*U*00204*810000263*0*T*>
GS*SW*5139907700*2038334001*20021104*14051234*31*X*005010
ST*945*000310001
W06*N**20020916*2114**PO-2394750
N1*ST*SHIP TO PARTY (WE/SH)*92*0004000050
N3*Central 101*Local, WST-190. E
N4*Stein*GL*4AA332*CH
N1*BY*Wholesale Inc*9*0001000285
N3*7956 VICTORY*Suite 2
N4*BASEL*GL*4002*CH
N1*BT*Wholesale Inc*11*3333331013655
N3*555 Neelan Road*Suite 123
N4*Sacramento*CA*95833*US
N1*SU*SUPPLIER/VENDOR (LF/SU)*91*0001000286
N3*Stella Maris*Condado Ave 14
N4*San Juan*PR*00902*US
N1*SF*SUPPLIER/VENDOR (LF/SU)*91*0001000288
N3*Stella Maris*Warehouse 14A
N4*San Juan*PR*00902*US
N1*CA*CARRIER PARTY (SP)*91*00045455656
N3*Stree 1
N4*City*TK*3454676*JP
N1*CA*2 CARRIER PARTY (SP)*91*22200090056
N3*Stree 10
N4*2 City*MH*22000*MX
LX*1
N9*2I*K018293*TEST ITEM1*20230205
W12*CL*110*120*15*EA*UPC*AV*SUPPLIER-339408*LT-19284*6600*A3*L
W03*920*46600*01
SE*17*000310001
GE*1*31
IEA*1*000000031
Review TraceLink's API: Terms of Use

Table of contents

Related Content
Related content
Forecast plan (IDoc)
Forecasting APIs allow companies to exchange data about anticipated product demand and supply availability with upstream supply chain Partners without giving these Partners access to their serialization system of record.
View More
Related content
Forecast plan (X12)
Forecasting APIs allow companies to exchange data about anticipated product demand and supply availability with upstream supply chain Partners without giving these Partners access to their serialization system of record.
View More
Related content
Forecast plan response (IDoc)
Forecasting APIs allow companies to exchange data about anticipated product demand and supply availability with downstream supply chain Partners without giving these Partners access to their serialization system of record.
View More

Cookie Settings

When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies or similar tracking technologies. Please see below for an overview of the categories of cookies and similar technologies used on this site. You can allow or deny some of all of them, except Strictly Necessary Cookies which are required to provide the site to you. However, blocking some types of cookies may impact your experience of the site and services we are able to offer.

Please see our Cookie Policy for more details, including a list of the cookies we use. You can change your consent options at any time by following the “Cookie Settings” link in the Cookie Policy.
'Strictly Necessary' cookies let you move around the Site and use essential features like secure areas, shopping baskets and online billing. Without these cookies you would not be able to navigate between pages or use certain vital features of our Site, so we do not require your consent for their use. These cookies don't gather any information about you that could be used for marketing or remembering where you've been on the internet. For example, we use these Strictly Necessary cookies to identify you as being logged in to the Site. You can set your browser to block or alert you about these cookies, but if you do so, some parts of the Site will not work.
'Performance' cookies collect information about how you use the Site, such as which pages you visit, the time spent on the Site and if you experience any errors. We use performance cookies to provide aggregated statistics on how the Site is used and help us improve the Site including by measuring any errors that occur.
'Functional' cookies are used to provide services or to remember settings to improve your visit. We use 'Functionality' cookies to remember your settings and choices and show you when you're logged in to the Site.
‘Targeting' cookies are linked to services provided by third parties, such as 'Like' buttons and 'Share' buttons. The third party provides these services in return for recognizing that you have visited the Site. We also use 'Targeting' cookies to gather information that could be used to display content that we think may interest you.

Footer

  • Quick Links
    Get a Demo
    TraceLink Network Directory
    The Network
    OPUS Platform
    Technical Support
    Open Jobs
    API: Terms of Use
  • Products
    Multienterprise Information Network Tower
    U.S. DSCSA Compliance
    Targeted Recalls
    Process Orchestration for Empowered Teams
    Serialization
    Global Compliance
  • Resources
    Resource Center
    Events
    TraceLink University
    Partners
    Community
  • About TraceLink
    Our Story
    Newsroom
    Culture & Careers
    Leadership
    Our Values
    Corporate Social Responsibility
  • Hot Topics
    Transaction Integration
    Supply Chain Visibility
    DSCSA Compliance
    Process Orchestration
    Kazakhstan Compliance for Pharmaceuticals
    Kyrgyzstan Compliance for Pharmaceuticals
Follow Us on Social
Facebook
Linkedin
X
Legal & Trust.
© TraceLink Inc. 2009-2026 All Rights Reserved
Contact Us Today
Contact us today to begin your journey toward agentic supply chain orchestration — digitalize your end-to-end supply chain with intelligence, flexibility, and collaborative orchestration.
Contact Us
Stay Up-to-Date
Subscribe to receive industry insights and stay at the forefront of evolving trends.
Subscribe