Stedi maintains this guide based on public documentation from Cargo Smart. Contact Cargo Smart for official EDI specifications. To report any errors in this guide, please contact us.
X12 310 Freight Receipt and Invoice (Ocean)
—
Delimiters
- ~ Segment
- * Element
- > Component
EDI samples
- None included
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
B3
020
Beginning Segment for Carrier's Invoice
Max use 1
Required
B2A
030
Set Purpose
Max use 1
Required
N9
060
Reference Identification
Max use 15
Optional
V1
070
Vessel Identification
Max use 2
Required
G61
170
Contact
Max use 3
Optional
R2
200
Route Information
Max use 13
Optional
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- IO
- Ocean Shipment Billing Details (310, 312, 980)
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
B3
020
Heading > B3
Beginning Segment for Carrier's Invoice
RequiredMax use 1
—
Usage notes
—
Example
If either Delivery Date (B3-09) or Date/Time Qualifier (B3-10) is present, then the other is required
—
- 2
- Sea Waybill
- B
- Bill of Lading for Individual Shipment
—
- BM
- Bill of Lading Number
- BN
- Booking Number
- CR
- Customer Reference Number
- CT
- Contract Number
- FI
- File Identifier
- FN
- Forwarder's/Agent's Reference Number
- IK
- Invoice Number
- PO
- Purchase Order Number
- RF
- Export Reference Number
- SI
- Shipper's Identifying Number for Shipment (SID)
V1
070
Heading > V1
Vessel Identification
RequiredMax use 2
—
Usage notes
—
Example
At least one of Vessel Code (V1-01) or Vessel Name (V1-02) is required
If Vessel Code Qualifier (V1-08) is present, then Vessel Code (V1-01) is required
N1 Loop
RequiredMax >1
N1
130
Heading > N1 Loop > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- CA
- Carrier
- CN
- Consignee
- FW
- Forwarder
- N1
- Notify Party no. 1—
- N2
- Notify Party no. 2—
- SH
- Shipper
N4
160
Heading > N1 Loop > N4
Geographic Location
OptionalMax use 1
—
Usage notes
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N1 Loop end
G61
170
Heading > G61
Contact
OptionalMax use 3
—
Usage notes
—
Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
—
- CA
- Customer Contact Granting Appointment
- CN
- General Contact
- FW
- N1
- N2
- SH
- Shipper Contact
R4 Loop
RequiredMax >1
R4
180
Heading > R4 Loop > R4
Port or Terminal
RequiredMax use 1
—
Usage notes
—
Example
If either Location Qualifier (R4-02) or Location Identifier (R4-03) is present, then the other is required
—
- D
- Port of Discharge (Operational)
- E
- Place of Delivery (Contractual)
- L
- Port of Loading (Operational)
- R
- Place of Receipt (Contractual)
DTM
190
Heading > R4 Loop > DTM
Actual
OptionalMax use 15
—
Usage notes
—
Example
Variants (all may be used)
DTMEstimatedR4 Loop end
C8 Loop
OptionalMax >1
C8
240
Heading > C8 Loop > C8
Certifications and Clauses
RequiredMax use 1
—
Usage notes
—
Example
At least one of Certification/Clause Code (C8-02) or Certification/Clause Text (C8-03) is required
—
- 01
- Shipper's Load and Count
- 02
- Shipper's Load, Stowage and Count
- 03
- Laden on Board
- 04
- Laden on Board Vessel
- 11
- Memo Bill of Lading Only
- 20
- No Shipper's Export Declaration Required (Section 30.39)
- 22
- On Board Rail
- 24
- On Board Vessel
- 25
- Received For Shipment
- 34
- Laden on Board Named Vessel
C8C
250
Heading > C8 Loop > C8C
Certifications Clauses Continuation
OptionalMax use 5
—
Usage notes
—
Example
C8 Loop end
Heading end
Detail
LX Loop
RequiredMax >1
N7 Loop
OptionalMax >1
N7
020
Detail > LX Loop > N7 Loop > N7
Equipment Details
RequiredMax use 1
—
Usage notes
—
Example
If either Weight (N7-03) or Weight Qualifier (N7-04) is present, then the other is required
W09
060
Detail > LX Loop > N7 Loop > W09
Equipment and Temperature
OptionalMax use 1
—
Usage notes
—
Example
If either Temperature (W09-02) or Unit or Basis for Measurement Code (W09-03) is present, then the other is required
—
- CE
- Centigrade, Celsius
- FA
- Fahrenheit
—
- A
- Vent 25% Open
- B
- Vent 50% Open
- C
- Vent 75% Open
- D
- Vent 100% Open
- E
- Closed
L1 Loop
OptionalMax >1
L1
070
Detail > LX Loop > N7 Loop > L1 Loop > L1
Rate and Charges
RequiredMax use 1
—
Usage notes
—
Example
If either Freight Rate (L1-02) or Rate/Value Qualifier (L1-03) is present, then the other is required
L1 Loop end
N7 Loop end
L0 Loop
OptionalMax >1
L0
150
Detail > LX Loop > L0 Loop > L0
Line Item - Quantity and Weight
RequiredMax use 1
—
Usage notes
—
Example
If either Weight (L0-04) or Weight Qualifier (L0-05) is present, then the other is required
If either Volume (L0-06) or Volume Unit Qualifier (L0-07) is present, then the other is required
If either Lading Quantity (L0-08) or Packaging Form Code (L0-09) is present, then the other is required
If Weight Unit Code (L0-11) is present, then Weight (L0-04) is required
L5
160
Detail > LX Loop > L0 Loop > L5
Description, Marks and Numbers
OptionalMax use 999
—
Usage notes
—
Example
H1 Loop
OptionalMax >1
H1
230
Detail > LX Loop > L0 Loop > H1 Loop > H1
Hazardous Material
RequiredMax use 1
—
Usage notes
—
Example
If either Flashpoint Temperature (H1-07) or Unit or Basis for Measurement Code (H1-08) is present, then the other is required
—
- I
- Intergovernmental Maritime Organization (IMO) Code
H2
240
Detail > LX Loop > L0 Loop > H1 Loop > H2
Additional Hazardous Material Description
OptionalMax use 10
—
Usage notes
—
Example
H1 Loop end
L0 Loop end
LX Loop end
Detail end
Summary
L3
010
Summary > L3
Total Weight and Charges
RequiredMax use 1
—
Usage notes
—
Example
If either Volume (L3-09) or Volume Unit Qualifier (L3-10) is present, then the other is required
If Weight Unit Code (L3-12) is present, then Weight (L3-01) is required
L1 Loop
OptionalMax >1
L1
030
Summary > L1 Loop > L1
Rate and Charges
RequiredMax use 1
—
Usage notes
—
Example
If either Freight Rate (L1-02) or Rate/Value Qualifier (L1-03) is present, then the other is required
L1 Loop end
Summary end
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.