Brian's first account
/
Warehouse Shipping Advice V2
  • Specification
  • EDI Inspector
Brian's first account

X12 945 Warehouse Shipping Advice V2

X12 Release 4010Revised
May 24, 2024, 2:24 PM
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://portal.stedi.com/app/guides/view/brians-first-account/warehouse-shipping-advice-v2/01GNGZK85TBR0SAPWX5GYTQPDS
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
010
Transaction Set Header
Max use 1
Required
W06
020
Warehouse Shipment Identification
Max use 1
Required
0100 Loop
N9
090
Reference Identification
Max use 10
Optional
G61
100
Contact
Max use 3
Optional
G62
110
Date/Time
Max use 5
Optional
NTE
120
Note/Special Instruction
Max use 20
Optional
W27
130
Carrier Detail
Max use 1
Optional
W6
135
Special Handling Information
Max use 1
Optional
W28
140
Consolidation Information
Max use 1
Optional
W10
150
Warehouse Additional Carrier Information
Max use 10
Optional
G72
155
Allowance or Charge
Max use 5
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
I10
Interchange Control Standards Identifier
Required
Identifier (ID)
U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
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 Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
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)
SW
Warehouse Shipping Advice (945)
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)
004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
945
Warehouse Shipping Advice
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
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
W06-01
514
Reporting Code
Required
Identifier (ID)
Min 1Max 1
W06-02
285
Depositor Order Number
Required
String (AN)
Min 1Max 22
Optional
Date (DT)
CCYYMMDD format
W06-04
145
Shipment Identification Number
Optional
String (AN)
Min 1Max 30
W06-05
531
Agent Shipment ID Number
Optional
String (AN)
Min 1Max 12
W06-06
324
Purchase Order Number
Optional
String (AN)
Min 1Max 22
W06-07
474
Master Reference (Link) Number
Optional
String (AN)
Min 1Max 22
W06-08
472
Link Sequence Number
Optional
Numeric (N0)
Min 6Max 6
W06-09
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3
W06-10
891
Shipping Date Change Reason Code
Optional
Identifier (ID)
Min 2Max 2
W06-11
640
Transaction Type Code
Optional
Identifier (ID)
Min 2Max 2
W06-12
306
Action Code
Optional
Identifier (ID)
Min 1Max 2
0100 Loop
OptionalMax >1
N1
040
Heading > 0100 Loop > N1

Name

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-01
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3
N2
050
Heading > 0100 Loop > N2

Additional Name Information

OptionalMax use 1
Example
Optional
String (AN)
Min 1Max 60
Optional
String (AN)
Min 1Max 60
N3
060
Heading > 0100 Loop > N3

Address Information

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

Geographic Location

OptionalMax use 1
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
PER
080
Heading > 0100 Loop > PER

Administrative Communications Contact

OptionalMax 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
PER-01
366
Contact Function Code
Optional
Identifier (ID)
Min 2Max 2
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
Min 2Max 2
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
Min 2Max 2
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
Min 2Max 2
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-09
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20
0100 Loop end
N9
090
Heading > N9

Reference Identification

OptionalMax 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
N9-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
N9-06
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
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-05) or Reference Identification (C040-06) is present, then the other is required
C040-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
C040-03
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-04
127
Reference Identification
Optional
String (AN)
Min 1Max 30
C040-05
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-06
127
Reference Identification
Optional
String (AN)
Min 1Max 30
G61
100
Heading > G61

Contact

OptionalMax use 3
Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Optional
Identifier (ID)
Min 2Max 2
Optional
String (AN)
Min 1Max 60
G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)
Min 2Max 2
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
G61-05
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20
G62
110
Heading > G62

Date/Time

OptionalMax use 5
Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Optional
Identifier (ID)
Min 2Max 2
Optional
Date (DT)
CCYYMMDD format
G62-03
176
Time Qualifier
Optional
Identifier (ID)
Min 1Max 2
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
G62-05
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
NTE
120
Heading > NTE

Note/Special Instruction

OptionalMax use 20
Example
NTE-01
363
Note Reference Code
Optional
Identifier (ID)
Min 3Max 3
NTE-02
352
Description
Optional
String (AN)
Min 1Max 80
W27
130
Heading > W27

Carrier Detail

