" /> FTD - Reference - Codes
U.S. flag

An official website of the United States government


end of header

Foreign Trade

Skip top of page navigation
You are here: Census.govBusiness & IndustryForeign-Trade › REFERENCE

GEOGRAPHIC RECORD LAYOUT
FIX FORMATED ASCII FILE



A. Section 1 - Country Codes Descriptions


POSITION DESCRIPTION
1 1-digit identification code = 1.
2 1-digit direction of trade code.
- 'B' = both exports and imports
- 'E' = exports only
- 'I' = imports only.
3-6 4-digit country code (Schedule C).
7 1-digit digit filler.
8-17 10-digit country name abbreviation.
18 1-digit filler.
19-54 36-digit country name.
55-68 14-digit filler.


B. Section 2 - U.S. Customs District Code and Descriptions


POSITION DESCRIPTION
1 1-digit identification code = 2.
2 1-digit direction of trade code.
- 'B' = both exports and imports
- 'E' = exports only
- 'I' = imports only
3 1-digit filler.
4-5 2-digit district code (Schedule D).
- '58' = Wilmington or Savannah
- '59' = Norfolk, Charleston or Mobile
6 1-digit filler.
7-16 10-digit district name and abbreviation.
17 1-digit filler.
18-45 28-digit district name.
46-68 23-digit filler.


C. Section 3 - U.S. Customs District and Port Codes Descriptions


POSITION DESCRIPTION
1 1-digit identification code = 3.
2 1-digit direction of trade code.
- 'B' = both exports and imports
- 'E' = exports only
- 'I' = imports only
3 1-digit filler.
4-5 2-digit district code (Schedule D).
- '58' = Wilmington or Savannah
- '59' = Norfolk, Charleston or Mobile
6-7 2-digit port code (Schedule D).
8 1-digit filler.
9-36 28-digit port name.
37-68 32-digit filler.


D. Section 4 - State Codes and Descriptions


POSITION DESCRIPTION
1 1-digit identification code = 4.
2 1-digit direction of trade code.
- 'B' = both exports and imports
- 'E' = exports only
- 'I' = imports only
3 1-digit filler.
4-5 2-digit state abbreviation.
6 1-digit filler.
7-25 19-digit state name.
26-68 43-digit filler.

This symbol Off Site indicates a link to a non-government web site. Our linking to these sites does not constitute an endorsement of any products, services or the information found on them. Once you link to another site you are subject to the policies of the new site.
Source: U.S. Census Bureau | Source:International Trade Management Division | ftdwebmaster@census.gov |  Last Revised: August 09, 2024