Hiring We're hiring founding sales & engineers building the future of the world's most critical industry. Open roles
X12 204 · Maersk

Maersk 204 spec

Shipper / broker → carrier Partner variant

Maersk requires a specific flavor of the X12 204 (Motor Carrier Load Tender). This is the exact specification Melrose maintains for them — compare it against the generic 204 spec.

What's different

How Maersk's 204 differs from generic X12.

Maersk 204 vs. the generic X12 204

Segment-level deltas Melrose accounts for automatically.

Added (1)

AT5 segment

Not used (4)

MS3 segment
PLD segment
0200 segment
L3 segment

Changed (3)

B2 · 12→8 elements, 2→0 required
B2A · 1→0 required
0300 · repeats 1→999

Segment specification

Maersk's 204, segment by segment.

ST Transaction Set Header Required 2 elements 2 required

To indicate the start of a transaction set and assign a control number

Element ID Req Length Values
Transaction Set Identifier Number E143 Required 3
298 values
100 Insurance Plan Description
101 Name and Address Lists
104 Air Shipment Information
105 Business Entity Filings
106 Motor Carrier Rate Proposal
107 Request for Motor Carrier Rate Proposal
108 Response to a Motor Carrier Rate Proposal
109 Vessel Content Details
110 Air Freight Details and Invoice
112 Property Damage Report
120 Vehicle Shipping Order
121 Vehicle Service
124 Vehicle Damage
125 Multilevel Railcar Load Details
126 Vehicle Application Advice
127 Vehicle Baying Order
128 Dealer Information
129 Vehicle Carrier Rate Update
130 Student Educational Record (Transcript)
131 Student Educational Record (Transcript) Acknowledgment
135 Student Loan Application
138 Testing Results Request and Report
139 Student Loan Guarantee Result
140 Product Registration
141 Product Service Claim Response
142 Product Service Claim
143 Product Service Notification
144 Student Loan Transfer and Status Verification
146 Request for Student Educational Record (Transcript)
147 Response to Request for Student Educational Record (Transcript)
148 Report of Injury, Illness or Incident
149 Notice of Tax Adjustment or Assessment
150 Tax Rate Notification
151 Electronic Filing of Tax Return Data Acknowledgment
152 Statistical Government Information
153 Unemployment Insurance Tax Claim or Charge Information
154 Uniform Commercial Code Filing
155 Business Credit Report
157 Notice of Power of Attorney
159 Motion Picture Booking Confirmation
160 Transportation Automatic Equipment Identification
161 Train Sheet
163 Transportation Appointment Schedule Information
170 Revenue Receipts Statement
175 Court and Law Enforcement Notice
176 Court Submission
180 Return Merchandise Authorization and Notification
185 Royalty Regulatory Report
186 Insurance Underwriting Requirements Reporting
188 Educational Course Inventory
189 Application for Admission to Educational Institutions
190 Student Enrollment Verification
191 Student Loan Pre-Claims and Claims
194 Grant or Assistance Application
195 Federal Communications Commission (FCC) License Application
196 Contractor Cost Data Reporting
197 Real Estate Title Evidence
198 Loan Verification Information
199 Real Estate Settlement Information
200 Mortgage Credit Report
201 Residential Loan Application
202 Secondary Mortgage Market Loan Delivery
203 Secondary Mortgage Market Investor Report
204 Motor Carrier Load Tender
205 Mortgage Note
206 Real Estate Inspection
210 Motor Carrier Freight Details and Invoice
211 Motor Carrier Bill of Lading
212 Motor Carrier Delivery Trailer Manifest
213 Motor Carrier Shipment Status Inquiry
214 Transportation Carrier Shipment Status Message
215 Motor Carrier Pick-up Manifest
216 Motor Carrier Shipment Pick-up Notification
217 Motor Carrier Loading and Route Guide
218 Motor Carrier Tariff Information
219 Logistics Service Request
220 Logistics Service Response
222 Cartage Work Assignment
223 Consolidators Freight Bill and Invoice
224 Motor Carrier Summary Freight Bill Manifest
225 Response to a Cartage Work Assignment
242 Data Status Tracking
244 Product Source Information
248 Account Assignment/Inquiry and Service/Status
249 Animal Toxicological Data
250 Purchase Order Shipment Management Document
251 Pricing Support
252 Insurance Producer Administration
255 Underwriting Information Services
256 Periodic Compensation
260 Application for Mortgage Insurance Benefits
261 Real Estate Information Request
262 Real Estate Information Report
263 Residential Mortgage Insurance Application Response
264 Mortgage Loan Default Status
265 Real Estate Title Insurance Services Order
266 Mortgage or Property Record Change Notification
267 Individual Life, Annuity and Disability Application
268 Annuity Activity
270 Eligibility, Coverage or Benefit Inquiry
271 Eligibility, Coverage or Benefit Information
272 Property and Casualty Loss Notification
273 Insurance/Annuity Application Status
275 Patient Information
276 Health Care Claim Status Request
277 Health Care Claim Status Notification
278 Health Care Services Review Information
280 Voter Registration Information
285 Commercial Vehicle Safety and Credentials Information Exchange
286 Commercial Vehicle Credentials
288 Wage Determination
290 Cooperative Advertising Agreements
300 Reservation (Booking Request) (Ocean)
301 Confirmation (Ocean)
303 Booking Cancellation (Ocean)
304 Shipping Instructions
306 Dock Receipt
309 U.S. Customs Manifest
310 Freight Receipt and Invoice (Ocean)
311 Canadian Customs Information
312 Arrival Notice (Ocean)
313 Shipment Status Inquiry (Ocean)
315 Status Details (Ocean)
317 Delivery/Pickup Order
319 Terminal Information
321 Demurrage Guarantee (Ocean)
322 Terminal Operations and Intermodal Ramp Activity
323 Vessel Schedule and Itinerary (Ocean)
324 Vessel Stow Plan (Ocean)
325 Consolidation of Goods in Container
326 Consignment Summary List
350 U.S. Customs Status Information
352 U.S. Customs Carrier General Order Status
353 U.S. Customs Events Advisory Details
354 U.S. Customs Automated Manifest Archive Status
355 U.S. Customs Acceptance/Rejection
356 U.S. Customs Permit to Transfer Request
357 U.S. Customs In-Bond Information
358 U.S. Customs Consist Information
361 Carrier Interchange Agreement (Ocean)
362 Cargo Insurance Advice of Shipment
404 Rail Carrier Shipment Information
410 Rail Carrier Freight Details and Invoice
411 Freight Details and Invoice Summary (Rail)
414 Rail Carhire Settlements
417 Rail Carrier Waybill Interchange
418 Rail Advance Interchange Consist
419 Advance Car Disposition
420 Car Handling Information
421 Estimated Time of Arrival and Car Scheduling
422 Shipper's Car Order
423 Rail Industrial Switch List
425 Rail Waybill Request
426 Rail Revenue Waybill
429 Railroad Retirement Activity
431 Railroad Station Master File
432 Rail Deprescription
433 Railroad Reciprocal Switch File
434 Railroad Mark Register Update Activity
435 Standard Transportation Commodity Code Master
436 Locomotive Information
437 Railroad Junctions and Interchanges Activity
440 Shipment Weights
451 Railroad Event Report
452 Railroad Problem Log Inquiry or Advice
453 Railroad Service Commitment Advice
455 Railroad Parameter Trace Registration
456 Railroad Equipment Inquiry or Advice
460 Railroad Price Distribution Request or Response
463 Rail Rate Reply
466 Rate Request
468 Rate Docket Journal Log
470 Railroad Clearance
475 Rail Route File Maintenance
485 Ratemaking Action
486 Rate Docket Expiration
490 Rate Group Definition
492 Miscellaneous Rates
494 Scale Rate Table
500 Medical Event Reporting
501 Vendor Performance Review
503 Pricing History
504 Clauses and Provisions
511 Requisition
517 Material Obligation Validation
521 Income or Asset Offset
527 Material Due-In and Receipt
536 Logistics Reassignment
540 Notice of Employment Status
561 Contract Abstract
567 Contract Completion Status
568 Contract Payment Management Report
601 U.S. Customs Export Shipment Information
602 Transportation Services Tender
620 Excavation Communication
622 Intermodal Ramp Activity
625 Well Information
650 Maintenance Service Order
715 Intermodal Group Loading Plan
805 Contract Pricing Proposal
806 Project Schedule Reporting
810 Invoice
811 Consolidated Service Invoice/Statement
812 Credit/Debit Adjustment
813 Electronic Filing of Tax Return Data
814 General Request, Response or Confirmation
815 Cryptographic Service Message
816 Organizational Relationships
818 Commission Sales Report
819 Operating Expense Statement
820 Payment Order/Remittance Advice
821 Financial Information Reporting
822 Account Analysis
823 Lockbox
824 Application Advice
826 Tax Information Exchange
827 Financial Return Notice
828 Debit Authorization
829 Payment Cancellation Request
830 Planning Schedule with Release Capability
831 Application Control Totals
832 Price/Sales Catalog
833 Mortgage Credit Report Order
834 Benefit Enrollment and Maintenance
835 Health Care Claim Payment/Advice
836 Procurement Notices
837 Health Care Claim
838 Trading Partner Profile
839 Project Cost Reporting
840 Request for Quotation
841 Specifications/Technical Information
842 Nonconformance Report
843 Response to Request for Quotation
844 Product Transfer Account Adjustment
845 Price Authorization Acknowledgment/Status
846 Inventory Inquiry/Advice
847 Material Claim
848 Material Safety Data Sheet
849 Response to Product Transfer Account Adjustment
850 Purchase Order
851 Asset Schedule
852 Product Activity Data
853 Routing and Carrier Instruction
854 Shipment Delivery Discrepancy Information
855 Purchase Order Acknowledgment
856 Ship Notice/Manifest
857 Shipment and Billing Notice
858 Shipment Information
859 Freight Invoice
860 Purchase Order Change Request - Buyer Initiated
861 Receiving Advice/Acceptance Certificate
862 Shipping Schedule
863 Report of Test Results
864 Text Message
865 Purchase Order Change Acknowledgment/Request - Seller Initiated
866 Production Sequence
867 Product Transfer and Resale Report
868 Electronic Form Structure
869 Order Status Inquiry
870 Order Status Report
871 Component Parts Content
872 Residential Mortgage Insurance Application
875 Grocery Products Purchase Order
876 Grocery Products Purchase Order Change
877 Manufacturer Coupon Family Code Structure
878 Product Authorization/De-Authorization
879 Price Information
880 Grocery Products Invoice
881 Manufacturer Coupon Redemption Detail
882 Direct Store Delivery Summary Information
883 Market Development Fund Allocation
884 Market Development Fund Settlement
885 Retail Account Characteristics
886 Customer Call Reporting
887 Coupon Notification
888 Item Maintenance
889 Promotion Announcement
891 Deduction Research Report
893 Item Information Request
894 Delivery/Return Base Record
895 Delivery/Return Acknowledgment or Adjustment
896 Product Dimension Maintenance
920 Loss or Damage Claim - General Commodities
924 Loss or Damage Claim - Motor Vehicle
925 Claim Tracer
926 Claim Status Report and Tracer Reply
928 Automotive Inspection Detail
940 Warehouse Shipping Order
943 Warehouse Stock Transfer Shipment Advice
944 Warehouse Stock Transfer Receipt Advice
945 Warehouse Shipping Advice
947 Warehouse Inventory Adjustment Advice
980 Functional Group Totals
990 Response To a Load Tender
994 Administrative Message
996 File Transfer
997 Functional Acknowledgment
998 Set Cancellation
Transaction Set Control Number E329 Required 4-9 Free text
B2 Beginning Segment for Shipment Information Transaction Required 8 elements

