U.S. Customs and Border Protection (CBP)
/
U.S. Customs Acceptance/Rejection
  • 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 355 U.S. Customs Acceptance/Rejection

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the U.S. Customs Acceptance/Rejection Transaction Set (355) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used by U.S. Customs to report errors and discrepancies discovered in the U.S. Customs transaction sets to ocean carriers, terminal operators, port authorities and service centers.

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-acceptancerejection/01HNBKR2FVF7CHCM10QSTQNMRF
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
K1
030
Remarks
Max use 10
Optional
P4 Loop
P4
040
U.S. Port Information
Max use 1
Required
K1
050
Remarks
Max use 10
Optional
LX Loop
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).
355
U.S. Customs Acceptance/Rejection
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
M10-01
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

Usage notes

CARRIER CODE
Equivalent AESTIR Proprietary Element: M01 - Carrier Code.

M10-02
91
Transportation Method/Type Code
Required
Identifier (ID)
Min 1Max 2

Code specifying the method or type of transportation for the shipment

Usage notes

MODE OF TRANSPORTATION CODE
Equivalent AESTIR Proprietary Element: M01 - Mode of Transportation Code.

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
Equivalent AESTIR Proprietary Element: M01 - Vessel Country Code.

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
Equivalent AESTIR Proprietary Element: M01 - Voyage 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/BILLS OF LADING
Equivalent AESTIR Proprietary Element:M01 - Number of Bookings or Bills
of Lading.

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

Code identifying the type of manifest transmitted

Usage notes

APPLICATION IDENTIFIER
Equivalent AESTIR Proprietary Element: ACR - Application Identifier.

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

K1
030
Heading > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Elements: W01ACR - Control Number;
W01M01 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Elements: W01ACR - Error Message;
W01M01 - Error Message.

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
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
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/BILLS OF LADING FOR PORT
Equivalent AESTIR Proprietary Element: P01 - Number of Bookings or Bills
of Lading for Port.

K1
050
Heading > P4 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01P01 - Control Number

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01P01 - Error Message.

LX Loop
OptionalMax >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

M13 Loop
OptionalMax >1
M13
070
Heading > P4 Loop > LX Loop > M13 Loop > M13

Manifest Amendment Details

RequiredMax 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
Equivalent AESTIR Proprietary Element: A01 - Carrier Code.

M13-02
310
Location Identifier
Optional
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
Equivalent AESTIR Proprietary Element: A01 - Control Number.

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

Code identifying type of manifest amendment

Usage notes

ACTION CODE
Equivalent AESTIR Proprietary Element: A01 - Action Code.

M13-04
598
Bill of Lading/Waybill Number
Optional
String (AN)
Min 1Max 12

Identification number assigned to the shipment by the carrier or consolidator

Usage notes

BILL OF LADING SEQUENCE NUMBER
Equivalent AESTIR Proprietary Element: A01 - Bill of Lading Number.

M13-08
598
Bill of Lading/Waybill Number
Optional
String (AN)
Min 1Max 12

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
Equivalent AESTIR Proprietary Element: A01 - Qualifier.

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
Equivalent AESTIR Proprietary Element: A01 - CBP Port.

K1
080
Heading > P4 Loop > LX Loop > M13 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01A01 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01A01 - Error Message.

M13 Loop end
M11 Loop
OptionalMax >1
M11
090
Heading > P4 Loop > LX Loop > M11 Loop > M11

Manifest Bill of Lading Details

RequiredMax use 1

To transmit bill of lading detail information for a manifest

Example
M11-01
598
Bill of Lading/Waybill Number
Required
String (AN)
Min 1Max 12

Identification number assigned to the shipment by the carrier or consolidator

  • M1101 is the unique bill of lading number.
Usage notes

CONTROL NUMBER
Equivalent AESTIR Proprietary Element: B01 - Bill of Lading Control
Number.

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
Equivalent AESTIR Proprietary Elements: B01 - Foreign Port; 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
Equivalent AESTIR Proprietary Element: B01 - Manifest 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
Equivalent AESTIR Proprietary Element: B01 - Manifest Units.

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

