53
X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide Alliance , EDI Team

X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

X12 304

(Shipping Instruction) Message Type 304

Document Issue date 05 April 2016

Document Version 1.0

Document Issuer World Wide Alliance , EDI Team

Page 2: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

X12 304 Shipping Instructions This message instruction guide provides the required format and establishes the data contents of the Shipment Instructions Transaction Set (304) for use within the context of an Electronic Data Interchange (EDI) environment.

Data Segment Conventions in the Implementation Guide: 1. Every data element on each record is listed in the Data Element Summary section of the record documentation.

2. Every data element has the data element name noted. 3. Every data element has the data element attributes noted: 4. Data element requirement designation

a. Mandatory (M). This element is required to appear in the record.

b. Optional (O). The appearance of this data element is at the option of the sending party or is based on the mutual agreement of the interchange parties.

c. Conditional (C). Conditional elements may exist between two or more data elements based on the presence or absence of one of

those data elements. 5. Data element type

a. Numeric Integer (N). The numeric type of data element is symbolized by N. Leading zeros should be suppressed unless necessary to satisfy a minimum length requirement. The length of the data element is the number of digits Optional. Example (135)

b. String (AN). The string type of data element is symbolized by the representation AN. Contents of string type data elements are a

sequence of any letters, digits, spaces, and/or special characters and contain at least one non-space character. The significant characters must be left justified. Leading spaces, if Optional, are assumed to be significant characters. Trailing spaces should be suppressed.

c. Date (DT). The date type of data element is symbolized by the representation DT. Format for the date type is CCYYMMDD. CC is the two digit Century (00-99). YY is the last two digits of the year (00-99), MM is the numeric value of the month (01-12), and DD is the numeric value of the day (01-31).

d. Time (TM). The time type is symbolized by the representation TM. Format for this type is expressed in 24-hour clock format,

HHMMSSd..d. HH is the numeric expression of the hour (00-23), MM is the numeric expression of the minute (00-59), SS is the numeric expression of the second (00-59), and d..d is the numeric expression of decimal seconds.

e. Identification (ID). Elements tagged with ID are those data represented by codes normally standard codes or mutually agreed upon codes.

6. Data element length (minimum/maximum).

Page 3: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

ISA Interchange Control Header

To start and identify an interchange of zero or more functional groups and interchange-related control segments. Element Summary:

Ref Id Element Name Req Type Min/Max Usage ISA01 I01 Authorization Information Qualifier M ID 2/2 Required

Description: Code to identify the type of information in the Authorization Information. Code Name Remarks 00 No Authorization Information Present 01 Authorization Information Present

ISA02 I02 Authorization Information M AN 10/10 Required

Description: Information Optional for additional identification or

authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01). Code Name Remarks 304 Shipping Instructions

ISA03 I03 Security Information Qualifier M ID 2/2 Required Description: Code to identify the type of information in the Security Information. Code Name Remarks 00 No Security Information Present

ISA04 I04 Security Information M AN 10/10 Required Description: This is Optional for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA05 I05 Interchange ID Qualifier M ID 2/2 Required Description: Qualifier to designate the system/method of

code structure Optional to designate the sender or receiver ID

element being qualified. Code Name Remarks ZZ Mutually defined

ISA06 I06 Interchange Sender ID M AN 15/15 Required Description: Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

Code Name Remarks WWA_ID WWA Interchange ID (WAIC)

ISA07 I05 Interchange ID Qualifier M ID 2/2 Required Description: Qualifier to designate the system/method of

code structure Optional to designate the sender or receiver ID

element being qualified. Code Name Remarks

Page 4: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

ZZ Carrier Qualifier

ISA08 I07 Interchange Receiver ID M AN 15/15 Required Description: Identification code published by the receiver

of the data; When sending, it is Optional by the sender as their

sending ID, thus other parties sending to them will use this

as a receiving ID to route data to them. Carrier usage: Receiver ID’s for carrier

Code Name Remarks Carrier’s SCAC Carrier’s Interchange ID

ISA09 I08 Interchange Date M DT 6/6 Required Description: Date of the interchange

ISA10 I09 Interchange Time M TM 4/4 Required Description: Time of the interchange

ISA11 I10 Interchange Control Standards Identifier M ID 1/1 Required Description: Code to identify the agency responsible for

the control standard Optional by the message that is enclosed

