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
- ^ Repetition
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code identifying 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 identifying 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)
Code indicating 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
Code indicating 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
Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator
- ^
- Repetition Separator
Code specifying the version number of the interchange control segments
- 00403
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1999
A control number assigned by the interchange sender
Code indicating sender's request for an interchange acknowledgment
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code indicating 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
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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 identifying the issuer of the standard; this code is used in conjunction with Data Element 480
- 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
- 004030
- Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1999
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) is 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
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; (Does not contain blanks or special characters)
Code identifying payment terms for transportation charges
- CC
- Collect
- PP
- Prepaid (by Seller)
- TP
- Third Party Pay
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
- B306 is the billing date.
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 where CC represents the first two digits of the calendar year
- 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.
Code specifying type of date or time, or both date and time
- 035
- Delivered
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
Code specifying the types of services for rating purposes
- DD
- Door-to-Door
Rate applies for shipments in door-to-door service.
- DO
- Door-to-Terminal
Rate applies for shipments in door-to-ocean carrier's port/terminal service.
- DP
- Door-to-Pier
Rate applies for shipments in door-to-ocean carrier's port/terminal pier service.
- OD
- Terminal-to-Door
Rate applies for shipments in ocean carrier's terminal-to-door 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.
Reference Identification
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
Vessel Identification
To provide vessel details and voyage number
Name of ship as documented in "Lloyd's Register of Ships"
Currency
To specify the currency being used in the transaction set
Name
To identify a party by type of organization, name, and code
Additional Name Information
To specify additional names
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)
Name
To identify a party by type of organization, name, and code
Additional Name Information
To specify additional names
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)
Name
To identify a party by type of organization, name, and code
Additional Name Information
To specify additional names
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
- D
- Port of Discharge (Operational)
Port at which cargo is unloaded from vessel.
- E
- Place of Delivery (Contractual)
Place at which cargo leaves its care and custody of carrier.
- L
- Port of Loading (Operational)
Port at which cargo is loaded on vessel.
- R
- Place of Receipt (Contractual)
Place at which cargo enters the care and custody of carrier.
Code identifying type of location
- UN
- United Nations Location Code (UNLOCODE)
- ZZ
- Mutually Defined
Actual
To specify pertinent dates and times
Code specifying type of date or time, or both date and time
- 140
- Actual
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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)
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow
Code indicating the date format, time format, or date and time format
Estimated
To specify pertinent dates and times
Code specifying type of date or time, or both date and time
- 139
- Estimated
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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)
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow
Code indicating the date format, time format, or date and time format
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.
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
Code identifying the volume unit
- E
- Cubic Feet
- X
- Cubic Meters
Seal Numbers
To record seal numbers used and the organization that applied the seals
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
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
Code specifying the weight unit
- E
- Metric Ton
- K
- Kilograms
- L
- Pounds
- T
- Long Ton
Code specifying extent of transportation service requested
Numeric value of quantity
- L013 can only be used if the code in L009 is PLT, SKD, or SLP.
- L013 is used to convey the total number of boxes, cartons, or pieces contained on a pallet, skid, or slip sheet for the line item.
Code for packaging form of the lading quantity
Code indicating a Yes or No condition or response
- L015 designates whether the carrier will be required to verify the number of units contained on a pallet, slip sheet or skid. Code "Y" indicates that the carrier will be required to verify. Code "N" indicates that the carrier will not be required to verify.
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
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
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
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
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
- L305 is the total charges.
Code identifying the volume unit
- E
- Cubic Feet
- X
- Cubic Meters
Number of units (pieces) of the lading commodity
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
Sample
B3**ISEIAH220200003*TEST1234*PP**20220209*182000**20220312*035*MLCW**DD*CFR~
N9*BM*TEST1234~
N9*BN*TEST1234~
N9*PO*123456798~
V1**DANIEL K. INOUYE**056E~
V1**DANIEL K. INOUYE**056E~
C3*USD~
N1*CN*Consignee Name~
N3*AL-BADRANI, AL QATIF*WESTERN SECTOR PLOT NO. 17~
N4*DAMMAM***SA~
N1*LW*Customer Name~
N3*P O Box 671048*Attn A P Special~
N4*HOUSTON*TX*77267*US~
N1*SH*Shipper Name~
N3*By its representative,*ABC International, Inc.~
N4*HOUSTON*TX*77067*US~
R4*L*UN*HOU~
DTM*139*20220301~
R4*D*UN*DMM~
R4*R*UN*HOU~
R4*E*UN*DAMMAM~
LX*1~
N7*MATU*5143400*10000*G****20*X*************40HC~
M7*1029855~
L0*1***10000*G*20*X*2*CTN**K~
L5*1*General Cargo~
L1*1***20000****STF****Container Stuffing~
C3*USD~
L1*2***10000****DRC****Container Drayage~
C3*USD~
L1*3***2000****URC****Transload Fee~
C3*USD~
L1*4***150000****TRF****Transfer Fee~
C3*USD~
L3*10000*G***182000****20*X*2*K~
SE*37*0001~
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.