OptionalMax use 1
Example
At least one of Standard Carrier Alpha Code (W27-02) or Routing (W27-03) is required
W27-01
91
Transportation Method/Type Code
Optional
Identifier (ID)
Min 1Max 2
W27-02
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
W27-03
387
Routing
Optional
String (AN)
Min 1Max 35
W27-04
146
Shipment Method of Payment
Optional
Identifier (ID)
Min 2Max 2
W27-05
40
Equipment Description Code
Optional
Identifier (ID)
Min 2Max 2
W27-06
206
Equipment Initial
Optional
String (AN)
Min 1Max 4
W27-07
207
Equipment Number
Optional
String (AN)
Min 1Max 10
W27-08
368
Shipment/Order Status Code
Optional
Identifier (ID)
Min 2Max 2
W27-09
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3
W27-10
890
Carrier/Route Change Reason Code
Optional
Identifier (ID)
Min 2Max 2
W6
135
Heading > W6

Special Handling Information

OptionalMax use 1
Example
W6-01
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3
W6-02
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3
W6-03
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3
W6-04
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3
W28
140
Heading > W28

Consolidation Information

OptionalMax use 1
Example
If either Weight (W28-02), Weight Qualifier (W28-03) or Weight Unit Code (W28-04) are present, then the others are required
If either Location Identifier (W28-06) or Location Qualifier (W28-07) is present, then the other is required
W28-01
604
Consolidation Code
Optional
Identifier (ID)
Min 1Max 1
W28-02
81
Weight
Optional
Decimal number (R)
Min 1Max 10
W28-03
187
Weight Qualifier
Optional
Identifier (ID)
Min 1Max 2
W28-04
188
Weight Unit Code
Optional
Identifier (ID)
Min 1Max 1
W28-05
466
Total Stopoffs
Optional
Numeric (N0)
Min 1Max 2
W28-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
W28-07
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2
W28-08
598
Bill of Lading/Waybill Number
Optional
String (AN)
Min 1Max 12
W10
150
Heading > W10

Warehouse Additional Carrier Information

OptionalMax use 10
Example
If either Temperature (W10-06) or Unit or Basis for Measurement Code (W10-07) is present, then the other is required
If either Temperature (W10-08) or Unit or Basis for Measurement Code (W10-09) is present, then the other is required
W10-01
400
Unit Load Option Code
Optional
Identifier (ID)
Min 2Max 2
W10-02
406
Quantity of Pallets Shipped
Optional
Numeric (N0)
Min 1Max 3
W10-03
399
Pallet Exchange Code
Optional
Identifier (ID)
Min 1Max 1
W10-04
225
Seal Number
Optional
String (AN)
Min 2Max 15
W10-05
225
Seal Number
Optional
String (AN)
Min 2Max 15
W10-06
408
Temperature
Optional
Decimal number (R)
Min 1Max 4
W10-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
W10-08
408
Temperature
Optional
Decimal number (R)
Min 1Max 4
W10-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
G72
155
Heading > G72

Allowance or Charge

OptionalMax 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
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
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
If Option Number (G72-11) is present, then Allowance or Charge Number (G72-03) is required
G72-01
340
Allowance or Charge Code
Optional
Identifier (ID)
Min 1Max 3
G72-02
331
Allowance or Charge Method of Handling Code
Optional
Identifier (ID)
Min 2Max 2
G72-03
341
Allowance or Charge Number
Optional
String (AN)
Min 1Max 16
G72-04
769
Exception Number
Optional
String (AN)
Min 1Max 16
G72-05
359
Allowance or Charge Rate
Optional
Decimal number (R)
Min 1Max 15
G72-06
339
Allowance or Charge Quantity
Optional
Decimal number (R)
Min 1Max 10
G72-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
G72-08
360
Allowance or Charge Total Amount
Optional
Numeric (N2)
Min 1Max 15
G72-09
332
Percent
Optional
Decimal number (R)
Min 1Max 6
G72-10
828
Dollar Basis For Percent
Optional
Decimal number (R)
Min 1Max 9
G72-11
770
Option Number
Optional
String (AN)
Min 1Max 20
0200 Loop
OptionalMax >1
LM
160
Heading > 0200 Loop > LM

Code Source Information

RequiredMax use 1
Example
LM-01
559
Agency Qualifier Code
Required
Identifier (ID)
Min 2Max 2
LM-02
822
Source Subqualifier
Optional
String (AN)
Min 1Max 15
LQ
170
Heading > 0200 Loop > LQ

Industry Code

OptionalMax use 100
Example
If Code List Qualifier Code (LQ-01) is present, then Industry Code (LQ-02) is required
LQ-01
1270
Code List Qualifier Code
Optional
Identifier (ID)
Min 1Max 3
LQ-02
1271
Industry Code
Optional
String (AN)
Min 1Max 30
0200 Loop end
Heading end