by the interchange header and trailer. Code Name Remarks U U.S. EDI Community of ASC X12, TDCC, and UCS. ISA12 I11 Interchange Control Version Number M ID 5/5 Required Description: Code specifying the version number of the interchange control segments. Code Name Remarks 00401Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997 ISA13 I12 Interchange Control Number M N 9/9 Required Description: A control number assigned by the interchange sender

ISA14 I13 Acknowledgment Requested M ID 1/1 Required Description: Code sent by the sender to request an interchange acknowledgment (TA1). Code Name Remarks 1 Interchange Acknowledgment Requested 0 No Interchange Acknowledgment is Requested

ISA15 I14 Usage Indicator M ID 1/1 Required Description: Code to indicate whether data enclosed by this interchange envelope is test, production or information. Code Name Remarks P Production data T Test data ISA16 I15 Component Element Separator M 1/1 Required Description: Type is not applicable; the component

element separator is a delimiter and not a data element; this field provides the delimiter Optional to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

Page 5: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

IEA Interchange Control Trailer

To define the end of an interchange of zero or more functional groups and interchange-related control segments. Element Summary:

Ref Id Element Name Req Type Min/Max Usage IEA01 I16 Number of Included Functional Groups M N 1/5 Required

Description: A count of the number of functional groups included in an interchange

IEA02 I12 Interchange Control Number M N 9/9 Required Description: A control number assigned by the interchange sender

Page 6: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

GS Functional Group Header

To indicate the beginning of a functional group and to provide control information. Element Summary:

Ref Id Element Name Req Type Min/Max Usage GS01 479 Functional Identifier Code M ID 2/2 Required

Description: Code identifying a group of application related transaction sets. Code Name Remarks SO Shipping Instructions

GS02 142 Application Sender's Code M AN 2/15 Required Description: Code identifying party sending transmission; codes agreed to by trading partners. Code Name Remarks WWA_ID WWA Functional ID

GS03 124 Application Receiver's Code M AN 2/15 Required Description: Code identifying party receiving transmission; codes agreed to by trading partners. Code Name Remarks Carrier’s SCAC Carrier’s Functional ID

GS04 373 Date M DT 8/8 Required Description: Date expressed as CCYYMMDD Note: This is the group date.

GS05 337 Time M TM 4/8 Required Description: Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00- 59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99). Note: This is the group time.

GS06 28 Group Control Number M N 1/9 Required Description: Assigned number originated and maintained by the sender. Note: Must be identical to the same data element in the associated functional group trailer, GE02.

GS07 455 Responsible Agency Code M ID 1/2 Required Description: Code identifying the issuer of the standard; this code is Optional in conjunction with Data Element 480. Code Name Remarks X Accredited Standards Committee X12

GS08 480 Version / Release / Industry Identifier Code M AN 1/12 Required Description: Code indicating the version, release,

subrelease, and industry identifier of the EDI standard being Optional, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed. Code Name Remarks 004010 Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Page 7: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

GE Functional Group Trailer

To indicate the end of a functional group and to provide control information. Element Summary:

Ref Id Element Name Req Type Min/Max Usage GE01 97 Number of Transaction Sets Included M N 1/6 Required

Description: Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE02 28 Group Control Number M N 1/9 Required Description: Assigned number originated and maintained

by the sender. Note: Must be identical to the same data element in the associated functional group header, GS06.

Page 8: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

304 Shipping Instructions

Heading:

Id Segment Name Req Max Repeat Notes Usage

Use

ST Transaction Set Header M 1 Required

B2 Beginning Segment for Shipment Information M 1 Required

B2A Set Purpose M 1 Required

N9 Reference Identification O 100 Optional

V1 Vessel Identification M 2 Required

LOOP ID - N1 M 100

N1 Name M 1 Required

N2 Additional Name Information O 2 Optional

N3 Address Information O 2 Optional

G61 Contact O 3 Optional

LOOP ID - R4 M 20

R4 Port or Terminal M 1 Required

LOOP ID - C8 O 20

C8 Certifications and Clauses O 1 Optional

Detail:

Id Segment Name Req Max Repeat Notes Usage

Use

LOOP ID - LX O 999

LX Assigned Number O 1 Optional

LOOP ID - N7 O 999

N7 Equipment Details O 1 Optional

QTY Quantity O 1 Optional

M7 Seal Numbers O 5 Optional

W09 Equipment and Temperature O 1 Optional