Numeric value of weight

Usage notes

WEIGHT
Equivalent AESTIR Proprietary Element: B01 - Weight.

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

Code specifying the weight unit

Usage notes

WEIGHT - UNIT OF MEASURE CODE
Equivalent AESTIR Proprietary Element: B01 - Weight Unit.

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
Equivalent AESTIR Proprietary Element: J01 - Carrier Master Booking/Bill of
Lading Issuer Code.

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

Standard Carrier Alpha Code

  • M1113 is the issuer code of the consolidated shipment.
Usage notes

NVOCC HOUSE BOOKING ISSUER CODE
Equivalent AESTIR Proprietary Element: J01 - NVOCC House Booking Issuer
Code.

M11-16
1302
Shipper's Export Declaration Requirements
Optional
String (AN)
Min 1Max 2

Code identifying which Shipper's Export Declaration (SED) requirements are being met

Usage notes

EEI FLAG
Equivalent AESTIR Proprietary Element: B01 - EEI Flag.

M11-17
1578
Export Exception Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying why a Shipper's Export Declaration (SED) is not required

Usage notes

EXPORT INFORMATION CODE
Equivalent AESTIR Proprietary Element: B01 - Export Information Code.

K1
100
Heading > P4 Loop > LX Loop > M11 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Elements: W01B01 - Control Number;
W01J01 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Elements: W01B01 - Error Message; W01J01

  • Error Message.
M11 Loop end
N9 Loop
OptionalMax >1
N9
105
Heading > P4 Loop > LX Loop > N9 Loop > N9

Reference Identification

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

BN
Booking Number
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
Equivalent AESTIR Proprietary Element: B02 - Control Number.

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.
Returned from AESTIR Proprietary Element: A01 - Estimated Date of
Departure.

K1
107
Heading > P4 Loop > LX Loop > N9 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01B02 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01B02 - Error Message.

N9 Loop end
N1 Loop
OptionalMax >1
N1
110
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)
Min 2Max 3

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

Usage notes

PARTY TYPE
Equivalent AESTIR Proprietary Element: N01 - Party Type.

Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

PARTY NAME
Equivalent AESTIR Proprietary Element: N01 - Party Name.

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

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

Usage notes

PARTY ID TYPE
Equivalent AESTIR Proprietary Element: N01 - Party ID Type.

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
Equivalent AESTIR Proprietary Element: N01 - Party ID Number.

K1
120
Heading > P4 Loop > LX Loop > N1 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01N01 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01N01 - Error Message.

N3 Loop
OptionalMax >1
N3
130
Heading > P4 Loop > LX Loop > N1 Loop > N3 Loop > N3

Address Information

RequiredMax use 1

To specify the location of the named party

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

Address information

Usage notes

MAILING ADDRESS, LINE 1
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
Equivalent AESTIR Proprietary Element: N02 - Address, Line 2.

K1
140
Heading > P4 Loop > LX Loop > N1 Loop > N3 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01N02 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01N02 - Error Message.

N3 Loop end
N4 Loop
OptionalMax >1
N4
141
Heading > P4 Loop > LX Loop > N1 Loop > N4 Loop > N4

Geographic Location

RequiredMax use 1

To specify the geographic place of the named party

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
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
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
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
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
Equivalent AESTIR Proprietary Element: N03 - Country.

N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

K1
142
Heading > P4 Loop > LX Loop > N1 Loop > N4 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01N03 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01N03 - Error Message.

N4 Loop end
N1 Loop end
M15 Loop
OptionalMax >1
M15
163
Heading > P4 Loop > LX Loop > M15 Loop > M15

U.S. Customs Events Advisory Details

RequiredMax use 1

To notify U.S. Customs of in-bond cargo movement or of a conveyance arrival or departure, or of transfer of custodial liability when an in-bond movement involves multiple legs

