U.S. Customs and Border Protection (CBP)
/
U.S. Customs Manifest (Booking)
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from U.S. Customs and Border Protection (CBP). Contact U.S. Customs and Border Protection (CBP) for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
U.S. Customs and Border Protection (CBP) logo

X12 309 U.S. Customs Manifest (Booking)

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the U.S. Customs Manifest Transaction Set (309) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used by carriers, terminal operators, port authorities, or service centers to provide U.S. Customs with manifest data on cargo arriving in or departing from the U.S. on oceangoing vessels, railroad trains, or other types of conveyances. The transaction set can be also used by carriers to provide terminal operators, port authorities, or service centers with manifest data on cargo arriving at their facilities via the conveyances mentioned above.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/cbp/us-customs-manifest-booking/01HNGKCN0EC73YG4ECS6R5XPMR
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
M10
020
Manifest Identifying Information
Max use 1
Required
P4 Loop
P4
040
U.S. Port Information
Max use 1
Required
LX Loop
LX
060
Assigned Number
Max use 1
Required
M13
070
Manifest Amendment Details
Max use 1
Optional
M11
080
Manifest Bill of Lading Details
Max use 1
Required
N9
085
Reference Identification
Max use 999
Required
VID Loop
VID
150
Conveyance Identification
Max use 1
Required
VC
155
Motor Vehicle Control
Max use 21
Optional
N10 Loop
SE
200
Transaction Set Trailer
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

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)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

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)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

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

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

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

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

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
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

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
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code sent by the sender to request an interchange acknowledgment (TA1)

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code to indicate whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

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

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

SO
Ocean Shipment Information (304, 306, 309, 311, 317, 319, 321, 322, 323, 324, 325, 350, 352, 353, 354, 355, 356, 357, 358, 361)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission. Codes agreed to by trading partners

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

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
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

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

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1

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

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

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).
309
U.S. Customs Manifest
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

M10
020
Heading > M10

Manifest Identifying Information

RequiredMax use 1

To transmit manifest identifying information

Example
At least one of Vessel Code (M10-04) or Vessel Name (M10-05) is required
M10-01
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

Usage notes

CARRIER CODE
A code representing the importing/exporting carrier. This is the Standard
Carrier Alpha Code (SCAC) issued by the National Motor Freight Traffic
Association Inc., 2200 Mill Road, Alexandria, VA 22310. For water carriers
who own their containers, the SCAC is issued by the Intermodal Transportation
Association, 6410 Kenilworth Ave., Suite 108, Riverdale, MD 20737.
Equivalent AESTIR Proprietary Element: M01 - Carrier Code.

M10-02
91
Transportation Method/Type Code
Required
Identifier (ID)

Code specifying the method or type of transportation for the shipment

Usage notes

MODE OF TRANSPORTATION CODE
A code indicating the type of vessel used to carry the manifested cargo.
VE Vessel, Ocean
Equivalent AESTIR Proprietary Element: M01 - Mode of Transportation Code.

VE
Vessel, Ocean
M10-03
26
Country Code
Required
Identifier (ID)
Min 2Max 3

Code identifying the country

  • M1003 is the code identifying the country in which the ship (vessel) is registered.
Usage notes

COUNTRY CODE
An International Standards Organization (ISO) code representing the flag of
the vessel. Required for input to the Customs and Border Protection (CBP).
Equivalent AESTIR Proprietary Element: M01 - Vessel Country Code.

M10-04
597
Vessel Code
Optional
Identifier (ID)
Min 1Max 8

Code identifying vessel

  • M1004 is Lloyd's vessel code.
Usage notes

CONVEYANCE CODE
The Lloyds of London registry code representing the exporting conveyance.
This code is Mandatory if Vessel Name is not entered.
Equivalent AESTIR Proprietary Element: M01 - Conveyance Code.

M10-05
182
Vessel Name
Optional
String (AN)
Min 2Max 28