X1 Export License O 25 Optional

LOOP ID - H1 O 10

H1 Hazardous Material O 1 Optional

H2 Additional Hazardous Material Description O 10 Optional

LOOP ID - L0 M 120

L0 Line Item – Quantity and Weight M 1 Required

L5 Description, Marks and Numbers M 999 Required

L12 Alternate Lading Description O 20 Optional

X1 Export License O 25 Optional

LOOP ID - C8 O 20

C8 Certifications and Clauses O 20 Optional

LOOP ID - H1 O 10

H1 Hazardous Material O 1 Optional

H2 Additional Hazardous Material Description O 10 Optional

Summary:

Id Segment Name Req Max Repeat Notes Usage Use

LOOP ID - L3 M 1 L3 Total Weight and Charges O 1 Optional PWK Paperwork O 50 Optional SUP Supplementary Information O 999 Optional K1 Remarks O 999 Optional SE Transaction Set Trailer M 1 Required

Page 9: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

ST Transaction Set Header To indicate the start of a transaction set and to assign a control number

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

ST01 143 Transaction Set Identifier Code M ID 3/3 Must Description: Code uniquely identifying a Transaction Set. use Code Name Remarks 304 Shipping Instructions

ST02 329 Transaction Set Control Number M AN 4/9 Must Description: Identifying control number that must be unique within use the transaction set functional group assigned by the originator for a transaction set.

Page 10: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

B2 Beginning Segment for Shipment Information

To transmit basic data relating to the shipment information.

Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage

B201 375 Tariff Service Code O ID 2/2 Optional

Description: Code identifying the tariff. DD (Door-to-Door): Rate applies for shipments in door-to-door service DP (Door-to-Pier): Rate applies for shipments in door-to-ocean carrier's port/terminal pier service PD (Pier-to-Door): Rate applies for shipments in pier-to-door service PP (Pier-to-Pier): All cargo other than that specified in codes HH, HP, or PH whether shipped in containers or otherwise RP (Rail-to-Pier): Rate applies for shipments in rail-to-pier service RD (Rail-to-Door): Rate applies for shipments in rail-to-door service RR (Rail-to-Rail): Rate applies for shipments in rail-to-rail service PR (Pier-to-Rail): Rate applies for shipments in pier-to-rail service DR (Door-to-Rail): Rate applies for shipments in door-to-rail service

B202 140 Standard Carrier Alpha Code O ID 2/4 Optional

Description: SCAC code for BL issuing carrier.

B204 145 Shipment Identification Number O AN 1/30 Optional

Description: Identification number assigned to the shipment by the

shipper that uniquely identifies the shipment from origin to ultimate

Destination and is not subject to modification.

B206 146 Shipment Method of Payment M ID 2/2 Required

Description: Code identifying payment terms for transportation

charges.

Code Name CC Collect PP Prepaid

B207 147 Shipment Qualifier O ID 1/1 Optional

Description: Code defining relationships of this shipment with

respect to other shipments given to the carrier at the same time.

Code Name 2 Sea Waybill B Bill of Lading for Individual Shipment E Empty Equipment Billing (Non-Revenue) O Memo Bill (Not Used for Rail)

Page 11: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

B2A Set Purpose

To allow for positive identification of transaction set purpose

Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage B2A01 353 Transaction Set Purpose Code M ID 2/2 Must

Description: Code identifying purpose of transaction set use

Page 12: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

N9 Reference Identification To transmit identifying information as specified by the Reference Identification Qualifier

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

N901 128 Reference Identification Qualifier M ID 2/3 Must Description: Code qualifying the Reference Identification use Remarks

Code Name BN Booking Number FW Forwarder’s Reference Number CT Service Contract Number IV Invoice Number PO Purchase Order Number SO Shipper’s Order Number SI Shipper’s Reference Number (SID) Q1 Quotation Number TS Standard Tariff FM FMC Number

VGM Gross mass verification

N902 127 Reference Identification C AN 1/30 Optional Description: Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Page 13: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

V1 Vessel Identification

To provide vessel details and voyage number. Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage V101 597 Vessel Code C ID 1/8 Optional

Description: Code identifying vessel.

V102 182 Vessel Name C AN 2/28 Optional Description: Name of ship as documented in Lloyds Register of Ships

V104 55 Voyage Number O AN 2/10 Optional Description: Identifying designator for the particular voyage on

