Intelligent Mail® Barcode Technical Resource Guide
Intelligent Mail® Barcode Technical Resource Guide
Prepared by:
Intelligent Mail Planning and Standards
United States Postal Service
Copyright
Copyright © 2006, 2007, 2008 United State Postal Service. All rights reserved.
Trademarks
The following are among the trademarks owned by the United States Postal Service:
Confirm®, DMM®, First-Class Mail®, Intelligent Mail®, OneCode Vision®, OneCode ACS™, OneCode Confirm™. OneCode
Solution™, PLANET® Barcode, PLANET Code®, Postal Service™, POSTNET™, Standard Mail®, United States Postal
Service®, U.S. Postal Service™, USPS®, ZIP+4® Code, and ZIP Code™.
This is not a comprehensive list of all Postal Service trademarks.
Disclaimer
The information in this document is intended to give mailers and service providers cursory information on the use of Intelligent
Mail® barcode for OneCode Confirm™ and OneCode ACS™ services.
U.S. Postal Service reserves the right to change the information conveyed in this document without prior notice.
Information in this document is derived from official US Postal Service publications, including the Domestic Mail Manual. Where
there is conflict, the official publications have precedence over this document.
2
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
TABLE OF CONTENTS
3
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
Other physical characteristics are the same as POSTNET™ and PLANET Code® barcodes.
Appendix A contains the Intelligent Mail barcode specification tolerances.
The Intelligent Mail barcode consists of a 20-digit Tracking Code (Barcode ID, Service Type
ID, Mailer Identifier (MID), and Serial Number) and up to 11-digit Routing Code (Delivery
Point ZIP Code). Depending on mail volume and services selected, the Intelligent Mail
barcode construct will change as seen in the figures below.
The following fields are embedded within the Intelligent Mail barcode:
4
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
The general steps below can be followed to produce an Intelligent Mail barcode:
Obtain application materials and Mailer Identifier (MID) from local Business Mail Entry
Unit (BMEU) or Mailpiece Design Analyst (MDA).
Decide on what data will go into the Intelligent Mail barcode and populate the barcode
fields: Tracking Code (Barcode ID, Service Type ID, Mailer ID, Serial Number) and
Routing Code (Delivery Point ZIP Code).
Encode required 20-digit Tracking Code and up to 11-digit Routing Code into 65-
character string (encoders available on PostalPro).
Apply font to 65-character string (fonts available on PostalPro).
Print barcode on mailpiece or save barcode image for later application.
Priority Mail Flat-shaped mailpieces with permit imprints may bear a POSTNET or Intelligent
Mail barcode instead of the postal routing barcode for Commercial Base and
Commercial Plus pricing.
The Intelligent Mail barcode can be placed in any location where POSTNET barcodes
are currently allowed; the most common placement is within the address block.
In 2003, the United States Postal Service (USPS) published the Intelligent Mail®
Corporate Plan. This plan identified several key strategies including: Uniquely Identify
Mail and Mail Aggregates; Develop and Deploy an Enabling Infrastructure; and Enhance
Address Quality. This plan provided the following vision:
“To capitalize on the value of information about mail, the Postal Service and
its customers will place an information-rich code on all mail, aggregates of
mail, and business forms, enabling end-to-end visibility into the mail
stream.”
5
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
In support of this OneCode Vision®, the Postal Service, in partnership with the mailing
industry, developed the Intelligent Mail® barcode (formally known as the 4-state Customer
Barcode). It is the next generation in the evolution of Postal Service barcode technology. It
offers a more effective alternative to existing barcodes by increasing the amount of
information that is present on letter and flat mailpieces, allowing for expanded tracking
capability, and creating greater visibility into the mailstream.
The Intelligent Mail barcode is a height-modulated barcode that encodes up to 31-digit string
of mailpiece data into 65 vertical bars. These bars may be present in one of four possible
states: full bar, ascender, tracker, and descender.
ascending
region
tracking
region
descending
region
The 31-digit Intelligent Mail barcode (65 bars) is slightly longer than the 11-digit POSTNET
barcode (62 bars), and it offers mailers certain flexibility in choosing the height and width of
the barcode. Due to mailpiece real estate concerns and barcode print quality, some mailers
expressed an interest in a shorter-height Intelligent Mail barcode. Evaluations were
conducted with letter mail that allowed the Postal Service to reduce the height requirement
by 16.3% for the September 2006 offering. Consequently, the read-rate and dimension
analysis supported by an extensive flats test was used as a decision-making tool in
determining the feasibility of a revised Intelligent Mail barcode with further reduced vertical
dimensions. As a result of this, in July 2007, the Postal Service published a new
Specification for the Intelligent Mail barcode with even shorter bar heights with the full bar
ranging in height between 0.125 and 0.165 inches.
The Postal Service offers a suite of services for letters and flats using the Intelligent Mail
barcode. This suite of services is called the OneCode Solution™ suite. Since the initial
launch of the Intelligent Mail barcode on September 1, 2006, mailers have had the option of
using the Intelligent Mail barcode on letter mail for the Confirm® Service, referred to as
OneCode Confirm™, and a version of Address Change Service™ (ACS™), called OneCode
ACS™. The Intelligent Mail barcode can be used for automation-rate eligibility with or
without these services requested. Effective May 1, 2007, the Postal Service expanded use
of the Intelligent Mail barcode by allowing mailers to use IM™ barcode on automation-rate
flat-size mailpieces.
6
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
The Postal Service allows mailers to use the Intelligent Mail barcode on automation-rate
First-Class Mail®, Standard Mail®, Periodicals, and Bound Printed Matter letters and flats
for rate eligibility in lieu of the POSTNET barcode. The Postal Service allows First-Class
Mail, Standard Mail, and Periodicals letters and flats with Intelligent Mail barcode to
participate in OneCode Confirm and OneCode ACS programs.
Details pertaining to the use of the Intelligent Mail barcode as part of OneCode ACS are
available in Publication 8b, Address Change Service-OneCode ACS. Additional details
about the use of the Intelligent Mail barcode as part of the OneCode Confirm are available in
Publication 197 - Confirm® Service User Guide. These documents can be downloaded from
the PostalPro website at https://postalpro.usps.com/mailing#cat-subsection-2.
At the present time, use of the Intelligent Mail barcode is optional; however, many
customers have found that, because it offers significant advantages over POSTNET and
PLANET Code barcodes (including using less mailpiece “real estate” and offering more
overall data capacity), it makes good business sense to use this new format.
The Postal Service will require the Intelligent Mail barcode to qualify for automation
discounts in May 2011. Until then, the Postal Service will continue to support the use of the
POSTNET barcode for encoding the delivery point barcode for automation discount
eligibility, the PLANET Code barcode for encoding tracking information for Confirm, and
alphanumeric characters for conveying participant code and Keyline information for ACS.
The Intelligent Mail barcode carries a data payload of up to 31 digits comprised of the
following elements.
Mailer Identifier 6 or 9
The Barcode Identifier field is a 2-digit field that is reserved to encode the presort
identification that is currently printed in human readable form on the optional endorsement
7
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
line (OEL) as well as for future Postal Service use. Generally, this field should be left as “00”
if an OEL is not printed on the mailpiece. The exception is for automation-rate eligible flat
mail with an optional endorsement line, where the Intelligent Mail barcode must contain OEL
coding corresponding to the correct sortation level of each piece. Table B1 in Appendix B
provides the OEL codes for use within the Intelligent Mail barcode.
The Service Type Identifier field is a 3-digit field that indicates participation, or the lack of, in
various Postal Service programs. Each 3-digit value corresponds to a particular mail class
with a particular combination of service(s). Eventually the Postal Service anticipates
supporting many combinations of class and service using this field; however, initially only a
limited set of offerings are available. Table B2 in Appendix B provides service codes and
corresponding service descriptions.
Beyond simply identifying when a mailpiece carries services, the Intelligent Mail barcode will
identify the mail class – even when no additional service is requested. Mailers printing the
Intelligent Mail barcode solely to qualify for automation discount must populate the Service
Type ID field with one of the following values: 700 for First-Class Mail, 702 for Standard
Mail, 704 for Periodicals, or 706 for Bound Printed Matter. Reply mail, such as Courtesy
Reply Mail (CRM), Meter Reply Mail (MRM), and Permit Reply Mail (PRM) may use the
Intelligent Mail barcode by populating the Service Type ID field with the First-Class Mail
designation. Mailers using Business Reply Mail (BRM) or Qualified Business Reply Mail
(QBRM) without any services should populate the Service Type ID field with 708.
Effective January 18, 2009, Priority Mail Flat-shaped mailpieces with permit imprints may
bear a POSTNET or Intelligent Mail barcode instead of the postal routing barcode for
Commercial Base and Commercial Plus pricing.
The Mailer Identifier (Mailer ID or MID) field is a 6-digit or 9-digit number that identifies a
specific agent in the mail preparation process who has responsibility for the ownership,
content, make up, or preparation of the mail.
Local Business Mail Entry Units (BMEUs) and Mailpiece Design Analysts (MDAs) are
responsible for issuing Mailer IDs to any customer who does not plan to subscribe to
OneCode Confirm or OneCode ACS. These customers, without a previously-assigned
Mailer ID, can locate a BMEU via http://www.usps.com/nationalpremieraccounts/
findlocators.htm or use http://www.usps.com/replymail/mailpiece.htm to find a local MDA.
Mail owners and mail preparers will be granted 6-digit or 9-digit Mailer IDs based upon their
mail volume and criteria identified by the Postal Service. All 6-digit Mailer IDs will begin with
‘0’ through ‘8’; all 9-digit Mailer IDs will begin with ‘9’.
Mailer ID is only recommended, and not required on all reply mail using Confirm service,
except QBRM and PRM. QBRM and PRM will require Mailer ID in May 2010.
8
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
The Serial Number is a 6-digit or 9-digit field depending on the length of the Mailer ID. The
Serial Number can be populated with a number that uniquely identifies each mailpiece,
becoming a Unique Mailpiece ID. Alternatively, the Serial Number may also be populated
with a number that is unique to a mailing, becoming a Unique Mailing ID. The uniqueness
method is left up to the mailer and can be achieved, among other things, by serializing the
mailpieces, embedding Julian date, embedding mailing event, using recipient identifier,
using database or mailing record ID. Serial Number uniqueness is not required when
qualifying for basic automation prices.
For existing Destination Confirm users, this field can hold the PLANET Code barcode
Mailing ID field, padded with additional digits to fill the field completely. For existing Origin
Confirm users, the Serial Number and the Mailer ID fields can be combined into a 15-digit
field to hold the PLANET Code barcode 9-digit or 11-digit Customer ID, padded with
additional digits to fill the field completely. OneCode ACS users should use the Serial
Number field to encode information previously encoded within the Keyline field.
The Routing Code field is an optional field, which may contain a 5-digit ZIP Code, a 9-digit
ZIP+4 code, or an 11-digit delivery point code. When used on letters for automation-rate
eligibility purposes, the routing code must contain a delivery point code from CASS-certified
software that accurately matches the delivery address. When used on flat-size pieces for
automation-rate eligibility purposes, the barcode must contain either a ZIP+4 or a delivery
point routing code that accurately matches the delivery address. Unlike POSTNET barcode,
the Routing Code within the Intelligent Mail barcode does not require a check digit. Also,
unlike POSTNET barcode, the Intelligent Mail barcode is always 65 bars regardless of ZIP
Code length. In certain situations the mailer may opt not to populate the Routing Code and
use the barcode only for tracking; however, mailers should adhere to USPS program-specific
guidance. The Routing Code, if populated, must never be padded with zeros, spaces or nulls
that are not part of the valid ZIP Code.
Remittance or reply mail may use the Intelligent Mail barcode with a proper Routing Code
for the mailpiece. Note that 11-digit delivery point codes are not permitted on Business
Reply Mail (BRM). When used by Origin Confirm users, the Routing Code serves as the
“Subscriber ID”, in which case the Routing Code used must be registered within the
subscriber’s OneCode Confirm account.
When using OneCode Confirm for “seeding” within an automation discount mailing, a non-
seeded mailpiece may use the Intelligent Mail barcode with a proper Delivery Point ZIP
Code to meet the automation discount criteria. Such an Intelligent Mail barcode should use
one of the Service Type IDs defined for use as a Mail Class Designator (those codes without
services) to indicate that the piece is not intended to generate Confirm information. The
Mailer Identifier field should contain the appropriate Confirm Subscriber ID.
9
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
Encoding data into a POSTNET or PLANET Code is very straightforward: each digit in the
payload is represented by a predefined pattern of 5 bars. Encoding data into an Intelligent
Mail barcode is more complex. The encoding algorithm that translates the 31 digits in the
payload into 65 bars is defined in the USPS publication, Specification USPS-B-3200, which
is available for download from PostalPro.
To facilitate the adoption of the Intelligent Mail barcode, the Postal Service has developed,
and is making available at no charge, a web-based, interactive encoder-decoder tool, and
an extensive library of encoding software and fonts suitable for encoding and printing the
Intelligent Mail barcode in mail production environments using selected operating systems
and printing architectures. These resources are available from the same PostalPro web site.
To download the library of encoding software and fonts from the PostalPro website, users
must first request a user ID and password by calling the NCSC Help Desk at (877) 640-0724
or contacting them via email at onecodesolution@usps.gov
Once logged in, users will be able to download the encoding software package for any
particular operating system of interest. Each package contains all the files needed to use the
encoder software under that operating system in any of the languages or applications that
are supported. The Postal Service currently provides software, implemented in C, Java,
Cobol, and PL1. The supported operating systems are: MVS, z/OS, OS/390, VSE/ESA,
OS/400, AIX, Linux, HP/UX, Solaris, Mac OS X, and Windows. The list of combinations
available is provided in Appendix C.
For each operating system, the encoding software package is distributed as a standard ZIP
file. Users can use any utility that can handle a PKZIP file to extract the individual files to the
path stored on the ZIP File. A user guide is included in each package to provide detailed
operating system and language-specific instructions on how to install and use the files in the
package. All the required binary loadable software modules and a number of source files for
installation verification are also included in the package.
Independent of operating system and language, the encoding software works as follows.
Each call to the encoder requires two arguments: a 20-digit tracking code, and none, 5, 9, or
11-digit routing code. The encoder will return the status of the encoding function along with
a 65-character string of the letters F, A, D, or T, representing a full bar, ascender,
descender, or tracker, respectively.
10
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
From the PostalPro website, registered and logged in users will be able to download the font
package needed to install and use the font for the following major production printing
environments: Advanced Function Printing (AFP), XEROX Metacode, Hewlett Packard’s
PCL (Print Control Language), Adobe’s Postscript, and TrueType.
On letters, the Intelligent Mail barcode can be placed in the address block or in the barcode
clear zone. On flats, the Intelligent Mail barcode can be placed anywhere on the address
side as long as it is at least 1/8 inch from any edge of the piece. To avoid ambiguity, only
one Intelligent Mail barcode can be placed in the same area.
The placement configurations of the Intelligent Mail barcode on a letter-size and flat-size
mail are defined in the Domestic Mail Manual (DMM™). Below are some commonly used
placement configurations. The mailpiece images used to illustrate these configurations are
not meant to be exact or exhaustive; note that the POSTNET barcode is acceptable for
automaton prices only until May 2011. For additional details concerning barcode placement,
please refer to 202.5, 302.4 and 503.13.3 of the DMM.
Configuration 1
Mailer applies the Intelligent Mail 6060 PRIMACY PKWY STE 201
FIRST-CLASS MAIL
AUTO
U.S. POSTAGE
PAID
MEMPHIS TN 38188-0001
barcode above or below the address MEMPHIS, TN
PERMIT NO. 1
Configuration 2(a)
Mailer applies the Intelligent Mail 6060 PRIMACY PKWY STE 201
FIRST-CLASS MAIL
AUTO
U.S. POSTAGE
MEMPHIS TN 38188-0001 PAID
Configuration 2(a)
11
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
Configuration 2(b)
block.
MLOCR applies the POSTNET
barcode in the barcode clear zone, Charles E Bravo
along with the human readable United States Postal Service
54321 Main Street
automation marking and ZIP Code to Anywhere USA 12345-6789
1
It is also known as automation rate marking. Requirement for automation marking is stated in 604.9.4.14(e) of the DMM.
Specification for automation marking is in 705.5.3.2 of the DMM.
12
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
Configuration 5
Mailer does not apply POSTNET FIRST-CLASS MAIL
barcode or the Intelligent Mail 6060 PRIMACY PKWY STE 201 AUTO
U.S. POSTAGE
5. ADDITONAL RESOURCES
For general information, or to download specifications, publications for various services, and
the library of encoding software and fonts, please visit the PostalPro web site at:
https://postalpro.usps.com/mailing-and-shipping-services/onecode-acs.
To obtain User ID and Password to download the library of encoding software and fonts, or
for technical assistance in using the online tool or the library of encoding software and fonts,
contact the NCSC Help Desk at (877) 640-0724.
The Help Desk for Confirm service can be reached at (800) 238-3150.
The Mailpiece Design Analyst Lookup Tool for non Confirm or ACS IM™ barcode usage is
located at http://www.usps.com/replymail/mailpiece.htm.
13
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
14
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
20 5-Digit/Scheme
30 3-Digit/Scheme
040 First-Class Mail with Destination Confirm (request for Confirm service mailpiece
processing data for outgoing First-Class Mail)
042 Standard Mail with Destination Confirm (request for Confirm service mailpiece
processing data for outgoing Standard Mail)
044 Periodicals with Destination Confirm (request for Confirm service mailpiece
processing data for outgoing Periodicals)
050 Origin Confirm (request for Confirm service mailpiece processing data for
incoming reply mail)
2
Details pertaining to the use of the Intelligent Mail barcode as part of OneCode ACS are available in Publication 8b, Address
Change Service-OneCode ACS. Details pertaining to the use of the Intelligent Mail barcode as part of OneCode Confirm are
®
available in Publication 197 - Confirm Service User Guide.
15
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
052 Business Reply Mail with Origin Confirm (request for Confirm service mailpiece
processing data for incoming reply BRM pieces)
080 First-Class Mail with Address Service Requested (request for ACS where
forwardable First-Class Mail is forwarded; all other Undeliverable as Addressed
(UAA) mail is returned)
082 First-Class Mail with Change Service Requested (request for ACS with an option
for disposal of all UAA mail or for forwardable First-Class Mail to be forwarded;
all other UAA mail is disposed of)
090 Standard Mail with Address Service Requested (request for ACS requiring
printed endorsement where forwardable Standard Mail is forwarded; all other
UAA mail is returned at the weighted fee)
092 Standard Mail with Change Service Requested (request for ACS requiring
printed endorsement where all UAA mail is disposed of)
782 Periodicals with Address Service Requested (request for ACS where forwardable
Periodicals are forwarded; all other UAA mail is returned to sender postage due)
140 First-Class Mail with Destination Confirm and Address Service Requested
(request for Confirm service mailpiece processing data for outgoing First-Class
Mail and for ACS where forwardable First-Class Mail is forwarded; all other UAA
mail is returned)
240 First-Class Mail with Destination Confirm and Change Service Requested
(request for Confirm service mailpiece processing data for outgoing First-Class
Mail and ACS with an option for disposal of all UAA mail or for forwardable First-
Class Mail to be forwarded; all other UAA mail is disposed of)
142 Standard Mail with Destination Confirm and Address Service Requested (request
for Confirm service mailpiece processing data for outgoing Standard Mail and
ACS requiring printed endorsement, where forwardable Standard Mail is
forwarded; all other UAA mail is returned at the weighted fee)
242 Standard Mail with Destination Confirm and Change Service Requested (request
for Confirm service mailpiece processing data for outgoing Standard Mail and
ACS requiring printed endorsement, where all UAA mail is disposed of)
144 Periodicals with Destination Confirm and Address Service Requested (request
for Confirm service mailpiece processing data for outgoing Periodicals and ACS
where forwardable Periodicals are forwarded; all other UAA mail is returned to
sender postage due.)
16
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
Starting in May 2009, Basic and Full-Service option mailpieces must use the Service Type
IDs in the first two columns of the table below. Nonautomation and all other mailpieces
must use the Service Type IDs in the last column of the table. For detailed information on
the full-service option implementation of Intelligent Mail barcodes visit PostalPro at
https://postalpro.usps.com/mailing#cat-subsection-1.
List of acronyms:
ACS: Address Change Service CRM: Courtesy Reply Mail
ASE: Ancillary Service Endorsement MRM: Meter Reply Mail
ASR: Address Service Requested PRM: Permit Reply Mail
CSR: Change Service Requested QBRM: Qualified Business Reply Mail
17
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
18
Intelligent Mail Barcode Technical Resource Guide
January 13, 2009 | Rev. 3.5
Type
TrueType Yes
19