X12 310 Freight Receipt and Invoice (Ocean)
This Draft Standard for Trial Use contains the format and establishes the data contents of the Freight Receipt and Invoice (Ocean) Transaction Set (310) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide ocean bill of lading information. It is sent by ocean carriers to interested parties and can be used as the receipt for the shipment; to substitute for a paper bill of lading where the parties have agreed that a paper bill of lading is not necessary; to allow shipper or forwarder to verify bill of lading information before an original is printed and released; for information purposes, i.e., as a bill of lading copy; by the carrier to convey manifest information to a terminal operator; and as an invoice for freight.
- ~ Segment
- * Element
- > Component
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code to identify the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in I02)
Information used 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 to identify the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in I04)
This is used 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)
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
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
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the receiver of the data; When sending, it is used 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
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
This version number covers the interchange control segments
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
A control number assigned by the interchange sender
Code sent by the sender to request an interchange acknowledgment (TA1)
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code to indicate whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator
- >
- Component Element Separator
Functional Group Header
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- IO
- Ocean Shipment Billing Details (310, 312, 980)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission. Codes agreed to by trading partners
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)
Assigned number originated and maintained by the sender
Code used in conjunction with Data Element 480 to identify the issuer of the standard
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, 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
- 004010
- Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997
Heading
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
Code uniquely identifying a Transaction Set
- The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
- 310
- Freight Receipt and Invoice (Ocean)
Beginning Segment for Carrier's Invoice
To transmit basic data relating to the carrier's invoice
Code defining relationship of this shipment with respect to other shipments given to the carrier at the same time
- 2
- Sea Waybill
A non-negotiable transport document issued by an ocean carrier covering cargo shipped on a vessel owned or chartered by that carrier
- B
- Bill of Lading for Individual Shipment
Identifying number assigned by issuer
Same as bill of lading number
Code identifying payment terms for transportation charges
- CC
- Collect
- PP
- Prepaid (by Seller)
Date expressed as CCYYMMDD
- B306 is the billing date.
Date the 310 was issued
Total charges to be paid by the receiver of this transaction set expressed in the standard monetary denomination for the currency specified
Date for delivery of cargo to final consignee or to next mode expressed in format CCYYMMDD
- On collect freight bills the data in B309 will be the actual delivery date. For the shipments invoiced prior to delivery, the B309 will be the estimated date of delivery.
Date cargo will arrive at final location
Code specifying type of date or time, or both date and time
- 139
- Estimated
- 140
- Actual
Standard Carrier Alpha Code
- MAEU
- Maersk Line
- MCPU
- Sealand Maersk Asia Pte. Ltd.
- SEAU
- Sealand Americas
- SEJJ
- Sealand Europe
Date expressed as CCYYMMDD
Date shipment departed
Code specifying the types of services for rating purposes
- CC
- CFS-to-CFS
Container freight station to container freight station
- CD
- CFS-to-Door
Container freight station to customer door
- CP
- CFS-to-Pier
Container freight station to pier
- DC
- Door-to-CFS
Customer door to container freight station
- DD
- Door-to-Door
- DP
- Door-to-Pier
- PC
- Pier-to-CFS
Pier to container freight station
- PD
- Pier-to-Door
- PP
- Pier-to-Pier
Set Purpose
To allow for positive identification of transaction set purpose
Reference Identification
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- BM
- Bill of Lading Number
- BN
- Booking Number
- CB
- Combined Shipment
- CG
- Consignee's Order Number
- CT
- Contract Number
- FN
- Forwarder's/Agent's Reference Number
- IK
- Invoice Number
Manufacturer's invoice number for vehicle/component
- PO
- Purchase Order Number
- PR
- Price Quote Number
- SI
- Shipper's Identifying Number for Shipment (SID)
A unique number (to the shipper) assigned by the shipper to identify the shipment
Vessel Identification
To provide vessel details and voyage number
Code identifying vessel
Lloyd's code or radio call sign
Name of ship as documented in "Lloyd's Register of Ships"
Code identifying the country
- V103 is the code identifying the country in which the ship (vessel) is registered.
ISO country code corresponding to ISO 3166 -2 code elements
Identifying designator for the particular flight or voyage on which the cargo travels
Standard Carrier Alpha Code
- V105 identifies the ocean carrier.
SCAC carrier code
Currency
To specify the currency being used in the transaction set
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- AO
- Account Of
Named Account Customer
- C9
- Contract Holder
Required by carrier
- CN
- Consignee
- FP
- Name on Credit Card
- FW
- Forwarder
- N1
- Notify Party no. 1
- N2
- Notify Party no. 2
- SH
- Shipper
Code designating the system/method of code structure used for Identification Code (67)
- 25
- Carrier's Customer Code
- 94
- Code assigned by the organization that is the ultimate destination of the transaction set
Code identifying a party or other code
- This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Additional Name Information
To specify additional names or those longer than 35 characters in length
Address Information
To specify the location of the named party
Geographic Location
To specify the geographic place of the named party
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Code (Standard State/Province) as defined by appropriate government agency
- N402 is required only if city name (N401) is in the U.S. or Canada.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
Port or Terminal
Contractual or operational port or point relevant to the movement of the cargo
Code defining function performed at the port or terminal with respect to a shipment
Please Note: The values below are the carrier defaults. Selections from Customer Preference Table can be used to override the values below.
- 1
- Final Port of Discharge (Operational)
- D
- Port of Discharge (Operational)
- E
- Place of Delivery (Contractual)
- L
- Port of Loading (Operational)
- R
- Place of Receipt (Contractual)
Code identifying type of location
- UN
- United Nations Location Code (UNLOCODE)
Free-form name for the place at which an offshore carrier originates or terminates (by transshipment or otherwise) its actual ocean carriage of property
Code identifying the country
ISO country code corresponding to ISO 3166 -2 code elements
Date/Time Reference
To specify pertinent dates and times
Route Information
To specify carrier and routing sequences and details
Standard Carrier Alpha Code
- MAEU
- Maersk Line
- MCPU
- Sealand Maersk Asia Pte. Ltd.
- SEAU
- Sealand Americas
- SEJJ
- Sealand Europe
Code describing the relationship of a carrier to a specific shipment movement
- O
- Origin Carrier (Air, Motor, or Ocean)
Remarks
To transmit information in a free-form format for comment or special instruction
Detail
Assigned Number
To reference a line number in a transaction set
Equipment Details
To identify the equipment
Prefix or alphabetic part of an equipment unit's identifying number
- N701 is mandatory for rail transactions.
Container prefix
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
Container number
Code identifying the volume unit
- E
- Cubic Feet
- X
- Cubic Meters
Length (in feet and inches) of equipment ordered or used to transport shipment (The format is FFFII where FFF is feet and II is inches; the range for II is 00 through 11)
Used for non-ISO equipment
Number which designates the check digit applied to a piece of equipment
Code specifying extent of transportation service requested
- CC
- CFS-to-CFS
Container freight station to container freight station
- CD
- CFS-to-Door
Container freight station to customer door
- CP
- CFS-to-Pier
Container freight station to pier
- DC
- Door-to-CFS
Customer door to container freight station
- HH
- House-to-house
- HP
- House-to-pier
- PC
- Pier-to-CFS
Pier to container freight station
- PH
- Pier-to-house
- PP
- Pier-to-pier
Code identifying equipment type
ISO 6346 container size and type code is used as standard. Based on selections from customer preference table, ISO 6346 v1995 or ISO 6346 v1984 or customer's own preference codes within ISO 6346 can be provided.
Quantity
To specify quantity information
Code specifying the type of quantity
- 39
- Shipped Quantity
Seal Numbers
To record seal numbers used and the organization that applied the seals
Equipment and Temperature
To relate equipment type and required temperatures
Code identifying type of equipment used for shipment
- CZ
- Refrigerated Container
Temperature
- W0902 is the minimum allowable temperature condition for shipment; (the qualifying temperature scale is specified in W0903).
Set temperature using the lowest allowed
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- CE
- Centigrade, Celsius
- FA
- Fahrenheit
Percent expressed as 0 to 100
- W0908 is the humidity percentage.
Humidity percentage
Rate and Charges
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
Sequential line number for a lading item
Code qualifying how to extend charges or interpret value
- BL
- Bill of Lading Declared Value
- CM
- Per Cubic Meter
- ER
- Per Each Request
- GT
- Per Gross Ton
- PA
- Per Container
- PD
- Per Day
- PR
- Per Hour
- PS
- Per Shipment
- PW
- Percentage of Charges
- PZ
- Per Package Charge
- WM
- Weight or Measurement
For a line item: freight or special charge; for the total invoice: the total charges -- expressed in the standard monetary denomination for the currency specified
Code identifying type of special charge or allowance
Please Note: The values below are the carrier defaults. Selections from Customer Preference Table can be used to override the values below.
- 170
- Certificate of Origin
- 495
- Miscellaneous - Destination
- ARB
- Arbitrary (In Addition to Through Rates and Charges)
- BAS
- Base Charge
- BLC
- Bill of Lading Charge
- BSC
- Bunker Surcharge
- BUA
- Bunker Adjustment
- CAC
- Cash Discount
- CHG
- Charges Forward/Advance Charge
- CLN
- Cleaning Charge
- CON
- Congestion Surcharge
- CUF
- Currency Adjustment Factor
- DTC
- Destination Charge
- EMS
- Emergency Surcharge
- EPC
- Emergency Port Charge
- EXP
- Expedited Service Charge
- GSS
- Greater Security Service
Rail security service providing seal tracing and inspection for rail movement of unclassified sensitive cargo
- HAZ
- Hazardous Cargo Charge
- HHB
- Handling
- ODF
- Collect on Delivery Deletion Charge
- PBL
- Pier Charges Other Than Wharfage
- SAJ
- Surcharge (Dollar Value)
- SEG
- Segregating (Sorting)
Code defining method of payment
- E
- Collect
- P
- Prepaid
Identification of special charge; this data element is used whenever an applicable code cannot be found in data element 150
Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81
Currency
To specify the currency being used in the transaction set
Hazardous Material
To specify information relative to hazardous material
Code relating to hazardous material code qualifier for regulated hazardous materials
UNDG number
Code specifying the kind of hazard for a material
IMDG class
Code which qualifies the Hazardous Material Class Code (209)
- I
- Intergovernmental Maritime Organization (IMO) Code
Material name, special instructions, and phone number if any
Proper shipping name
Phone number and name of person or department to contact in case of emergency
The United Nations page number as required for the international transport of hazardous materials
The flashpoint temperature for hazardous material
- H107 is the lowest temperature for hazardous materials.
Temperature will be supplied with whole numbers only.
Line Item - Quantity and Weight
To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data
Sequential line number for a lading item
One number for each commodity
Code identifying the volume unit
- E
- Cubic Feet
- X
- Cubic Meters
Number of units (pieces) of the lading commodity
- L008 is the number of handling units of the line item tendered to the carrier.
Code for packaging form of the lading quantity
- BAG
- Bag
- BOX
- Box
- CNT
- Container
- CRT
- Crate
- CTN
- Carton
- DRM
- Drum
A large container with a cylindrical shape; top may have removable or sealed top sides may be fiberboard or metal
- PCS
- Pieces
- PKG
- Package
- PLT
- Pallet
- ROL
- Roll
Description, Marks and Numbers
To specify the line item in terms of description, quantity, packaging, and marks and numbers
Sequential line number for a lading item
Description of an item as required for rating and billing purposes
- L502 may be used to send quantity information as part of the product description.
Rate and Charges
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
Sequential line number for a lading item
Code qualifying how to extend charges or interpret value
- BL
- Bill of Lading Declared Value
- CM
- Per Cubic Meter
- ER
- Per Each Request
- GT
- Per Gross Ton
- PA
- Per Container
- PD
- Per Day
- PR
- Per Hour
- PS
- Per Shipment
- PW
- Percentage of Charges
- PZ
- Per Package Charge
- WM
- Weight or Measurement
For a line item: freight or special charge; for the total invoice: the total charges -- expressed in the standard monetary denomination for the currency specified
Code identifying type of special charge or allowance
- 170
- Certificate of Origin
- 495
- Miscellaneous - Destination
- ARB
- Arbitrary (In Addition to Through Rates and Charges)
- BAS
- Base Charge
- BLC
- Bill of Lading Charge
- BSC
- Bunker Surcharge
- BUA
- Bunker Adjustment
- CAC
- Cash Discount
- CHG
- Charges Forward/Advance Charge
- CLN
- Cleaning Charge
- CON
- Congestion Surcharge
- CUF
- Currency Adjustment Factor
- DTC
- Destination Charge
- EMS
- Emergency Surcharge
- EPC
- Emergency Port Charge
- EXP
- Expedited Service Charge
- GSS
- Greater Security Service
Rail security service providing seal tracing and inspection for rail movement of unclassified sensitive cargo
- HAZ
- Hazardous Cargo Charge
- HHB
- Handling
- ODF
- Collect on Delivery Deletion Charge
- PBL
- Pier Charges Other Than Wharfage
- SAJ
- Surcharge (Dollar Value)
- SEG
- Segregating (Sorting)
Code defining method of payment
- E
- Collect
- P
- Prepaid
Identification of special charge; this data element is used whenever an applicable code cannot be found in data element 150
Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81
Currency
To specify the currency being used in the transaction set
Summary
Total Weight and Charges
To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items
Code identifying the volume unit
- E
- Cubic Feet
- X
- Cubic Meters
Number of units (pieces) of the lading commodity
Rate and Charges
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
Sequential line number for a lading item
Code qualifying how to extend charges or interpret value
- BL
- Bill of Lading Declared Value
- CM
- Per Cubic Meter
- ER
- Per Each Request
- GT
- Per Gross Ton
- PA
- Per Container
- PD
- Per Day
- PR
- Per Hour
- PS
- Per Shipment
- PW
- Percentage of Charges
- PZ
- Per Package Charge
- WM
- Weight or Measurement
For a line item: freight or special charge; for the total invoice: the total charges -- expressed in the standard monetary denomination for the currency specified
Code identifying type of special charge or allowance
- 170
- Certificate of Origin
- 495
- Miscellaneous - Destination
- ARB
- Arbitrary (In Addition to Through Rates and Charges)
- BAS
- Base Charge
- BLC
- Bill of Lading Charge
- BSC
- Bunker Surcharge
- BUA
- Bunker Adjustment
- CAC
- Cash Discount
- CHG
- Charges Forward/Advance Charge
- CLN
- Cleaning Charge
- CON
- Congestion Surcharge
- CUF
- Currency Adjustment Factor
- DTC
- Destination Charge
- EMS
- Emergency Surcharge
- EPC
- Emergency Port Charge
- EXP
- Expedited Service Charge
- GSS
- Greater Security Service
Rail security service providing seal tracing and inspection for rail movement of unclassified sensitive cargo
- HAZ
- Hazardous Cargo Charge
- HHB
- Handling
- ODF
- Collect on Delivery Deletion Charge
- PBL
- Pier Charges Other Than Wharfage
- SAJ
- Surcharge (Dollar Value)
- SEG
- Segregating (Sorting)
Code defining method of payment
- E
- Collect
- P
- Prepaid
Identification of special charge; this data element is used whenever an applicable code cannot be found in data element 150
Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81
Currency
To specify the currency being used in the transaction set
Business Instructions and Reference Number
To specify instructions in this business relationship or a reference number
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- BM
- Bill of Lading Number
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)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
Example - General Cargo
GS*IO*MAEU*PARTNER*20160411*1116*1968*X*004010~
ST*310*19680001~
B3*2*685830532**CC**20160219*0**20160326*140*MAEU*20160309*PP~
B2A*00~
N9*BM*MAEU685830532~
N9*BN*685830532~
N9*CT*731374~
V1*9349045*MAERSK JUBAIL*HK*1605*MAEU***L~
C3*USD~
N1*SH*ABC COMPANY*25*12448701275~
N2*ABC COMPANY~
N3*ALCOBACA - ALJUBARROTA(SAO VICENTE)* OLHEIROS ALJUBARROTA 2460 ALCOBACA~
N4*Alcobaca**2460*PT~
N1*CN*CUSTOMER A*25*33101076232~
N2*CUSTOMER A~
N3*888 DOREMUS AVE NEWARK NJ 07114~
N4*Newark*NJ*07114*US~
N1*N1*CUSTOMER A*25*331C0022780~
N2*CUSTOMER A~
N3*100 PL FORT WORTH TX 76102~
N4*Fort Worth*TX*76102*US~
N1*FP*CUSTOMER A*25*33101076232~
N2*CUSTOMER A~
N3*888 DOREMUS AVE NEWARK NJ 07114~
N4*Newark*NJ*07114*US~
N1*C9*CUSTOMER A*25*331C0022780~
N2*CUSTOMER A~
N3*100 PL FORT WORTH TX 76102~
N4*Fort Worth*TX*76102*US~
N1*FW*ABC COMPANY*25*12448701275~
N2*ABC COMPANY~
N3*ALCOBACA - ALJUBARROTA(SAO VICENTE)* OLHEIROS ALJUBARROTA 2460 ALCOBACA~
N4*Alcobaca**2460*PT~
R4*R*UN*PTLIS*LISBON*PT~
DTM*140*20160309~
R4*E*UN*USEWR*NEWARK*US***NJ~
DTM*140*20160326~
R4*L*UN*PTLIS*LISBON*PT~
DTM*140*20160309~
R4*D*UN*ESALG*ALGECIRAS*ES~
DTM*140*20160311~
R4*1*UN*USEWR*NEWARK*US***NJ~
DTM*140*20160326~
R2*MAEU*O**********HH~
K1*This EDI message is not an*invoice and does not replace~
K1*or amend official Maersk Line*invoices. All data elements~
K1*on freight and charges,*itemised or aggregated as~
K1*totals, including currency*denominations shown, are for~
K1*informational purposes only.*Accordingly where data~
K1*elements indicate 'Totals' in*any form, these may be shown~
K1*as blank or with '0' (zero)*as the denomination.~
LX*1~
N7*MSKU*057547*12799*G*3880***61.33*X******0040*A*K*0*HH***4110*MAEU~
QTY*39*908*PC~
M7*PT0704016****CA~
N7*PONU*168114*12153*G*3800***56.95*X******0040*A*K*1*HH***4310*MAEU~
QTY*39*840*PC~
M7*PT0704365****CA~
L0*1***17272.000*G*118.280*X*1748*PCS**K~
L5*1*Earthenware POs 527100-527003-527735 FREIGHT~
L5*1*COLLECT ALSO NOTIFY: ABC company - DEW 506~
L5*1*East Dallas Rd, Suite 400 Grapevine, TX 76102~
L5*1*Email: abc@abc.com Phone:~
L5*1*817-305-4000~
L3*17272.000*G*******118.280*X*1748*K~
L11*685830532*BM*Bill of Lading~
SE*66*19680001~
GE*1*1968~
IEA*1*000002003~
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.