To transmit basic data relating to shipment information

Element ID Req Length Values
Tariff Service Code E375 Optional 2 Free text
Standard Carrier Alpha Code E140 Optional 2-4 Free text
Standard Point Location Code E154 Optional 6-9 Free text
Shipment Identification Number E145 Optional 1-30 Free text
Weight Unit Code E188 Optional 1
8 values
E Metric Ton
G Grams
M Measurement Ton
O Ounces
S Short Ton
T Long Ton
L Pounds
K Kilograms
Shipment Method of Payment E146 Optional 2
5 values
CC Collect
PC Prepaid but Charged to Customer
PP Prepaid (by Seller)
PU Pickup
TP Third Party Pay
Shipment Qualifier E147 Optional 1 Free text
Total Equipment E86 Optional 1-3 Free text
B2A Set Purpose Required 2 elements

To allow for positive identification of transaction set purpose

Element ID Req Length Values
Transaction Set Purpose Code E353Maersk204 Optional 2
3 values
00 Original
01 Cancellation
04 Change
Application Type E346 Optional 2
3 values
LT Load Tender - Truckload (TL) Carrier Only
PC Partial Load Tender - Carrier Consolidate
ZZ Mutually Defined
L11 Business Instructions and Reference Number Optional 3 elements

To specify instructions in this business relationship or a reference number