Name of ship as documented in "Lloyd's Register of Ships"

Usage notes

VESSEL NAME
A valid vessel name. Mandatory if missing Vessel Code.
Equivalent AESTIR Proprietary Element: M01 - Vessel Name.

M10-06
55
Flight/Voyage Number
Required
String (AN)
Min 2Max 10

Identifying designator for the particular flight or voyage on which the cargo travels

Usage notes

VOYAGE NUMBER
The voyage number. Required for input to the Customs and Border Protection
(CBP). If not known, send Julian date.
Voyage Number may not be reused with in one year. If the carrier attempts to
reuse the number AES will reject the Booking with fatal error 687.
Equivalent AESTIR Proprietary Element: M01 - Voyage Number.

M10-07
127
Reference Identification
Optional
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

  • M1007 is used for the six-digit Numeric Manifest Sequence Number.
Usage notes

SEQUENCE NUMBER
Optional, carrier assigned sequence number. The default is one (1). It may be a
date. Once transmitted, it cannot be changed. All subsequent transmissions for
the manifest must use the original manifest sequence number.
Equivalent AESTIR Proprietary Element: M01 - Manifest Sequence Number.

M10-08
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • M1008 is used for number of bills lading. (Maximum five-digits.)
Usage notes

TOTAL NUMBER OF BOOKINGS
A value representing the total number of bookings or bills of lading for all
Customs and Border Protection (CBP) Districts/Ports of lading or unlading on
the manifest. This is a mandatory data element for transmissions to CBP. It is
not used in transmissions from CBP.
Equivalent AESTIR

M10-09
256
Manifest Type Code
Required
Identifier (ID)

Code identifying the type of manifest transmitted

Usage notes

APPLICATION IDENTIFIER
A code representing the type of application detail data contained within the
block.
D Updating Export Manifest Prior to Vessel Departure from Carrier to CBP.
E Original Export Manifest from Carrier to CBP.
P Preliminary Manifest from Carrier to CBP.
Equivalent AESTIR Proprietary Element: ACR - Application Identifier.

D
Updating Export Manifest Prior to Vessel Departure From Carrier to U.S. Customs
E
Original Export Manifest from Carrier to U.S. Customs
P
Preliminary Manifest from Carrier to U.S. Customs
M10-12
127
Reference Identification
Optional
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

  • M1012 is a unique identification number for the manifest assigned by the originator of the manifest with a maximum length of 15.
Usage notes

CARRIER ASSIGNED NUMBER
Optional, carrier assigned number, 1-23 positions. There is no editing on the
format and it is returned as received in the CBP output
Acceptance/Rejection Transaction Set (355) to the carriers. This is not used in
the Status Information Transaction Set (350) returned from CBP to the carriers.
Equivalent AESTIR Proprietary Element: M01 - Carrier Assigned Number

P4 Loop
RequiredMax >1
P4
040
Heading > P4 Loop > P4

U.S. Port Information

RequiredMax use 1

To transmit identifying information for a U.S. port

Example
P4-01
310
Location Identifier
Required
String (AN)
Min 1Max 30

Code which identifies a specific location

  • P401 is used for customs district and port code (census schedule D).
Usage notes

PORT OF LADING CODE
A code representing the Customs and Border Protection (CBP) District/Port of
Lading. For listing of valid codes, use AESTIR Part III, Appendix D.
Equivalent AESTIR Proprietary Element: P01 - CBP Port of Lading Code.

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • P402 is the estimated date of arrival.
Usage notes

ESTIMATED DATE OF DEPARTURE
A date in the "YYYYMMDD" format representing the scheduled date of
departure from (for exports) or arrival at (for imports) this port.
Equivalent AESTIR Proprietary Element: P01 - Estimated Date of Departure.

P4-03
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • P403 is used for number of bills of lading.
Usage notes