which the cargo travels

Page 14: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop N1

To identify a party by type of organization, name and code. Loop Summary Pos ID Segment Name Req Max Use Repeat Usage 160 N1 Name O 1 Optional 170 N2 Additional Name Information O 2 Optional 180 N3 Address Information O 2 Optional 190 N4 Geographic Location O 1 Optional 195 G61 Contact O 3 Optional

Page 15: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

N1 Name To identify a party by type of organization, name, and code

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

N101 98 Entity Identifier Code M ID 2/3 Must Description: Code identifying an organizational entity, a physical use location, property or an individual.

Code Name SH Shipper Address SU Submitter Address N1 Same as above CN Consignee address

SPC Solas packed container responsible party

N102 93 Name C AN 1/60 Optional Description: Name of the party

N104 67 Carrier’s Customer ID C AN 2/80 Optional Description: SAP ID assigned by the carrier to the named party in N101. Becomes mandatory if N101=CN or SH .

Page 16: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

N2 Additional Name Information To specify additional names or those longer than 35 characters in length. Element Summary:

Ref Id Element Name____________________ N201 93 Additional Name Description: Name N202 93 Additional Name Description: Name

Req Type Min/Max Usage M AN 1/60 Must

use

O AN 1/60 Optional

Page 17: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

N3 Address Information To specify the location of the named party

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

N301 166 Address Information M AN 1/55 Must Description: Address information use

N302 166 Address Information O AN 1/55 Optional Description: Address information

Page 18: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

G61 Contact To identify a person or office to whom communications should be directed

Element Summary: Ref Std. ID Element Name _ Req Type Min/Max Usage

G6101 366 Contact Function Code M ID 2/2 Must Description: Code identifying the major duty or use responsibility of the person or group named.

G6102 93 Name M AN 1/60 Must Description: Contact’s free-form name use

G6103 365 Communication Number Qualifier C ID 2/2 Optional Description: Code identifying the type of communication number.

G6104 364 Communication Number C AN 1/80 Optional Description: Complete communications number including country or area code when applicable.

Page 19: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop R4

To identify a party by type of organization, name and code. Loop Summary

Pos ID Segment Name Req Max Use Repeat Usage 200 R4 Port or Terminal O 1 Optional

Page 20: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

R4 Port or Terminal Contractual or operational port or point relevant to the movement of the cargo

Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage

R401 115 Port or Terminal Function Code M ID 1/1 Must

Description: Code defining function performed at the port or use

terminal with respect to a shipment. Code Name D Port of Discharge (Operational) E Place of Delivery (Contractual) L Port of Loading (Operational) R Place of Receipt (Contractual) O Origin (Operational) ## Only for Cargo

R402 309 Location Qualifier C ID 1/2 Optional

Description: Code identifying type of location.

R403 310 Location Identifier C AN 1/30 Optional

Description: Code which identifies a specific location based on

Schedule D or K codes.

R404 114 Location Name O AN 2/24 Optional

Description: Free-form name of the location code.

R405 26 Country Code O ID 2/3 Optional

Description: Code identifying the country

R408 156 State or Province Code

Description: Standard State/Province code (as defined by O ID 2/2 Optional

appropriate government agency) of the specified location.

Page 21: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop C8

To identify a party by type of organization, name and code. Loop Summary

Pos ID Segment Name Req Max Use Repeat Usage 290 C8 Certification and Clauses O 1 Optional

Page 22: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

C8 Certifications and Clauses

To specify applicable certifications and clauses

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

C801 213 Lading Line Item Number O N0 1/3 Optional Description: Lading Line Item Number

C802 246 Certification/Clause Code C ID 2/4 Optional Description: Code identifying certification/clause information

Code Name 01 Shipper's Load and Count 02 Shipper's Load, Stowage and Count 03 Laden on Board 04 Laden on Board Vessel 20 No Shipper's Export Declaration Required

(Section 30.39) 22 On Board Rail 24 On Board Vessel 25 Received For Shipment

C803 247 Certification/Clause Text C AN 2/60 Optional Description: Free-form description of commercial invoice certification/clause

Page 23: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop LX

To reference a line number in a transaction set

Loop Summary Pos ID Segment Name Req Max Use Repeat Usage 010 LX Assigned Number O 1 Optional 020 Y2 Container Details O 10 Optional 030 Loop N7 O 999 Optional 170 Loop L0 O 120 Optional