Detail

0300 Loop
RequiredMax >1
LX
005
Detail > 0300 Loop > LX

Assigned Number

RequiredMax use 1
Example
LX-01
554
Assigned Number
Optional
Numeric (N0)
Min 1Max 6
MAN
010
Detail > 0300 Loop > MAN

Marks and Numbers

OptionalMax 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
MAN-01
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
Min 1Max 2
MAN-02
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
Min 1Max 2
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
PAL
015
Detail > 0300 Loop > PAL

Pallet Information

OptionalMax 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 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
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 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
PAL-01
883
Pallet Type Code
Optional
Identifier (ID)
Min 1Max 2
PAL-02
884
Pallet Tiers
Optional
Numeric (N0)
Min 1Max 3
PAL-03
885
Pallet Blocks
Optional
Numeric (N0)
Min 1Max 3
Optional
Numeric (N0)
Min 1Max 6
PAL-05
395
Unit Weight
Optional
Decimal number (R)
Min 1Max 8
PAL-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
PAL-07
82
Length
Optional
Decimal number (R)
Min 1Max 8
Optional
Decimal number (R)
Min 1Max 8
PAL-09
65
Height
Optional
Decimal number (R)
Min 1Max 8
PAL-10
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
PAL-11
384
Gross Weight per Pack
Optional
Decimal number (R)
Min 1Max 9
PAL-12
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
PAL-13
385
Gross Volume per Pack
Optional
Decimal number (R)
Min 1Max 9
PAL-14
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
PAL-15
399
Pallet Exchange Code
Optional
Identifier (ID)
Min 1Max 1
PAL-16
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6
N9
017
Detail > 0300 Loop > N9

Reference Identification

OptionalMax 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
N9-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
N9-06
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
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-05) or Reference Identification (C040-06) is present, then the other is required
C040-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
C040-03
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-04
127
Reference Identification
Optional
String (AN)
Min 1Max 30
C040-05
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-06
127
Reference Identification
Optional
String (AN)
Min 1Max 30
0310 Loop
OptionalMax >1
W12
020
Detail > 0300 Loop > 0310 Loop > W12

Warehouse Item Detail

RequiredMax use 1
Example
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-07) or Product/Service ID (W12-08) is present, then the other is required
If either Weight (W12-10), Weight Qualifier (W12-11) or Weight Unit Code (W12-12) are present, then the others are 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 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
W12-01
368
Shipment/Order Status Code
Optional
Identifier (ID)
Min 2Max 2
W12-02
330
Quantity Ordered
Optional
Decimal number (R)
Min 1Max 15
W12-03
382
Number of Units Shipped
Optional
Decimal number (R)
Min 1Max 10
W12-04
383
Quantity Difference
Optional
Decimal number (R)
Min 1Max 9
W12-05
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
W12-06
438
U.P.C. Case Code
Optional
String (AN)
Min 12Max 12
W12-07
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
W12-08
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
W12-09
451
Warehouse Lot Number
Optional
String (AN)
Min 1Max 12
W12-10
81
Weight
Optional
Decimal number (R)
Min 1Max 10
W12-11
187
Weight Qualifier
Optional
Identifier (ID)
Min 1Max 2
W12-12
188
Weight Unit Code
Optional
Identifier (ID)
Min 1Max 1
W12-13
81
Weight
Optional
Decimal number (R)
Min 1Max 10
W12-14
187
Weight Qualifier
Optional
Identifier (ID)
Min 1Max 2
W12-15
188
Weight Unit Code
Optional
Identifier (ID)
Min 1Max 1
W12-16
438
U.P.C. Case Code
Optional
String (AN)
Min 12Max 12
W12-17
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
W12-18
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
W12-19
892
Line Item Change Reason Code
Optional
Identifier (ID)
Min 2Max 2
W12-20
893
Warehouse Detail Adjustment Identifier
Optional
Identifier (ID)
Min 1Max 1
W12-21
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
W12-22
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
N9
040
Detail > 0300 Loop > 0310 Loop > N9

Reference Identification

OptionalMax 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
N9-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
N9-06
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
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-05) or Reference Identification (C040-06) is present, then the other is required
C040-01
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
C040-03
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-04
127
Reference Identification
Optional
String (AN)
Min 1Max 30
C040-05
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3
C040-06
127
Reference Identification
Optional
String (AN)
Min 1Max 30
0310 Loop end
0300 Loop end
Detail end

Summary

SE
020
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.