The IM barcode carries a data payload of up to 31 digits representing the following elements:
Barcode identifier A barcode identifier is assigned by the United States Postal Service to encode the presort identification that is currently printed in human-readable form on the optional endorsement line (OEL). It is also available for future United States Postal Service use. This is accomplished using two digits, with the second digit in the range of 0–4. The allowable encoding ranges are 00–04, 10–14, 20–24, 30–34, 40–44, 50–54, 60–64, 70–74, 80–84, and 90–94. The first digit of the barcode identifier is defined as:
Service type identifier (STID) A three-digit value represents both the class of the mail (such as first-class, standard mail, or periodical), and any services requested by the sender. Basic STIDs, for the purpose of automation only, are as follows: For a detailed list of STIDs, see Appendix A of the USPS Guide to Intelligent Mail Letters and Flats or Service Type Identifiers.
Mailer ID A 6- or 9-digit number assigned by the United States Postal Service identifies the specific business sending the mailing. Higher-volume mailers are eligible to receive 6-digit mailer IDs, which have a larger range of associated sequence numbers; lower-volume mailers receive 9-digit mailer IDs. To make it possible to distinguish 6-digit IDs from 9-digit IDs, all 6-digit IDs begin with a digit between 0 and 8 inclusive, while all 9-digit IDs begin with the digit 9.
Sequence number A mailer-assigned 6- or 9-digit ID specific to one piece of mail, to identify the specific recipient or household. The mailer must ensure that this number remains unique for a 45-day period after the mail is sent if a full service discount is claimed; otherwise, it does not have to be unique. The sequence number is either 6 or 9 digits, based on the length of the mailer ID. If the mailer ID is 6 digits long, then the sequence number is 9 digits long, and conversely, so that there will always be 15 digits in total when the mailer ID and the sequence number are combined.
Delivery-point ZIP code This section of the code may be omitted, but if it is present, the 5-, 9-, or 11-digit forms of the
ZIP Code are also encoded in the Intelligent Mail barcode. The full 11-digit form includes the standard 5-digit ZIP code, the ZIP + 4 code, and a 2-digit code indicating the exact
delivery point. This is the same information that was encoded in the POSTNET barcode, which the Intelligent Mail barcode replaces. == References ==