Page 24: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

LX Assigned Number To reference a line number in a transaction set Element Summary:

Ref Id Element Name____________________ LX01 554 Assigned Number

Description: Number assigned for differentiation within a transaction set

Req Type Min/Max Usage M N0 1/6 Must

use

Page 25: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop N7

To identify the equipment.

Loop Summary Pos ID Segment Name Req Max Use Repeat Usage 030 N7 Equipment Details O 1 Optional 035 QTY Quantity O 1 Optional 050 M7 Seal Numbers O 5 Optional 060 W09 Equipment and Temperature O 1 Optional 110 X1 Export License O 10 Optional 135 Loop H1 O 10 Optional

Page 26: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

N7 Equipment Details To identify the equipment.

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

N701 206 Equipment Initial O AN 1/4 Optional Description: Prefix of an equipment unit’s identifying number Note: Alpha part of the container number

N702 207 Equipment Number M AN 1/10 Must Description: Serial part of an equipment unit’s identifying number use Note: Numeric part of the container number.

N703 81 Weight C R 1/10 Optional Description: The weight of the equipment

N704 187 Weight Qualifier C ID 1/2 Optional

Description: The code identifying the unit of the weight.

Code Name G Gross Weight A6 SOLAS Verified Container Weight

N708 183 Volume C R 1/8 Optional Description: Equipment volume

N709 184 Volume Qualifier C ID 1/1 Optional Description: The code identifying the unit of the volume

N717 188 Weight Unit Code O ID 1/1 Optional Description: Code identifying the unit of the weight.

N719 56 Traffic Mode: The type of traffic mode relationship the cargo has to O ID 2/2 Optional its container.

N722 24 Equipment Type O ID 4/4 Optional Description: Code identifying the equipment type

Page 27: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

QTY Quantity To specify quantity information.

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

QTY01 673 Quantity Qualifier M AN 2/2 Required Description: Code specifying the type of quantity.

QTY02 380 Entity Identifier Code C R 1/15 Optional Description: Code identifying an organizational entity.

QTY03 Composite Unit of Measure O 0/1 Optional Description: To identify a composite unit of measure.

C001 355 Unit or Basis for Measurement Code M AN 2/2 Optional Description: Code specifying the units in which a value is

being expressed, or manner in which a measurement has been taken

Page 28: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

M7 Seal Numbers To record the seal numbers Optional and the organization that applied the seal.

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

M701 225 Seal Number M AN 2/15 Must Description: Unique number on the seal Optional to close the use shipment.

M702 225 Seal Number O AN 2/15 Optional Description: Unique number on the seal Optional to close the shipment.

M703 225 Seal Number O AN 2/15 Optional Description: Unique number on the seal Optional to close the shipment.

Page 29: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

W09 Equipment & Temperature To relate equipment type and required temperatures. Element Summary:

Ref Id Element Name____________________ W0901 40 Equipment Description Code

Description: Code identifying type of equipment Optional for shipment

W0902 408 Temperature Description: Temperature

W0903 355 Unit or Basis for Measurement Code Description: Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

W0904 408 Temperature Description: Temperature

W0905 355 Unit or Basis for Measurement Code Description: Code specifying the units in which a value is

being expressed, or manner in which a measurement has been taken

Req Type Min/Max Usage M ID 2/2 Must

use

C R 1/4 Optional

C ID 2/2 Optional

C R 1/4 Optional

C ID 2/2 Optional

W0906 3 Free Form Message Description: Free-form text

W0908 488 Percent Description: Percent expressed as 0 to 100t.

W0909 380 Quantity Description: Numeric value of quantity.

O AN 1/60 Optional

O N0 1/1 Optional

O R 1/15 Optional

Page 30: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

X1 Export License

To transmit information contained on an export license.

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

X106 48 Export License Control Code O ID 1/1 Optional Description: Code indicating the type of control applicable to the export license.

X107 26 Country Code O ID 2/3 Optional Description: Code identifying the country.

X112 47 Export Filing Key Code O ID 1/1 Optional Description: Code indicating the type of communications with customs.

Page 31: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop H1

To specify quantity, weight, volume and type of service for a line item. Loop Summary

Pos ID Segment Name Req Max Use Repeat Usage 135 H1 Hazardous Material O 1 Optional 137 H2 Additional Hazardous Material Description O 10 Optional

Page 32: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