Element ID Req Length Values
Reference Identification E127 Optional 1-30 Free text
Reference Identification Qualifier E128Maersk204 Optional 2-3
8 values
CR Customer Reference Number
V3 Voyage Number
WU Vessel
TH Trip mode (round trip (rt) one way (ow)
BM Bill of Lading Number
P8 Pickup Reference Number
WO Work Order Number
ZH Carrier Assigned Reference Number
Description E352 Optional 1-80 Free text
G62 Date/Time Optional 5 elements

To specify pertinent dates and times

Element ID Req Length Values
Date Qualifier E432Maersk204 Optional 2
4 values
77 Pickup Appointment Scheduled Date
78 Delivery Appointment Scheduled Date
89 First Arrival Date
CA Cutoff Date
Date E373 Optional 8 Free text
Time Qualifier E176Maersk204 Optional 1-2
4 values
2 Pickup Appointment Scheduled Time
3 Delivery Appointment Scheduled Time
EP Earliest Pickup Time
LD Latest Delivery Time
Time E337 Optional 4 Free text
Time Code E623 Optional 2
56 values
10 Equivalent to ISO P10
11 Equivalent to ISO P11
12 Equivalent to ISO P12
13 Equivalent to ISO M12
14 Equivalent to ISO M11
15 Equivalent to ISO M10
16 Equivalent to ISO M09
17 Equivalent to ISO M08
18 Equivalent to ISO M07
19 Equivalent to ISO M06
20 Equivalent to ISO M05
21 Equivalent to ISO M04
22 Equivalent to ISO M03
23 Equivalent to ISO M02
24 Equivalent to ISO M01
25 Equivalent to ISO M2:30
26 Equivalent to ISO M3:30
27 Equivalent to ISO P5:30
28 Equivalent to ISO P9:30
29 Equivalent to ISO P10:30
01 Equivalent to ISO P01
02 Equivalent to ISO P02
03 Equivalent to ISO P03
04 Equivalent to ISO P04
05 Equivalent to ISO P05
06 Equivalent to ISO P06
07 Equivalent to ISO P07
08 Equivalent to ISO P08
09 Equivalent to ISO P09
AD Alaska Daylight Time
AS Alaska Standard Time
AT Alaska Time
CD Central Daylight Time
CS Central Standard Time
CT Central Time
ED Eastern Daylight Time
ES Eastern Standard Time
ET Eastern Time
GM Greenwich Mean Time
HD Hawaii-Aleutian Daylight Time
HS Hawaii-Aleutian Standard Time
HT Hawaii-Aleutian Time
LT Local Time
MD Mountain Daylight Time
MS Mountain Standard Time
MT Mountain Time
ND Newfoundland Daylight Time
NS Newfoundland Standard Time
NT Newfoundland Time
PD Pacific Daylight Time
PS Pacific Standard Time
PT Pacific Time
TD Atlantic Daylight Time
TS Atlantic Standard Time
TT Atlantic Time
UT Universal Time Coordinate
AT5 Bill of Lading Handling Requirements Optional 1 element

To identify Bill of Lading handling and service requirements

Element ID Req Length Values
Special Handling Code E152Maersk204 Optional 2-3
6 values
DM Domestic
IP Import Shipment
XP Export
EMT Empty Movement
TRM Terminal
IB In-bond
NTE Note/Special Instruction Optional 2 elements 1 required

To transmit information in a free-form format, if necessary, for comment or special instruction

Element ID Req Length Values
Note Reference Code E363 Optional 3
1 value
ZZZ Mutually Defined
Description E352 Required 1-80 Free text
0100 Loop 4 segments repeats ×5
N1 Name Optional 4 elements

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

Element ID Req Length Values
Entity Identifier Code E98Maersk204 Optional 2-3
2 values
SH Shipper
UC Ultimate Consignee
Name E93 Optional 1-60 Free text
Identification Code Qualifier E66 Optional 1-2
217 values
1 D-U-N-S Number, Dun & Bradstreet
2 Standard Carrier Alpha Code (SCAC)
3 Federal Maritime Commission (Ocean) (FMC)
4 International Air Transport Association (IATA)
5 SIRET
6 Plant Code
7 Loading Dock
8 UCC/EAN Global Product Identification Prefix
9 D-U-N-S+4, D-U-N-S Number with Four Character Suffix
10 Department of Defense Activity Address Code (DODAAC)
11 Drug Enforcement Administration (DEA)
12 Telephone Number (Phone)
13 Federal Reserve Routing Code (FRRC)
14 UCC/EAN Location Code Prefix
15 Standard Address Number (SAN)
16 ZIP Code
17 Automated Broker Interface (ABI) Routing Code
18 Automotive Industry Action Group (AIAG)
19 FIPS-55 (Named Populated Places)
20 Standard Point Location Code (SPLC)
21 Health Industry Number (HIN)
22 Council of Petroleum Accounting Societies code (COPAS)
23 Journal of Commerce (JOC)
24 Employer's Identification Number
25 Carrier's Customer Code
26 Petroleum Accountants Society of Canada Company Code
27 Government Bill Of Lading Office Code (GBLOC)
28 American Paper Institute
29 Grid Location and Facility Code
30 American Petroleum Institute Location Code
31 Bank Identification Code
32 Assigned by Property Operator
33 Commercial and Government Entity (CAGE)
34 Social Security Number
35 Electronic Mail Internal System Address Code
36 Customs House Broker License Number
37 United Nations Vendor Code
38 Country Code
39 Local Union Number
40 Electronic Mail User Code
41 Telecommunications Carrier Identification Code
42 Telecommunications Pseudo Carrier Identification Code
43 Alternate Social Security Number
44 Return Sequence Number
45 Declaration Control Number
46 Electronic Transmitter Identification Number (ETIN)
47 Tax Authority Identification
48 Electronic Filer Identification Number (EFIN)
49 State Identification Number
50 Business License Number
53 Building
54 Warehouse
55 Post Office Box
56 Division
57 Department
58 Originating Company Number
59 Receiving Company Number
61 Holding Mortgagee Number
62 Servicing Mortgagee Number
63 Servicer-holder Mortgagee Number
64 One Call Agency
71 Integrated Postsecondary Education Data System (IPEDS) set of codes maintained by the U.S. Department of Education's National Center of Education Statistics, Washington, D.C.
72 The College Board's Admission Testing Program (ATP), administered by the Educational Testing Service (ETS), 4-digit list of postsecondary educational institutions
73 Federal Interagency Commission on Education (FICE) number. Available from the United States Department of Education, National Center for Education Statistics
74 American College Testing (ACT) list of postsecondary educational institutions
75 State or Province Assigned Number
76 Local School District or Jurisdiction Number
77 National Center for Education Statistics (NCES) Common Core of Data (CCD) number for PreK - 12 institutions
78 The College Board and ACT 6 digit code list of secondary educational institutions
81 Classification of Instructional Programs (CIP) coding structure maintained by the U.S. Department of Education's National Center for Education Statistics
82 Higher Education General Information Survey (HEGIS) maintained by the U.S. Department of Education's National Center for Education Statistics
90 California Ethnic Subgroups Code Table
91 Assigned by Seller or Seller's Agent
92 Assigned by Buyer or Buyer's Agent
93 Code assigned by the organization originating the transaction set
94 Code assigned by the organization that is the ultimate destination of the transaction set
95 Assigned By Transporter
96 Assigned By Pipeline Operator
97 Receiver's Code
98 Purchasing Office
99 Office of Workers Compensation Programs (OWCP) Agency Code
A U.S. Customs Carrier Identification
C Insured's Changed Unique Identification Number
D Census Schedule D
E Hazard Insurance Policy Number
F Document Custodian Identification Number
G Payee Identification Number
I Secondary Marketing Investor Assigned Number
J Mortgage Electronic Registration System Organization Identifier
K Census Schedule K
L Investor Assigned Identification Number
N Insured's Unique Identification Number
S Title Insurance Policy Number
01 Nissan Billing Code
A1 Approver ID
A2 Military Assistance Program Address Code (MAPAC)
A3 Assigned by Third Party
A4 Assigned by Clearinghouse
A5 Committee for Uniform Security Identification Procedures (CUSIP) Number
A6 Financial Identification Numbering System (FINS) Number
AA Postal Service Code
AB US Environmental Protection Agency (EPA) Identification Number
AC Attachment Control Number
AD Blue Cross Blue Shield Association Plan Code
AE Alberta Energy Resources Conservation Board
AL Anesthesia License Number
AP Alberta Petroleum Marketing Commission
BC British Columbia Ministry of Energy Mines and Petroleum Resources
BD Blue Cross Provider Number
BE Common Language Location Identification (CLLI)
BG Badge Number
BP Benefit Plan
BS Blue Shield Provider Number
C1 Insured or Subscriber
C2 Health Maintenance Organization (HMO) Provider Number
C5 Customer Identification File
CA Statistics Canada Canadian College Student Information System Course Codes
CB Statistics Canada Canadian College Student Information System Institution Codes
CC Statistics Canada University Student Information System Curriculum Codes
CD Contract Division
CE Bureau of the Census Filer Identification Code
CF Canadian Financial Institution Routing Number
CI CHAMPUS (Civilian Health and Medical Program of the Uniformed Services) Identification Number
CL Corrected Loan Number
CM U.S. Customs Service (USCS) Manufacturer Identifier (MID)
CP Canadian Petroleum Association
CR Credit Repository
CS Statistics Canada University Student Information System University Codes
CT Court Identification Code
DG United States Department of Education Guarantor Identification Code
DL United States Department of Education Lender Identification Code
DN Dentist License Number
DP Data Processing Point
DS United States Department of Education School Identification Code
EC ARI Electronic Commerce Location ID Code
EH Theatre Number
EI Employee Identification Number
EP U.S. Environmental Protection Agency (EPA)
EQ Insurance Company Assigned Identification Number
ER Mortgagee Assigned Identification Number
ES Automated Export System (AES) Filer Identification Code
FA Facility Identification
FB Field Code
FC Federal Court Jurisdiction Identifier
FD Federal Court Divisional Office Number
FI Federal Taxpayer's Identification Number
FJ Federal Jurisdiction
FN U.S. Environmental Protection Agency (EPA) Laboratory Certification Identification
GA Primary Agent Identification
GC GAS*CODE
HC Health Care Financing Administration
HN Health Insurance Claim (HIC) Number
II United States National Individual Identifier
LC Agency Location Code (U.S. Government)
LD NISO Z39.53 Language Codes
LE ISO 639 Language Codes
LI Labeler Identification Code (LIC)
LN Loan Number
M3 Disbursing Station
M4 Department of Defense Routing Identifier Code (RIC)
M5 Jurisdiction Code
M6 Division Office Code
MA Mail Stop
MB Medical Information Bureau
MC Medicaid Provider Number
MD Manitoba Department of Mines and Resources
MI Member Identification Number
MK Market
ML Multiple Listing Service Vendor - Multiple Listing Service Identification
MN Mortgage Identification Number
MP Medicare Provider Number
MR Medicaid Recipient Identification Number
NA National Association of Realtors - Multiple Listing Service Identification
ND Mode Designator
NI National Association of Insurance Commissioners (NAIC) Identification
NO National Criminal Information Center Originating Agency
OC Occupation Code
OP On-line Payment and Collection
PA Secondary Agent Identification
PB Public Identification
PC Provider Commercial Number
PI Payor Identification
PP Pharmacy Processor Number
PR Pier
RA Regulatory Agency Number
RB Real Estate Agent
RC Real Estate Company
RD Real Estate Broker Identification
RE Real Estate License Number
RT Railroad Track
SA Tertiary Agent Identification
SB Social Insurance Number
SD Saskatchewan Department of Energy Mines and Resources
SF Suffix Code
SI Standard Industry Code (SIC)
SJ State Jurisdiction
SL State License Number
SP Specialty License Number
ST State/Province License Tag
SV Service Provider Number
SW Society for Worldwide Interbank Financial Telecommunications (SWIFT) Address
TA Taxpayer ID Number
TC Internal Revenue Service Terminal Code
TZ Department Code
UC Consumer Credit Identification Number
UL UCC/EAN Location Code
UM UCC/EAN Location Code Suffix
UP Unique Physician Identification Number (UPIN)
UR Uniform Resource Locator (URL)
US Unique Supplier Identification Number (USIN)
WR Wine Region Code
XV Health Care Financing Administration National Payer Identification Number (PAYERID)
XX Health Care Financing Administration National Provider Identifier
ZC Contractor Establishment Code
ZN Zone
ZY Temporary Identification Number
ZZ Mutually Defined
Identification Code E67 Optional 2-80 Free text
N3 Address Information Optional 2 elements 1 required

To specify the location of the named party

Element ID Req Length Values
Address Information E166 Required 1-55 Free text
Address Information E166 Optional 1-55 Free text
N4 Geographic Location Optional 6 elements

To specify the goegraphic place of the named party

Element ID Req Length Values
City Name E19 Optional 2-30 Free text
State or Province Code E156 Optional 2
1 value
_code_list_id 22
Postal Code E116 Optional 3-15
1 value
_code_list_id 51
Country Code E26 Optional 2-3
1 value
_code_list_id 5
Location Qualifier E309 Cond. 1-2
184 values
10 Nearest Cross Street
11 Secondary Cross Street
12 Range
13 Section
14 Quarter Section
18 Marker Identifier Location
19 Route
20 Route Subdivision
21 Grid Location
22 Page
27 Marker Type
28 Latitude-Longitude Source
29 Map Source
30 Map Reference
31 Grid Source
32 Aliquot
33 Block
34 District
35 Drainhole Number
36 City Block
38 Footage Call Direction
39 Location Direction
40 Outer Continental Lease Location
41 Lot
42 Map Quadrangle
43 Principal Meridian
44 Outer Continental Shelf Area
45 Outer Continental Shelf Block
46 Official Protraction Diagram
47 Quarter Quarter Quarter Section
48 Quarter Quarter Section
49 Section Type
50 Abstract
52 Labor
53 League
54 Survey
55 Tier
57 Tract
58 Universal Transverse Mercator Quadrant
59 Course Direction
60 Area
93 Sender's Location Code
94 Receiver's Location Code
A Jurisdiction to Receive Credit for Uniform Commercial Code Filing
B Transmitting Utility
C Consignor
D Census Schedule D
E Uniform Commercial Code Filing Office
F Current Address
G Census Block Group
H Home Address
I Home Base Address
J Census Tract
K Census Schedule K
L Local Address
M Mailing Address
O Office Address
P Permanent Address
Q Birthplace
W Worldwide Geographic Location Code
A1 Office
AA Annual Statements Mailing Address
AC City and State
AP All Points
AR Armed Services Location Designation
B1 Branch
BE Business Economic Area (BEA) Region Code
BL Government Bill of Lading Office Code (GBLOC)
BS Place of Business
C2 Geopolitical Name Code
CA Country of Origin
CB Confirmation Mailing Address
CC Country
CD Canada Customs Office Code
CE Correspondence Mailing Address
CG Congressional District
CI City
CL National Rate Basis (NRB)
CM Consolidated Metropolitan Statistical Area (CMSA)
CO County/Parish and State
CR In Tank Car
CS Canadian SPLC
CY County/Parish
DC Distribution Center Number
DE Destination (Shipping)
DL Delivery Location
DO District Office
DP Department
DR District of Residence
DT Domicile Type Code
EA Event Location
EB Borough
EL Employer Location
FA Factory
FE Freight Equalization Point
FF Foreign Freight Forwarder Location
FI Federal Information Processing Standards (FIPS) 55 (Named Populated Places)
FR U.S. Custom's Facilities Information and Resource Management Systems (FIRMS)
FS Freight Station Accounting Code
FT Foreign Trade Zone
FV Free Alongside Vessel (Free On Board [F.O.B.] Point)
GL Freight Station Geographic Location
IA International Air Transport Association (IATA) Location Qualifier
IB Issue Location
IM Military Standard Movement Procedures (MILSTAMP)
IP Postal
IS In Store
IT Intermediate FOB Point
KE Port of Embarkation
KL Port of Loading
KP Government Furnished Property FOB Point
LO Local Office
MI Mill
MO Main Campus
MS Metropolitan Sampling Area (MSA) Region Code
MZ Mexican Postal Code
NS City/State from Points
OA Origin (After Loading on Equipment)
OF Other Unlisted Free On Board (FOB) Point
OL Open and Prepay Station List Code(SCAC & Number)
OP Other Unlisted Acceptance Point
OR Origin (Shipping Point)
OV On Vessel (Free On Board [FOB] point)
PA Port of Arrival
PB Port of Discharge
PC Policy Mailing Address
PD Place of Delivery
PE Port of Entry
PF Parents Address
PG Primary
PH Prior Business
PL Plant
PM Primary Metropolitan Statistical Area (PMSA)
PO Principal Servicing Office
PP Pool Point
PQ 3 Digit U.S. ZIP
PR 4 Digit U.S. ZIP
PS 5 Digit U.S. ZIP
PT 3 Digit Canadian Postal Code
PU 6 Digit Canadian Postal Code
PV 9 DIGIT U.S. ZIP
PZ 11 DIGIT U.S. ZIP
RA Rate Area Code
RC In Rail Car
RE Regional Education Service Agency
RG Region Code
RJ Region
RL Rural
RS Standard Carrier Alpha Code
RT Route Administrative Message To
SA Secondary
SB Suburban
SC City/State and Points Within
SD School District
SE Summer
SG Storage
SH School Campus Code
SL U.S. SPLC
SN Store Number
SP State/Province
SS School
ST In Storage Tank
SW Switching District
TA Tank
TC Transcontinental Freight Bureau
TI Tribal Land
TL Terminal Cargo Location
TM Terminal
TN Township
TP Temporary
TR Rail Territory
TX Taxing District
UN United Nations Location Code (UNLOCODE)
UR Urban
UT Business Unit
VA Vacation
VI Village
VS Vessel Stowage Location
WF Wharf
WH Warehouse
WI Winter
X1 National Center for Education Statistics Locale Code
ZN Zone Code
ZZ Mutually Defined
Location Identifier E310 Optional 1-30 Free text
G61 Contact Optional 4 elements

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

Element ID Req Length Values
Contact Function Code E366Maersk204 Optional 2
4 values
BI Bill Inquiry Contact
CA Customer Contact Granting Appointment
DC Delivery Contact
HM Hazardous Material Contact
Name E93 Optional 1-60 Free text
Communcation Number Qualifier E365 Optional 2
4 values
EM Electronic Mail
EX Telephone Extension
FX Facsimile
TE Telephone
Communication Number E364 Optional 1-80 Free text
0300 Loop 8 segments repeats ×999
S5 Stop Off Details Required 2 elements

To specify stop-off detail reference numbers and stop reason

Element ID Req Length Values
Stop Sequence Number E165 Optional 1-3 Free text
Stop Reason Code E163Maersk204 Optional 2
1 value
PA Pick-up Pre-loaded Equipment
L11 Business Instructions and Reference Number Optional 3 elements

To specify instructions in this business relationship or a reference number

Element ID Req Length Values
Reference Identification E127 Optional 1-30 Free text
Reference Identification Qualifier E128Maersk204 Optional 2-3
8 values
CR Customer Reference Number
V3 Voyage Number
WU Vessel
TH Trip mode (round trip (rt) one way (ow)
BM Bill of Lading Number
P8 Pickup Reference Number
WO Work Order Number
ZH Carrier Assigned Reference Number
Description E352 Optional 1-80 Free text
G62 Date/Time Optional 5 elements

To specify pertinent dates and times

Element ID Req Length Values
Date Qualifier E432Maersk204 Optional 2
4 values
77 Pickup Appointment Scheduled Date
78 Delivery Appointment Scheduled Date
89 First Arrival Date
CA Cutoff Date
Date E373 Optional 8 Free text
Time Qualifier E176Maersk204 Optional 1-2
4 values
2 Pickup Appointment Scheduled Time
3 Delivery Appointment Scheduled Time
EP Earliest Pickup Time
LD Latest Delivery Time
Time E337 Optional 4 Free text
Time Code E623 Optional 2
56 values
10 Equivalent to ISO P10
11 Equivalent to ISO P11
12 Equivalent to ISO P12
13 Equivalent to ISO M12
14 Equivalent to ISO M11
15 Equivalent to ISO M10
16 Equivalent to ISO M09
17 Equivalent to ISO M08
18 Equivalent to ISO M07
19 Equivalent to ISO M06
20 Equivalent to ISO M05
21 Equivalent to ISO M04
22 Equivalent to ISO M03
23 Equivalent to ISO M02
24 Equivalent to ISO M01
25 Equivalent to ISO M2:30
26 Equivalent to ISO M3:30
27 Equivalent to ISO P5:30
28 Equivalent to ISO P9:30
29 Equivalent to ISO P10:30
01 Equivalent to ISO P01
02 Equivalent to ISO P02
03 Equivalent to ISO P03
04 Equivalent to ISO P04
05 Equivalent to ISO P05
06 Equivalent to ISO P06
07 Equivalent to ISO P07
08 Equivalent to ISO P08
09 Equivalent to ISO P09
AD Alaska Daylight Time
AS Alaska Standard Time
AT Alaska Time
CD Central Daylight Time
CS Central Standard Time
CT Central Time
ED Eastern Daylight Time
ES Eastern Standard Time
ET Eastern Time
GM Greenwich Mean Time
HD Hawaii-Aleutian Daylight Time
HS Hawaii-Aleutian Standard Time
HT Hawaii-Aleutian Time
LT Local Time
MD Mountain Daylight Time
MS Mountain Standard Time
MT Mountain Time
ND Newfoundland Daylight Time
NS Newfoundland Standard Time
NT Newfoundland Time
PD Pacific Daylight Time
PS Pacific Standard Time
PT Pacific Time
TD Atlantic Daylight Time
TS Atlantic Standard Time
TT Atlantic Time
UT Universal Time Coordinate
AT5 Bill of Lading Handling Requirements Optional 1 element

To identify Bill of Lading handling and service requirements

Element ID Req Length Values
Special Handling Code E152Maersk204 Optional 2-3
6 values
DM Domestic
IP Import Shipment
XP Export
EMT Empty Movement
TRM Terminal
IB In-bond
NTE Note/Special Instruction Optional 2 elements 1 required

To transmit information in a free-form format, if necessary, for comment or special instruction

Element ID Req Length Values
Note Reference Code E363 Optional 3
1 value
ZZZ Mutually Defined
Description E352 Required 1-80 Free text
0320 Loop 3 segments repeats ×99
L5 Description, Marks and Numbers Optional 10 elements

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

Element ID Req Length Values
Lading Line Item Number E213 Optional 1-3 Free text
Lading Description E79 Optional 1-50 Free text
Commodity Code E22 Optional 1-30 Free text
Commodity Code Qualifier E23Maersk204 Optional 1
1 value
T Standard Transportation Commodity Code (STCC)
Packaging Code E103 Optional 3-5
38 values
25 Corrugated or Solid
71 Not Otherwise Specified
90 Standard
94 Wood
AMM Ammo Pack
BAG Bag
BAL Bale
BDL Bundle
BIN Bin
BOT Bottle
BOX Box
BXT Bucket
CAS Case
CNT Container
CRT Crate
CTN Carton
DRM Drum
JAR Jar
KIT Kit
LSE Loose
LUG Lug
PAL Pail
PCK Packed - not otherwise specified
PCS Pieces
PKG Package
PLT Pallet
RCK Rack
REL Reel
ROL Roll
SAK Sack
SHT Sheet
SKD Skid
SKE Skid, elevating or lift truck
SLP Slip Sheet
TBN Tote Bin
TLD Intermodal Trailer/Container Load (Rail)
TRY Tray
PLT94 Pallet - Wood
Marks and Numbers E87 Optional 1-48 Free text
Marks and Numbers Qualifier E88 Optional 1-2
2 values
UP U.P.C. Consumer Package Code (1-5-5-1)
GM SSCC-18 and Application Identifier
Commodity Code Qualifier E23 Optional 1
4 values
2 Dun's SIC 2+2, Dun & Bradstreet
N National Motor Freight Classification (NMFC)
T Standard Transportation Commidity Code (STCC)
Z Mutually defined
Commodity Code E22 Optional 1-30 Free text
Compartment ID Code E595 Optional 1
6 values
1 Brake End
2 2nd from Brake End
3 3rd from Brake End
4 4th from Brake End
5 5th from Brake End
6 6th from Brake End
AT8 Shipment Weight, Packaging and Quantity Data Optional 7 elements

To specify shipment details in terms of weight, and quantity of handling units

Element ID Req Length Values
Weight Qualifier E187Maersk204 Optional 1-2
1 value
G Gross Weight
Weight Unit Code E188Maersk204 Optional 1
2 values
K Kilograms
L Pounds
Weight E81 Optional 1-10 Free text
Lading Quantity E80 Optional 1-7 Free text
Lading Quantity E80 Optional 1-7 Free text
Volume Unit Qualifier E184 Optional 1
1 value
E Cubic Feet
Volume E183 Optional 1-8 Free text
0325 Loop 3 segments repeats ×99
G61 Contact Optional 4 elements

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

Element ID Req Length Values
Contact Function Code E366Maersk204 Optional 2
4 values
BI Bill Inquiry Contact
CA Customer Contact Granting Appointment
DC Delivery Contact
HM Hazardous Material Contact
Name E93 Optional 1-60 Free text
Communcation Number Qualifier E365 Optional 2
4 values
EM Electronic Mail
EX Telephone Extension
FX Facsimile
TE Telephone
Communication Number E364 Optional 1-80 Free text
LH6 Hazardous Certification Detail Optional 4 elements

To specify the name of the person certifying that the shipment complies with the regulations and/or the actual certification

Element ID Req Length Values
Name E93 Optional 1-60 Free text
Hazardous Certification Code E272Blume Cond. 1 Free text
Hazardous Certification Declaration E273Blume Cond. 1-25 Free text
Hazardous Certification Declaration E273Blume Optional 1-25 Free text
0330 Loop 2 segments repeats ×25
LH1 Hazardous Identification Information Optional 12 elements 2 required

To specify the hazardous commodity identification reference number and quantity

Element ID Req Length Values
Unit or Basis for Measurement Code E355 Required 2
10 values
FA Fahrenheit
CA Case
EA Each
LB Pound
PC Piece
PL Pallet/Unit Load
TK Tank
IP Master Pack of %
CS Case Pack of %
ZZ Mutually Defined
Lading Quantity E80 Required 1-7 Free text
UN/NA Identification Code E277 Optional 6 Free text
Hazardous Materials Page E200 Optional 1-6 Free text
Commodity Code E22 Optional 1-30 Free text
Unit or Basis for Measurement Code E355 Cond. 2
10 values
FA Fahrenheit
CA Case
EA Each
LB Pound
PC Piece
PL Pallet/Unit Load
TK Tank
IP Master Pack of %
CS Case Pack of %
ZZ Mutually Defined
Quantity E380 Cond. 1-15 Free text
Compartment ID Code E595 Optional 1
6 values
1 Brake End
2 2nd from Brake End
3 3rd from Brake End
4 4th from Brake End
5 5th from Brake End
6 6th from Brake End
Residue Indicator Code E665 Optional 1
3 values
G Residue Last Contained Description (Small Means of Containment)
P Residue Last Contained Description (Packages)
R Residue Last Contained Description (Rail Car)
Packing Group Code E254 Optional 1-3 Free text
Interim Hazardous Material Regulatory Number E1375 Optional 1-5 Free text
Industry Code E1271 Optional 1-30 Free text
LH2 Hazardous Classification Information Optional 13 elements

To specify the hazadous notation and endorsement information

Element ID Req Length Values
Hazardous Classification E215 Optional 1-30 Free text
Hazardous Class Qualifier E983 Optional 1
2 values
P Primary
S Secondary
Hazardous Placard Notation Code E218 Optional 14-40 Free text
Hazardous Endorsement Code E222 Optional 4-25
1 value
_code_list_id 83
Reportable Quantity Code E759 Optional 2
1 value
RQ Reportable Quantity
Unit or Basis for Measurement Code E355 Cond. 2
10 values
FA Fahrenheit
CA Case
EA Each
LB Pound
PC Piece
PL Pallet/Unit Load
TK Tank
IP Master Pack of %
CS Case Pack of %
ZZ Mutually Defined
Temperature E408 Cond. 1-4 Free text
Unit or Basis for Measurement Code E355 Cond. 2
10 values
FA Fahrenheit
CA Case
EA Each
LB Pound
PC Piece
PL Pallet/Unit Load
TK Tank
IP Master Pack of %
CS Case Pack of %
ZZ Mutually Defined
Temperature E408 Cond. 1-4 Free text
Unit or Basis for Measurement Code E355 Cond. 2
10 values
FA Fahrenheit
CA Case
EA Each
LB Pound
PC Piece
PL Pallet/Unit Load
TK Tank
IP Master Pack of %
CS Case Pack of %
ZZ Mutually Defined
Temperature E408 Cond. 1-4 Free text
Weight Unit Code E188 Cond. 1
8 values
E Metric Ton
G Grams
M Measurement Ton
O Ounces
S Short Ton
T Long Ton
L Pounds
K Kilograms
Net Explosive Quantity E267 Cond. 1-10 Free text
0350 Loop 1 segment repeats ×999
OID Order Identification Detail Optional 8 elements

To specify order identification detail

Element ID Req Length Values
Reference Identification E127 Optional 1-30 Free text
Purchase Order Number E324 Optional 1-22 Free text
Unit or Basis for Measurement Code E355Maersk204 Optional 2
1 value
C5 Cost
Quantity E380 Optional 1-15 Free text
Weight Unit Code E188 Optional 1
8 values
E Metric Ton
G Grams
M Measurement Ton
O Ounces
S Short Ton
T Long Ton
L Pounds
K Kilograms
Weight E81 Optional 1-10 Free text
Volume Unit Qualifier E184 Optional 1
1 value
E Cubic Feet
Volume E183 Optional 1-8 Free text
0380 Loop 2 segments repeats ×10
N7 Equipment Details Optional 22 elements

To identify the equipment

Element ID Req Length Values
Equipment Initial E206 Optional 1-4 Free text
Equipment Number E207 Optional 1-10 Free text
Weight E81 Optional 1-10 Free text
Weight Qualifier E187Maersk204 Optional 1-2
1 value
G Gross Weight
Tare Weight E167 Optional 3-8 Free text
Weight Allowance E232 Optional 2-6 Free text
Dunnage E205 Optional 1-6 Free text
Volume E183 Optional 1-8 Free text
Volume Unit Qualifier E184 Optional 1
1 value
E Cubic Feet
Ownership Code E102 Optional 1
5 values
L Railroad Leased
N Not Customer Owned or Leased
R Seller Owned, Returnable
S Customer Owned or Leased
T Trip Leased
Equipment Description Code E40 Optional 2
9 values
CN Container
FF Frozen Food Trailer
FT Flat Bed Trailer
RC Refrigerated (Reefer) Car
RT Controlled Temperature Trailer (Reefer)
SU Supplier/Manufacturer
TF Trailer, Dry Freight
TL Trailer (not otherwise specified)
TV Truck, Van
Standard Carrier Alpha Code E140 Optional 2-4 Free text
Temperature Control E319 Optional 3-6 Free text
Position E219 Optional 1-3 Free text
Equipment Length E567 Optional 4-5 Free text
Tare Qualifier Code E571 Optional 1
2 values
A Actual
M Marked
Weight Unit Code E188Maersk204 Optional 1
2 values
K Kilograms
L Pounds
Equipment Number Check Digit E761 Optional 1 Free text
Type of Service Code E56 Optional 2
18 values
AI Transport Mode Change
BB Breakbulk
CS Container Station
CY Container Yard
DD Door to Door
DR Door to Ramp
HA Haulage
HH House-to-house
HL Headload or Devanning
HP House-to-pier
MC Multi-country Consolidation
MD Mixed Delivery
NC Non-containerized cargo
PH Pier-to-house
PP Pier-to-pier
RD Ramp to Door
RE Ramp to Ramp
RR Roll-on Roll-off
Height E65 Optional 1-8 Free text
Width E189 Optional 1-8 Free text
Equipment Type E24 Optional 4 Free text
M7 Seal Numbers Optional 5 elements

To record seal numbers used and the organization that applied the seals

Element ID Req Length Values
Seal Number E225 Optional 2-15 Free text
Seal Number E225 Optional 2-15 Free text
Seal Number E225 Optional 2-15 Free text
Seal Number E225 Optional 2-15 Free text
Entity Identifier Code E98 Optional 2-3
26 values
74 Corrected Insured
82 Renderer Provider
BT Bill-to-Party
BY Buying Party (Purchaser)
CN Consignee
EV Selling Agent
MI Planning Schedule/Material Release Issuer
IL Insured or Subscriber
PE Payee
PR Payer
QC Patient
RC Receiving Location
SH Shipper
SI Shipping Schedule Issuer
SF Ship From
ST Ship To
SU Supplier/Manufacturer
TT Transfer To
WH Warehouse
OB Ordered By
N5 Signed BOL
FR Contacted Customer
PW Pick Up Address
AB Additional Pick Up Address
DA Delivery Address
AE Addtional Delivery Address
SE Transaction Set Trailer Required 2 elements 2 required

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Element ID Req Length Values
Number of Included Segments E96 Required 1-10 Free text
Transaction Set Control Number E329 Required 4-9 Free text

Example

Sample X12 204 · transaction set
ST*100*REF10025~B2*IL*USA*USA~B2A*00*LT~L11*REF10025*CR*X~G62*77*20240115*2~AT5*DM~NTE*ZZZ*X~N1*SH*ACME LOGISTICS*1~N3*100 DOCK ST*100 DOCK ST~N4*ACME LOGISTICS*IL*60601~G61*BI*ACME LOGISTICS*EM~S5*REF10025*PA~L11*REF10025*CR*X~G62*77*20240115*2~AT5*DM~NTE*ZZZ*X~SE*1*REF10025~

Illustrative Maersk 204 in X12 format. Melrose generates and validates these against Maersk's live acknowledgments.

Trade 204s with Maersk, handled.

Book a free discovery call and see how Melrose scales your operation.

Book a demo