NUMBER OF BOOKINGS FOR PORT
A value representing the total number of bookings or bills of lading/house bills
transmitted for this Port.
Equivalent AESTIR Proprietary Element: P01 - Number of Bookings or Bills
of Lading for Port.

LX Loop
RequiredMax >1
LX
060
Heading > P4 Loop > LX Loop > LX

Assigned Number

RequiredMax use 1

To reference a line number in a transaction set

Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6

Number assigned for differentiation within a transaction set

Usage notes

LOOP CONTROL NUMBER
Provide sender control number for the loop.

M13
070
Heading > P4 Loop > LX Loop > M13

Manifest Amendment Details

OptionalMax use 1

To correct a manifest record prior to conveyance arrival or to amend a manifest record after conveyance arrival

Example
M13-01
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • M1301 is the conveyance operator's Standard Carrier Alpha Code (SCAC).
Usage notes

CARRIER CODE
SCAC of the Booking issuer.
Equivalent AESTIR Proprietary Element: A01 - Carrier Code.

M13-02
310
Location Identifier
Required
String (AN)
Min 1Max 30

Code which identifies a specific location

  • M1302 is used for discharge port (four-digit numeric census schedule D).
Usage notes

CONTROL NUMBER
Provide Booking number.
Equivalent AESTIR Proprietary Element: A01 - Control Number.

M13-03
580
Amendment Type Code
Required
Identifier (ID)

Code identifying type of manifest amendment

Usage notes