Example
M15-01
1497
Notification Entity Qualifier
Required
String (AN)
Min 1Max 2

Code indicating type of notifications

Usage notes

MESSAGE CODE
Equivalent AESTIR Proprietary Element: H01 - Message Code.

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • M1503 is the date of cargo movement, transfer of liability, or conveyance arrival or departure.
Usage notes

DATE
Equivalent AESTIR Proprietary Element: H01 - Date.

M15-04
310
Location Identifier
Required
String (AN)
Min 1Max 30

Code which identifies a specific location

  • M1504 is the Schedule D code for place of cargo movement, transfer of liability or conveyance arrival or departure.
  • For M1504 use Schedule D for port of arrival.
Usage notes

PORT OF DEPARTURE
Equivalent AESTIR Proprietary Element: H01 - Port of Departure.

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)

  • M1506 is the time of cargo movement, transfer of liability, or conveyance arrival or departure.
Usage notes

TIME
Equivalent AESTIR Proprietary Element: H01 - Time.

K1
164
Heading > P4 Loop > LX Loop > M15 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01H01- Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01H01 - Error Message.

M15 Loop end
VID Loop
OptionalMax >1
VID
170
Heading > P4 Loop > LX Loop > VID Loop > VID

Conveyance Identification

RequiredMax use 1

To identify a conveyance and its attributes

Example
VID-02
206
Equipment Initial
Required
String (AN)
Min 1Max 4

Prefix or alphabetic part of an equipment unit's identifying number

Usage notes

CONTAINER SCAC
Equivalent AESTIR Proprietary Element: C01 - Container SCAC.

VID-03
207
Equipment Number
Optional
String (AN)
Min 1Max 10

Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)

Usage notes

CONTAINER NUMBER
Equivalent AESTIR Proprietary Element: C01 - Container No.

VID-04
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

Usage notes

SEAL NUMBER 1
Equivalent AESTIR Proprietary Element: C01 - Seal Number 1.

VID-05
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

Usage notes

SEAL NUMBER 2
Equivalent AESTIR Proprietary Element: C01 - Seal Number 2.

VID-06
567
Equipment Length
Optional
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
Equivalent AESTIR Proprietary Element: C01 - Container/Equipment Length.

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

Code identifying equipment type

Usage notes

CONTAINER/EQUIPMENT TYPE CODE
Equivalent AESTIR Proprietary Element: C01 - Container/Equipment Type.

K1
175
Heading > P4 Loop > LX Loop > VID Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Elements: W01C01 - Control Number;
W01B03 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01C01 - Error Message; W01B03

  • Error Message.
VC Loop
OptionalMax >1
VC
200
Heading > P4 Loop > LX Loop > VID Loop > VC Loop > VC

Motor Vehicle Control

RequiredMax use 1

To define motor vehicle identification and logistics

Example
VC-01
539
Vehicle Identification Number
Required
String (AN)

Unique identification number stamped on the vehicle by the manufacturer

Usage notes

VIN
Equivalent AESTIR Proprietary Element: C02 - VIN.

VIN
K1
205
Heading > P4 Loop > LX Loop > VID Loop > VC Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01C02 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01C02 - Error Message.

VC Loop end
N10 Loop
OptionalMax >1
N10
210
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
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

Usage notes

PIECE COUNT
Equivalent AESTIR Proprietary Element: D01 - Piece Count.

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

Free-form descriptive text

Usage notes

CARGO DESCRIPTION
Equivalent AESTIR Proprietary Element: D01 - Description.

N10-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48

Marks and numbers used to identify a shipment or parts of a shipment

Usage notes

