Stedi maintains this guide based on public documentation from Maersk. Contact Maersk 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
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
Optional
N9
060
Reference Identification
Max use 15
Optional
V1
070
Vessel Identification
Max use 2
Required
C3
110
Currency
Max use 1
Optional
R2
200
Route Information
Max use 13
Optional
K1
210
Remarks
Max use 12
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
—
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
—
- MAEU
- Maersk Line
- MCPU
- Sealand Maersk Asia Pte. Ltd.
- SEAU
- Sealand Americas
- SEJJ
- Sealand Europe
—
- 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—
- PO
- Purchase Order Number
- PR
- Price Quote Number
- SI
- Shipper's Identifying Number for Shipment (SID)—
V1
070
Heading > V1
Vessel Identification
RequiredMax use 2
—
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
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- AO
- Account Of—
- C9
- Contract Holder—
- CN
- Consignee
- FP
- Name on Credit Card
- FW
- Forwarder
- N1
- Notify Party no. 1
- N2
- Notify Party no. 2
- SH
- Shipper
—
- 25
- Carrier's Customer Code
- 94
- Code assigned by the organization that is the ultimate destination of the transaction set
N1 Loop end
R4 Loop
RequiredMax >1
R4
180
Heading > R4 Loop > R4
Port or Terminal
RequiredMax use 1
—
Example
If either Location Qualifier (R4-02) or Location Identifier (R4-03) is present, then the other is required
—
Usage notes
—
- 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)
R4 Loop end
—
- MAEU
- Maersk Line
- MCPU
- Sealand Maersk Asia Pte. Ltd.
- SEAU
- Sealand Americas
- SEJJ
- Sealand Europe
Heading end
Detail
LX Loop
RequiredMax >1
N7 Loop
OptionalMax >1
N7
020
Detail > LX Loop > N7 Loop > N7
Equipment Details
RequiredMax use 1
—
Example
If either Weight (N7-03) or Weight Qualifier (N7-04) is present, then the other is required
If either Volume (N7-08) or Volume Unit Qualifier (N7-09) is present, then the other is required
If either Tare Weight (N7-05) or Tare Qualifier Code (N7-16) is present, then the other is required
—
- CC
- CFS-to-CFS—
- CD
- CFS-to-Door—
- CP
- CFS-to-Pier—
- DC
- Door-to-CFS—
- HH
- House-to-house
- HP
- House-to-pier
- PC
- Pier-to-CFS—
- PH
- Pier-to-house
- PP
- Pier-to-pier
W09
060
Detail > LX Loop > N7 Loop > W09
Equipment and Temperature
OptionalMax use 1
—
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
L1 Loop
OptionalMax >1
L1
070
Detail > LX Loop > N7 Loop > L1 Loop > L1
Rate and Charges
RequiredMax use 1
—
Example
If either Freight Rate (L1-02) or Rate/Value Qualifier (L1-03) is present, then the other is required
If either Billed/Rated-as Quantity (L1-17) or Billed/Rated-as Qualifier (L1-18) is present, then the other is required
—
- 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
—
Usage notes
—
- 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—
- 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)
L1 Loop end
H1 Loop
OptionalMax >1
H1
130
Detail > LX Loop > N7 Loop > H1 Loop > H1
Hazardous Material
RequiredMax use 1
—
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
H1 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
—
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
—
- BAG
- Bag
- BOX
- Box
- CNT
- Container
- CRT
- Crate
- CTN
- Carton
- DRM
- Drum—
- PCS
- Pieces
- PKG
- Package
- PLT
- Pallet
- ROL
- Roll
L1 Loop
OptionalMax >1
L1
170
Detail > LX Loop > L0 Loop > L1 Loop > L1
Rate and Charges
RequiredMax use 1
—
Example
If either Freight Rate (L1-02) or Rate/Value Qualifier (L1-03) is present, then the other is required
If either Billed/Rated-as Quantity (L1-17) or Billed/Rated-as Qualifier (L1-18) is present, then the other is required
—
- 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
—
- 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—
- 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)
L1 Loop end
L0 Loop end
LX Loop end
Detail end
Summary
L3
010
Summary > L3
Total Weight and Charges
RequiredMax use 1
—
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
—
Example
If either Freight Rate (L1-02) or Rate/Value Qualifier (L1-03) is present, then the other is required
If either Billed/Rated-as Quantity (L1-17) or Billed/Rated-as Qualifier (L1-18) is present, then the other is required
—
- 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
—
- 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—
- 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)
L1 Loop end
L11
070
Summary > L11
Business Instructions and Reference Number
OptionalMax use 1
—
Example
If either Reference Identification (L11-01) or Reference Identification Qualifier (L11-02) is present, then the other is required
At least one of Reference Identification (L11-01) or Description (L11-03) is required
Summary end
EDI Samples
Example - General Cargo
ISA*00* *00* *ZZ*MAEU *ZZ*PARTNER *160411*1116*U*00401*000002003*1*T*>~
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~
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.