ACTION CODE
A code representing the type of booking amendment. Valid Codes are:
A = Add a Booking
D = Delete a Booking
R = Replace a Booking. (Use element N904 for "Estimated Date of
Departure".)
Equivalent AESTIR Proprietary Element: A01 Action Code.

A
Add a Booking
D
Delete a Booking
R
Replace a Booking
M13-08
598
Bill of Lading/Waybill Number
Required
String (AN)

Identification number assigned to the shipment by the carrier or consolidator

  • M1308 is used to report individual portions of a consolidated shipment.
Usage notes

QUALIFIER
Provide Booking Qualifier:
MB = Master Booking Number
Future Use:
HB = House Booking Number
B = House Bill of Lading Number
Equivalent AESTIR Proprietary Element: A01 - Qualifier.

B
House Bill of Lading Number
HB
House Booking Number
MB
Master Booking Number
M13-09
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • M1309 is the bill of lading issuer code.
Usage notes

PORT CODE
A code representing the Customs and Border Protection (CBP) District/Port of
Lading. Use CBP Schedule D.
Equivalent AESTIR Proprietary Element: A01 - CBP Port.

M11
080
Heading > P4 Loop > LX Loop > M11

Manifest Bill of Lading Details

RequiredMax use 1

To transmit bill of lading detail information for a manifest

Example
M11-02
310
Location Identifier
Required
String (AN)
Min 1Max 30

Code which identifies a specific location

  • M1102 is used for port of lading (five-digit numeric census schedule K).
Usage notes

FOREIGN PORT
Provide foreign port of unlading.
Equivalent AESTIR Proprietary Element: B02 - Foreign Port.

M11-03
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • M1103 is used for total number of pieces on a bill of lading using the smallest package unit (maximum eight-digits).
Usage notes

QUANTITY
A value representing the total number of pieces on the booking (e.g., if there
are 10 ctn and 10 bal on one booking, insert the number 20 in this field). Use
the smaller exterior package unit. Piece count units are given in the N10
record. The total number of N10 piece counts for the booking must equal the
booking quantity. The value must be greater than zero.
Equivalent AESTIR Proprietary Element: B02 - Booking Quantity.

M11-04
599
Manifest Unit Code
Required
Identifier (ID)
Min 1Max 3

Code defining the smallest package unit for the bill of lading

  • M1104 is the smallest package unit code.
Usage notes

QUANTITY - UNIT OF MEASURE CODE
A code representing the booking unit of measure, such as CTN. If the unit is
more than three characters, truncate the excess.
Equivalent AESTIR Proprietary Element: B02 - Quantity Units.

M11-05
81
Weight
Required
Decimal number (R)
Min 1Max 10

Numeric value of weight

Usage notes

WEIGHT
A value representing the gross weight in pounds or kilos. Input only whole
numbers; no decimals or fractions. The value must be greater than zero.
Equivalent AESTIR Proprietary Element: B02 - Booking Weight.

M11-06
188
Weight Unit Code
Required
Identifier (ID)

Code specifying the weight unit

Usage notes

WEIGHT - UNIT OF MEASURE CODE
A code representing the unit of measure for the Weight value in the previous
field.
K Kilograms
L Pounds
Equivalent AESTIR Proprietary Element: B02 - Weight Unit.

K
Kilograms
L
Pounds
M11-12
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • M1112 is the unique bill of lading issuer code.
Usage notes

ISSUER CODE
A SCAC code of the issuer of the booking.
Equivalent AESTIR Proprietary Element: J01 - Carrier Master Booking/Bill of
Lading Issuer Code.

M11-14
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • M1114 is the code of the secondary party nominated to receive bill of lading status notifications.
Usage notes

NUMBER OF CONTAINERS
A numeric count as to the number of containers required for this booking.
Equivalent AESTIR Proprietary Element: B02 - Number of Containers.

M11-18
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • M1118 is the Standard Carrier Alpha Code (SCAC) of an additional second notify carrier.
Usage notes

HAZMAT FLAG
Enter "YES" or "NO" indicating that the cargo in this booking is/is not
potentially hazardous.
Equivalent AESTIR Proprietary Element: B02 - Hazmat Flag.

N9
085
Heading > P4 Loop > LX Loop > N9

Reference Identification

RequiredMax use 999

To transmit identifying information as specified by the Reference Identification Qualifier

Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

Usage notes

QUALIFIER
Control number qualifier.
Booking Number
Equivalent AESTIR Proprietary Element: B02 - Qualifier.

N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

CONTROL NUMBER
The number representing the issuer-assigned control number that identifies the
booking. The control number must be unique by vessel voyage.
Equivalent AESTIR Proprietary Element: B02 - Control Number.

N9-03
369
Free-form Description
Required
String (AN)
Min 1Max 45

Free-form descriptive text

Usage notes

DESTINATION COUNTRY
The ISO code representing the foreign country where the carriers’
responsibility for the shipment ends. For listing of valid codes, use AESTIR
Part III, Appendix C.
Equivalent AESTIR Proprietary Element: B02 - Destination Country.

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Usage notes

ESTIMATED DATE OF DEPARTURE
The last accepted, estimated departure date of the booking. Format is
YYYYMMDD.
Equivalent AESTIR Proprietary Element: A01 - Estimated Date of Departure.

N1 Loop
RequiredMax >1
N1
100
Heading > P4 Loop > LX Loop > N1 Loop > N1

Name

RequiredMax use 1

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

Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

Usage notes

PARTY TYPE
Code identifying type of party in booking.
Equivalent AESTIR Proprietary Element: N01 - Party Type.
CN Consignee
IC Intermediate Consignee
SH Shipper
UC Ultimate Consignee
ZZ Mutually Defined

CN
Consignee
IC
Intermediate Consignee
SH
Shipper
UC
Ultimate Consignee
ZZ
Mutually Defined
Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

PARTY NAME
Company Name, required if Party is being established for the first time or no
Party ID is on file in AES. For Consignees without a Party ID, this field is
mandatory.
Equivalent AESTIR Proprietary Element: N01 - Party Name.

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

Usage notes

PARTY ID TYPE
Type of ID (e.g. DUNS, SSN).
Equivalent AESTIR Proprietary Element: N01 - Party ID Type.
The Census Bureau has eliminated the acceptance of SSN on any new
filings effective December 3, 2009. Corrections (change, replace or cancel)
to shipments filed with SSN prior to the effective date will continue to be
accepted.
1 D-U-N-S Number, Dun & Bradstreet
34 Social Security Number
EI Employer Identification Number
ZC Contractor Establishment Code

1
D-U-N-S Number, Dun & Bradstreet
34
Social Security Number
EI
Employee Identification Number
ZC
Contractor Establishment Code
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

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.
Usage notes

PARTY ID NUMBER
Provide the DUNS, SSN, EIN, or Other Carrier Unique Identifier.
Equivalent AESTIR Proprietary Element: N01 - Party ID Number.
The Census Bureau has eliminated the acceptance of SSN on any new
filings effective December 3, 2009. Corrections (change, replace or cancel)
to shipments filed with SSN prior to the effective date will continue to be
accepted.

N3
110
Heading > P4 Loop > LX Loop > N1 Loop > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

Usage notes

MAILING ADDRESS, LINE 1
Mailing Address Line 1, required if Party is being established for the first time
or if no Party ID is on file in AES. This applies to all parties.
Equivalent AESTIR Proprietary Element: N02 - Address, Line 1.

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

Usage notes

MAILING ADDRESS, LINE 2
Additional Address Line 2.
Equivalent AESTIR Proprietary Element: N02 - Address, Line 2.

N4
120
Heading > P4 Loop > LX Loop > N1 Loop > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Usage notes

CITY
Mailing City, required if party is being established for the first time or no party
ID is on file in AES. This applies to all parties.
Equivalent AESTIR Proprietary Element: N03 - City.

N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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.
Usage notes

STATE
U.S. State abbreviation or foreign state name. For both EB and XI
applications, required for Shipper or Carrier Customer when COUNTRY code
is US, MX or CA if the Party ID Number and the Party ID Type do not exist in
AES or are not provided. Optional for Consignee, Ultimate Consignee and
Intermediate Consignee.
For both EB and XI applications, for Shipper, Carrier Customer, Consignee,
Ultimate Consignee and Intermediate Consignee, STATE must be a valid
STATE code when COUNTRY code is US, MX or CA.
Equivalent AESTIR Proprietary Element: N03 - State.

N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

Usage notes

POSTAL CODE
Zip Code.
For both EB and XI applications, required for Shipper, Carrier Customer when
COUNTRY code is US if the Party ID Number and the Party ID Type do not
exist in AES or are not provided. Optional for Consignee, Ultimate Consignee
and Intermediate Consignee.
Equivalent AESTIR Proprietary Element: N03 - Postal Code.

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

Usage notes

COUNTRY CODE
ISO Country code. For both EB and XI applications, required for Shipper,
Carrier Customer, Consignee, Ultimate Consignee and Intermediate Consignee
if the Party ID Number and the Party ID Type do not exist in AES or are not
provided.
For both EB and XI applications, for Shipper, Carrier Customer, Consignee,
Ultimate Consignee or Intermediate Consignee, the COUNTRY code must be a
valid ISO country code.
Equivalent AESTIR Proprietary Element: N03 - Country.

PER
125
Heading > P4 Loop > LX Loop > N1 Loop > PER

Administrative Communications Contact

OptionalMax use 1

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

Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Optional
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

Usage notes

CONTACT CODE
Enter "CN" to identify Party's contact information as "General Contact."

CN
General Contact
Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

CONTACT PARTY
Contact Party’s Name or Title, required if Party is being established for the
first time or no Party ID is on file in AES. This applies to shippers and carrier
customers only. Provide contact first name (positions 1 - 13), SPACE (position
14), and last name (positions 15 - 34).
Equivalent AESTIR Proprietary Elements: N01 - Contact First Name; N01 -
Contact Last Name.

PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

Usage notes

COMMUNICATIONS QUALIFIER
Enter "TE" for Party's contact phone number.

TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

Usage notes

CONTACT TELEPHONE NUMBER
Contact Party's Phone, required if Party is being established for the first time or
if no Party ID is on file in AES. For 1-800 numbers provide 11 numbers
without spaces or dashes. For other numbers, provide 10 numbers without
spaces or dashes and left justify.
Equivalent AESTIR Proprietary Element: N02 - Contact Phone.

N1 Loop end
VID Loop
RequiredMax >1
VID
150
Heading > P4 Loop > LX Loop > VID Loop > VID

Conveyance Identification

RequiredMax use 1

To identify a conveyance and its attributes

Example
VID-06
567
Equipment Length
Required
Numeric (N0)
Min 4Max 5

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)