H1 Hazardous Material

To specify information relative to hazardous material. Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage H101 62 Hazardous Material Code M AN 4/10 Must

Description: Code relating to hazardous material code qualifier for use regulated hazardous materials.

H102 209 Hazardous Material Class Code O AN 1/4 Optional Description: Code specifying the kind of hazard for a material.

H103 208 Hazardous Material Code Qualifier O ID 1/1 Optional Description: Code which qualifies the Hazardous Material Class Code (209).

H104 64 Hazardous Material Description O AN 2/30 Optional Description: Material name, special instructions, and phone number if any.

Page 33: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

H2 Additional Hazardous Material Description

To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment. Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage H201 64 Hazardous Material Description M AN 2/30 Optional

Description: Material name, special instructions, and phone number if any.

H202 274 Hazardous Material Classification O AN 1/30 Optional Description: Free-form description of hazardous material classification or division or label requirements.

Page 34: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop L0

To specify quantity, weight, volume and type of service for a line item. Loop Summary

Pos ID Segment Name Req Max Use Repeat Usage 170 L0 Line Item – Quantity and Weight O 1 Optional 185 L5 Description, Marks and Numbers O 999 Optional 190 L12 Tariff Reference O 20 Optional 240 X1 Export License O 25 Optional 260 Loop C8 O 20 Optional 270 Loop H1 O 10 Optional

Page 35: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

L0 Line Item - Quantity and Weight

To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage L004 81 Weight C R 1/10 Optional

Description: Numeric value of weight

L005 187 Weight Qualifier C ID 1/2 Optional Description: Code defining the type of weight.

L006 183 Volume C R 1/8 Optional Description: Value of volumetric measure

L007 184 Volume Unit Qualifier C ID 1/1 Optional Description: Code identifying the volume unit.

L008 80 Lading Quantity C N0 1/7 Optional Description: Number of units (pieces) of the lading commodity

L009 211 Packaging Form Code C ID 3/3 Optional Description: Code for packaging form of the lading quantity

L011 188 Weight Unit Code O ID 1/1 Optional Description: Code specifying the weight unit.

Page 36: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

L5 Description, Marks and Numbers

To specify the line item in terms of description, quantity, packaging, and marks and numbers

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

L502 79 Lading Description O AN 1/50 Optional Description: Description of an item as required for rating and

billing purposes. Maybe Optional to send quantity information as part of

the product description.

L506 87 Marks and Numbers C AN 1/48 Optional Description: Marks and numbers Optional to identify a shipment or parts of a shipment.

Page 37: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

L12 Alternate Lading Description

To provide lading description beyond what is required for rating and billing purposes. Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

L1202 352 O AN 1/80 Optional Description: A free-form description to clarify the related data elements and their content

Page 38: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

X1 Export License

To transmit information contained on an export license.

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

X106 48 Export License Control Code O ID 1/1 Optional Description: Code indicating the type of control applicable to the export license.

X107 26 Country Code O ID 2/3 Optional Description: Code identifying the country.

X112 47 Export Filing Key Code O ID 1/1 Optional Description: Code indicating the type of communications with customs.

Page 39: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop C8 To identify a party by type of organization, name and code. Loop Summary

Pos ID Segment Name Req Max Use Repeat Usage 120 C8 Certification and Clauses O 1 Optional

Page 40: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

C8 Certifications and Clauses

To specify applicable certifications and clauses

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

C801 213 Lading Line Item Number O N0 1/3 Optional Description: Sequential line number for a lading item

C802 246 Certification/Clause Code C ID 2/4 Optional Description: Code identifying certification/clause information

C803 247 Certification/Clause Text C AN 2/60 Optional Description: Free-form description of commercial invoice certification/clause

Page 41: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop H1

To specify quantity, weight, volume and type of service for a line item. Loop Summary

Pos ID Segment Name Req Max Use Repeat Usage 270 H1 Hazardous Material O 1 Optional 280 H2 Additional Hazardous Material Description O 10 Optional

Page 42: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

H1 Hazardous Material

To specify information relative to hazardous material. Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage H101 62 Hazardous Material Code M AN 4/10 Must

Description: Code relating to hazardous material code qualifier for use regulated hazardous materials.

H102 209 Hazardous Material Class Code O AN 1/4 Optional Description: Code specifying the kind of hazard for a material.