MARKS AND NUMBERS
This data element is used to report Marks and Numbers. It is mandatory, as it is
also used to report ITNs (Internal Transaction Numbers) and/or
exemptions/exclusions. Diagrams, drawings, figures and other representations
appearing on packaging may be described in writing. The exporting carrier must
include the Internal Transaction Numbers (ITN) or exemption/exclusion
statements, for each container in the Marks and Numbers data element in
“N1003” (Marks and Numbers Data Element), one per data element (see
Appendix D to 15 CFR Part 30, Foreign Trade Regulations). A prefix of “ITN”
with a trailing space character should be used if the ITN is to be entered or
“EXC” with a trailing space character if an exemption statement is to be entered.
“EXC” with a trailing space should be the prefix used for all non-ITN values
except Marks and Numbers. The Marks and Numbers data, if any, needs to be
entered, with no prefix, one per data element, after all ITN or
exemption/exclusion data has been entered.
Equivalent AESTIR Proprietary Element: D02 - Marks and Numbers.

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

Code describing a commodity or group of commodities

Usage notes

LINE IDENTIFIER
Equivalent AESTIR Proprietary Element: D01 - Line Number.

K1
215
Heading > P4 Loop > LX Loop > VID Loop > N10 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Elements: W01D01 - Control Number;
W01D02 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Elements: W01D01 - Error Message; W01D02

  • Error Message.
H1 Loop
OptionalMax >1
H1
220
Heading > P4 Loop > LX Loop > VID Loop > N10 Loop > H1 Loop > H1

Hazardous Material

RequiredMax use 1

To specify information relative to hazardous material

Example
H1-01
62
Hazardous Material Code
Required
String (AN)
Min 4Max 10

Code relating to hazardous material code qualifier for regulated hazardous materials

Usage notes

HAZMAT CODE
Equivalent AESTIR Proprietary Element: V01 - Hazardous Material Code.

K1
230
Heading > P4 Loop > LX Loop > VID Loop > N10 Loop > H1 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Elements: W01V01 - Control Number;
W01V02 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Elements: W01V01 - Error Message; W01V02

  • Error Message.
H2 Loop
OptionalMax >1
H2
240
Heading > P4 Loop > LX Loop > VID Loop > N10 Loop > H1 Loop > H2 Loop > H2

Additional Hazardous Material Description

RequiredMax use 1

To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment

Example
H2-01
64
Hazardous Material Description
Optional
String (AN)
Min 2Max 30

Material name, special instructions, and phone number if any

Usage notes

HAZMAT DESCRIPTION
Equivalent AESTIR Proprietary Element: V03 - Hazardous Material
Description.

H2-02
274
Hazardous Material Classification
Optional
String (AN)
Min 1Max 30

Free-form description of hazardous material classification or division or label requirements

Usage notes

HAZMAT CLASSIFICATION
Equivalent AESTIR Proprietary Element: V03 - Hazardous Material
Classification.

K1
250
Heading > P4 Loop > LX Loop > VID Loop > N10 Loop > H1 Loop > H2 Loop > K1

Remarks

OptionalMax use 10

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

Example
K1-01
61
Free-Form Message
Required
String (AN)
Min 1Max 30

Free-form information

Usage notes

CONTROL NUMBER
A number representing the Booking, Bill of lading, or house bill number.
Equivalent AESTIR Proprietary Element: W01V03 - Control Number.

K1-02
61
Free-Form Message
Optional
String (AN)
Min 1Max 30

Free-form information

Usage notes

ERROR MESSAGE
A narrative explaining the error.
Equivalent AESTIR Proprietary Element: W01V03 - Error Message.

H2 Loop end
H1 Loop end
N10 Loop end
VID Loop end
LX Loop end
P4 Loop end
Heading end

Detail

K3
010
Detail > K3

File Information

RequiredMax use 1

To transmit a fixed-format record or matrix contents

Example
K3-01
449
Fixed Format Information
Required
String (AN)
Min 1Max 80

Data in fixed format agreed upon by sender and receiver

Usage notes

Summary counts for the transmission as per AESTIR listed in W02 record in
Export Manifest Error Response Record Data Set.

SE
020
Detail > 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

Detail 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.