Usage notes

CONTAINER/EQUIPMENT LENGTH
Length (in feet and inches) of the container.
Equivalent Proprietary Element: B03 - Container/Equipment Length.

VID-09
24
Equipment Type
Required
Identifier (ID)
Min 4Max 4

Code identifying equipment type

Usage notes

CONTAINER/EQUIPMENT TYPE CODE
Code identifying the equipment type. See AESTIR Appendix P for a list of
codes.
Equivalent Proprietary Element: B03 - Container/Equipment Type.

VID-11
56
Type of Service Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying extent of transportation service requested

Usage notes

TYPE OF SERVICE CODE
Code specifying extent of transportation service requested. See AESTIR Part
III, Appendix G for the list of Type of Service codes.
Equivalent Proprietary Element: B02 - Type of Service.

VID-12
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

  • VID12 is the Census Schedule K code for the foreign port of loading on a vessel.
Usage notes

PLACE OF RECEIPT CITY NAME
A valid city name for place of receipt by carrier must be provided for
Bookings.
Equivalent Proprietary Element: B03 - City Name for Place of Receipt.

VID-13
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • VID13 is the Standard Carrier Alpha Code (SCAC) of the Haulage Rights Carrier.
Usage notes

PLACE OF RECEIPT STATE CODE
Provide U.S. state code abbreviation. Required if city name for place of receipt
is provided.
Equivalent Proprietary Element: B03 - State.