H103 208 Hazardous Material Code Qualifier O ID 1/1 Optional Description: Code which qualifies the Hazardous Material Class Code (209).

H104 64 Hazardous Material Description O AN 2/30 Optional Description: Material name, special instructions, and phone number if any.

Page 43: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

H2 Additional Hazardous Material Description

To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment. Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage H201 64 Hazardous Material Description M AN 2/30 Must

Description: Material name, special instructions, and phone use number if any.

H202 274 Hazardous Material Classification O AN 1/30 Optional Description: Free-form description of hazardous material classification or division or label requirements.

Page 44: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Loop L3

Loop Summary Pos ID Segment Name Req Max Use Repeat Usage 010 L3 Total Weight and Charges O 1 Optional 020 PWK Paperwork O 50 Optional 025 SUP Supplementary Information O 999 Optional 060 K1 Remarks O 999 Optional 080 SE Transaction Set Trailer O 1 Optional

Page 45: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

L3 Total Weight and Charges

To specify the total shipment in terms of weight, volume and prepaid amounts applicable to one or more line items Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage L301 81 Weight C R 1/10 Optional

Description: Numeric value of weight

L302 187 Weight Qualifier C ID 1/2 Optional Description: Code defining the type of weight.

L309 183 Volume C R 1/8 Optional Description: Value of volumetric measure

L310 184 Volume Unit Qualifier C ID 1/1 Optional Description: Code identifying the volume unit.

L311 80 Lading Quantity O N0 1/7 Optional Description: Number of units (pieces) of the lading commodity

L312 188 Weight Unit Code O ID 1/1 Optional Description: Code specifying the weight unit.

Page 46: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

PWK Paperwork

To identify the type or transmission of paperwork or supporting information.

Element Summary: Ref Id Element Name____________________ Req Type Min/Max Usage

PWK01 755 Report Type Code M ID 2/2 Must Description: Code indicating the title or contents of a document. use

Code Name BC Bill of Lading copy BD Draft BL BL Bill of Lading SW Sea Waybill

PWK03 757 Report Copies Needed O N0 1/2 Optional Description: The number of copies of a report that should be sent to the addressee.

PWK07 352 Description O AN 1/80 Optional Description: A free-form description to clarify the related data elements and their content.

Page 47: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

SUP Supplementary Information

To provide processible supplementary information. Element Summary:

Ref Id Element Name____________________ Req Type Min/Max Usage SUP01 749 Supplementary Information Qualifier M ID 3/3 Must

Description: Code identifying the type of supplementary use information.

SUP02 246 Certification/Clause Code O N0 2/4 Optional Description: Code identifying certification/clause information.

SUP03 3 Free Form Message O AN 1/60 Optional Description: Free-form text.

Page 48: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

K1 Remarks To transmit information in a free form format for comment or special instructions. Element Summary:

Ref Id Element Name____________________ K101 61 Free-form Message Description: Free-form information

K102 61 Free-form Message Description: Free-form information

Req Type Min/Max Usage M AN 1/30 Must

use

O AN 1/30 Optional

Page 49: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

SE Transaction Set Trailer

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments. SE is the last segment of each transaction set. Element Summary:

Ref Id Element Name____________________ SE01 96 Number of Included Segments Description: Total number of segments included in a transaction set including ST and SE segments.

SE02 329 Transaction Set Control Number Description: Identifying control number that must be unique within

the transaction set functional group assigned by the originator for a transaction set.

Req Type Min/Max Usage M N0 1/10 Must

use

M AN 4/9 Must use

Page 50: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

