IRS e-file 94x Schema - Base types commonly used across schema files Final Release 2.2 July 17, 2003 Attributes to be applied to each return data group (a.k.a. return), which is a collection of return documents. The number of return documents in the return Common attributes to be applied for each return document Must be unique within the return Base type for a string Base type for a date The end date of a calendar quarter. Base type for a date and time stamp Base type for a 4-digit year Base type for a boolean. Typically used on an Yes or No field. Typically used by an optional checkbox. Base type for an integer Base type for a non-negative integer Base type for a positive integer 2-digit decimal typically used by a decimal amount field. 2-digit decimal typically used by a non-negative decimal amount field. The most commonly used type for an integer amount field The most commonly used type for a non-negative integer amount field A fraction between 0 and 1 that allow up to 5 decimal places. Business Activity Code Routing Transit Number - 9 digits beginning with 01 through 12, or 21 through 32 Bank Account Number - 17 alphanumeric characters with blanks and hyphens Type of Bank Account - 1 for Checking, 2 for Savings Checking Savings Type for Social Security No. - 9 digits Type for Employer Identification No. - 9 digits starting with a predefined 2-digit IRS District Office code Type for Electronic Transmitter Identification No. - 5 digits Type for Preparer Personal Identification No. - P followed by 8 digits Type for Electronic Filing Identification No. - 6 digits starting with a predefined 2-digit IRS District Office code Type for Third Party Designee Personal Identification No. - 5 alphanumeric characters Type for Reporting Agent PIN TPDS issued PIN - 5 digits CDB issued PIN - 10 digits Type for Service Bureau Identification No. - 6 uppercase alphanumeric characters The type of originator Used for a PIN signature The Software ID - 8 digits Pattern used for generating TransmissionId, OriginId, ContentLocation, and AcknowledgementId. A timestamp may be used as an ID as long as it is unique within its parent element. Up to 4-decimal fractional digits may be used for the second in a timestamp to increase its uniqueness. Legal Characters: A-Z, a-z, 0-9, colon, period and hyphen. Typically used for line 1 of a business name. Legal Characters: A-Z, a-z, 0-9, hash, hyphen, ampersand and single space. Illegal Character: leading space, trailing space, adjacent spaces, and other symbols. Typically used for line 2 of a business name. Legal Characters: A-Z, a-z, 0-9, hash, slash, percent, hyphen, ampersand and single space. Illegal Character: leading space, trailing space, adjacent spaces, and other symbols. Typically used for a person's name. Legal Characters: A-Z, a-z, 0-9, hyphen, apostrophe and single space. Illegal Character: leading space, trailing space, adjacent spaces, and other symbols. Typically used for a person's title. Legal Characters: printable characters from ! to ~ plus single space. Illegal Character: leading space, trailing space, adjacent spaces. Used for a Name Control. Legal Characters: A-Z, 0-9, hyphen and ampersand. Illegal Character: spaces and symbols. Used for a Check Digit field. 2 uppercase characters. Used for a stress address. Legal Characters: A-Z, a-z, 0-9, hyphen, slash and single space. Illegal Character: leading space, trailing space, adjacent spaces, and other symbols. Used for a city. Legal Characters: A-Z, a-z, and single space. Illegal Character: leading space, trailing space, adjacent spaces, and symbols. State abbreviations, a.k.a. state codes Alabama Alaska American Samoa Arizona Arkansas California Colorado Connecticut Delaware District of Columbia Federated States of Micronesia Florida Georgia Guam Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Marshall Islands Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota North Mariana Islands Ohio Oklahoma Oregon Palau Pennsylvania Puerto Rico Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virgin Islands Virginia Washington West Virginia Wisconsin Wyoming Armed Forces the Americas Armed Forces Europe Armed Forces Pacific Abbreviation for State code fields if there is a need to indicate multiple states. ZIP Code - 5 digits plus optional 4 or 7 digits Used for a phone no. - 10 digits Used for an email address. The User ID portion of the email address allows: A-Z, a-z, 0-9, underscore, hyphen and period. IPv4 Email Address. IPv6 Email Address Domain Name Email Address Used for a text field. Legal Characters: printable characters from ! to ~ plus symbols from ¡ to ¿ plus Spanish characters and single space. Illegal Character: leading space, trailing space, adjacent spaces. A typical explanation field that allows up to 9000 characters A one-line explanation field that allows up to 100 characters. A short explanation field that allows up to 1000 characters. A long explanation field that allows up to 1,000,000 characters. Country abbreviations, a.k.a. country codes Afghanistan Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Ashmore and Cartier Islands Australia Austria Azerbaijan Bahamas Bahrain Baker Islands Bangladesh Barbados Bassas da India Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia-Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory British Virgin Islands Brunei Bulgaria Burkina Faso Burma Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Christmas Island Clipperton Island Cocos (Keeling) Islands Columbia Comoros Congo (Democratic Republic) Cook Islands Coral Sea Islands Costa Rica Cote D'Ivoire (Ivory Coast) Croatia Cuba Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic East Timor Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Europa Island Falkland Islands (Islas Malvinas) Faroe Islands Federated States of Micronesia Fiji Finland France French Guinea French Polynesia French Southern and Antarctic Lands Gabon The Gambia Gaza Strip Georgia Germany Ghana Gibraltar Glorioso Islands Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea-Bissau Guyana Haiti Heard Island and McDonald Islands Honduras Hong Kong Howland Island Hungary Iceland India Indonesia Iran Iraq Ireland Israel Italy Jamaica Jan Mayen Japan Jarvis Island Jersey Johnston Atoll Jordan Juan de Nova Island Kazakhstan Kenya Kingman Reef Kiribati Korea, Democratic People's Republic of (North) Korea, Republic of (South) Kuwait Kyrgyzstan Laos Latvia Lebanon Lesotho Liberia Libya Liechtenstein Lithuania Luxembourg Macau Macedonia Madagascar Malawi Malaysia Maldives Mali Malta Man, Isle of Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Midway Islands Moldova Monaco Mongolia Montserrat Morocco Mozambique Namibia Nauru Navassa Island Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana Island Norway Oman Other Countries Pakistan Palmyra Atoll Palua Panama Papua-New Guinea Paracel Islands Paraguay Peru Philippines Pitcairn Islands Poland Portugal Puerto Rico Qatar Reunion Romania Russia Rwanda Samoa and Western Samoa San Marino Sao Tome and Principe Saudi Arabia Senegal Seychelles Sierra Leone Singapore Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia and the South Sandwich Islands Spain Spratly Islands Sri Lanka St. Helena St. Kitts and Nevis St. Lucia Island St. Pierre and Miquelon St. Vincent and the Grenadines Sudan Suriname Svalbard Swaziland Sweden Switzerland Syria Taiwan Tajikistin Tanzania Thailand Togo Tokelau Tonga Trinidad and Tobago Tromelin Island Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom (England, Northern Ireland, Scotland, and Wales) Uruguay Uzbekistan Vanuatu Vatican City Venezuela Vietnam Virgin Islands Wake Island Wallis and Futuna West Bank Western Sahara Yemen (Aden) Zambia Zimbabwe