VC
155
Heading > P4 Loop > LX Loop > VID Loop > VC

Motor Vehicle Control

OptionalMax use 21

To define motor vehicle identification and logistics

Example
VC-01
539
Vehicle Identification Number
Required
String (AN)
Min 1Max 25

Unique identification number stamped on the vehicle by the manufacturer

Usage notes

VIN
The unique vehicle identification number stamped on a vehicle by the
manufacturer.
Equivalent AESTIR Proprietary Element: C02 - VIN.

N10 Loop
OptionalMax >1
N10
160
Heading > P4 Loop > LX Loop > VID Loop > N10 Loop > N10

Quantity and Description

RequiredMax use 1

To indicate line item quantity, description, marks and numbers, commodity code, weight, and customs value

Example
N10-01
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

Usage notes

PIECE COUNT
A value representing the total number of pieces in the container being
described. This is the number of the smallest exterior package units. A carton,
box, bag or crates are examples of smallest exterior packaging; a pallet and
container are not.
Equivalent AESTIR Proprietary Element: D01 - Piece Count.

N10-02
369
Free-form Description
Required
String (AN)
Min 1Max 45

Free-form descriptive text

Usage notes

CARGO DESCRIPTION
A description of the cargo. Send only one description line per Booking.
Equivalent AESTIR Proprietary Element: D01 - Description.

N10-05
22
Commodity Code
Required
String (AN)
Min 1Max 30

Code describing a commodity or group of commodities

Usage notes

LINE IDENTIFIER
Line identifier for each line of description. Send only one line for a Booking.
Equivalent AESTIR Proprietary Element: D01 - Line Number.

N10 Loop end
VID Loop end
LX Loop end
P4 Loop end
SE
200
Heading > SE

Transaction Set Trailer

RequiredMax use 1

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

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Heading end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

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.