304 Message example ISA*00* *00* *ZZ*WAIC *ZZ*HLCU *160118*1311*U*00401*100000095*0*P*>~ GS*SO*WAIC*HLCU*20160118*1311*100000095*X*004010~ ST*304*0001~ B2*PP*HLCU**42129666*K*PO*2*~ B2A*00~ N9*BN*42129666~ N9*CT*NO SERVICE CONTRACT~ N9*SI*1601904111~ N9*RF*1601904111~ V1*9333010*MAERSK KENSINGTON**1603~ N1*CA**93*HLCU~ N1*CN*GREGORY ADCOCK C/O GULF AGENCY~ N2*PO BOX 740,, GAC BUILDING, DOHAT AL*ADAB STREET RUWI, 112 OMAN~ N2*PHONE: 968 24477800*~ N1*R6*HYDE LOGISTICS*93*SHIPCOUSIND01~ G61*IC*dmaiti_usa*EM*[email protected]~ N1*SH*SHIPCO TRANSPORT INC.*25*SHPTUSIND01~ N2*9769 INNISBROOK BLVD*CARMEL IN 46032~ N1*N1*GULF AGENCY~ N2*PO BOX 740,*GAC BUILDING, DOHAT AL ADAB STREET~ N2*RUWI 112*OMAN~ N1*SPC**93*12345~ G61*RP*Authorized_test_userVGM~ R4*R*UN*USHOU*HOUSTON,TX*US~ R4*J*UN*USHOU*HOUSTON,TX*US~ R4*K*UN*OMSOH*SOHAR*OM~ R4*E*UN*OMSOH*SOHAR*OM~ R2*HLCU*O**********HH~ C8***EXPRESS BILL OF LADING ~ C8***USED HOUSE HOLD GOODS AND PERSONAL EFFECTS, NOT FOR RESALE ~ C8***DDC/CSC COLLECT ~ LX*1~ N7*GATU*131967*1016.047*G****9.061*X********K*1****~ QTY*39*124*PC~ M7*42863****~ N7*GATU*1319671*3516.047*A6****9.061*X********K*1****~ N9*VGM*12345*~ L0*1***1016.047*G*9.061*X*124*PCS*Pieces*K~ L5*1*X 20' STD 124 PCS OF USED****MSKU2481024*~ L5*1*HOUSEHOLD GOODS/PERSONAL EFFECTS****42863*~ L5*1*PROPERTY OF: GREGORY ADCOCK*****~ L5*1*HS CODE 9905 0000*****~ L5*1*ITN #20160106433154*****~ L5*1*EXPRESS BILL OF LADING USED HOUSE HOLD GOODS AND*****~ L5*1*PERSONAL EFFECTS, NOT FOR RESALE DDC/CSC COLLECT *****~ L3*1016.047*G*******9.061*X*124*K***~ PWK*SW**1****~ SE*42*0001~ GE*1*100000095~ IEA*1*100000095~

Page 51: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

Appendix A : Reference Type

Code Name BN Booking Number FW Forwarder’s Reference Number CT Service Contract Number IV Invoice Number PO Purchase Order Number SO Shipper’s Order Number SI Shipper’s Reference Number (SID) Q1 Quotation Number TS Standard Tariff FM FMC Number

Appendix B : Package Type

Code Name BAG Bag BAL Bale BBL Barrel BDL Bundle BIC Bing chest BIN Bin BKG Bulk bag BOB Bobbin BOT Bottle BOX Box BSK Basket BXT Bucket CAN Can CAS Case CBC Container bulk cargo CBY Carboy CCS Can case CHS Chest CAN Household goods container, wood CNT Container COL Coil CON Cones CRD Cradle CRT Crate CSK Cask CTN Carton CUB Cube CYL Cylinder

Page 52: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

DBK Dry bulk DRM Drum DUF Duffle bag FIR Firkin FLX Liner bag liquid FRM Frame FSK Flask GOH Garments on hangers HED Head of beef HGH Hogshead HPR Hamper JAR Jar JUG Jug KEG Keg LBK Liquid bulk LOG Log LSE Loose LUG Lugs KEG Keg LOG Log LSE Loose LUG Lugs LVN Lift van MXD Mixed type pack NOL Noil OVW Overwrap PAL Pail PCS Piece PIR Pims PKG Package PLF Platform PLT Pallet POV Private vehicle PRK Pipe rack QTR Quarter of beef RCK Rack REL Reel PRK Pipe rack QTR Quarter of beef RCK Rack REL Reel ROL Roll RVR Reverse reel SAK Sack SBC Liner bag dry SCS Suitcase SHT Sheet SID Side of beef SKD Skid SLP Slip sheet SLV Sleeve

Page 53: X12 304 - WorldWide Alliance · 2016. 10. 25. · X12 304 (Shipping Instruction) Message Type 304 Document Issue date 05 April 2016 Document Version 1.0 Document Issuer World Wide

SPI Spool TBE Tube TBN Tote bin TNK Tank TRC Tierce TRI Triwell box TRK Trunk TRY Tray TTC Tote can TUB Tub UNP Unpacked UNT Unit VEH Vehicle VPK Van pack WHE On own wheel WLC Wheeled carrier

WRP Wrapped