Barcode Introduction > USPS Intelligent Mail (Onecode)
USPS Intelligent Mail (Onecode) Overview
USPS Intelligent Mail Barcode is also known as IM Barcode, OneCode 4CB, USPS 4CB, 4-CB, 4-State Customer Barcode, USPS OneCode Solution Barcode, USPS IM. The Intelligent Mail (Onecode) is a fixed-length barcode, and its data length can be 20, 25, 29, or 31 digits. Besides, it is a newer service barcode used by United States Postal Service for mailpiece sorting and tracking. Furthermore, Intelligent Mail has an increased data capacity than its predecessors POSTNET and PLANET. It allows both the PLANET Code and POSTNET barcode information to be combined into a single barcode with expanded tracking.
USPS Intelligent Mail (OneCode) Generation
IM OneCode for .Net - .NET Barcode Component for Intelligent Mail OneCode generation in Windows and Web Applications

IM OneCode for Winforms - .NET Barcode Control for Intelligent Mail generation in .NET Winforms, C#.NET and VB.NET

IM OneCode for ASP.NET - .NET Barcode Control for Intelligent Mail OneCode integration in ASP.NET Web Applications, IIS

IM OneCode for Java - Java Barcode Control for Intelligent Mail OneCode generation in Java

IM OneCode for Word - Word Barcode Control for Intelligent Mail OneCode creation in MS Word

IM OneCode for Excel - Excel Barcode Control for Intelligent Mail OneCode generation in MS Excel
USPS Intelligent Mail (OneCode) Structure
USPS Intelligent Mail is a 4-state barcode, which encodes data using four types of bars: ascender, descender, tracker, and full bar. Each Intelligent Mail consists of 7 parts: a starting & stopping quiet zone, barcode identifier, service type identifier (STID), Mailer ID, sequence Number and Delivery point ZIP code.
USPS Intelligent Mail (OneCode) Data
The encodable data of USPS Intelligent Mail (OneCode) may be divided into two types: Tracking Code and Routing Code. Tracking code contains barcode identifier, service type identifier, mailer identifier and serial number. And routing code contains only delivery point ZIP code.

Barcode Identifier

Barcode identifier is designed to indicate Optional Endorsement Line (OEL) sort level and Exception Handling. It often uses 2-digit number, with the second digit ranging from 0-4. The encoding ranges are allowed to be 00-04, 10-14, 20-24 ��..70-74, 80-84, 90-94.

Service Types Identifier

Service Types Identifier is applied to identify mailpiece class and shape, such as Destination Confirm, etc, which often uses the first 2 digits. The encoding range is allowed to be 000-999.

Mailer Identifier

Mailer Identifier is used for identifying the specific business sending the mailing, with a 6- or 9- digit number. In order to distinguish these two different length number, a 6-digit Mail Identifier begins with digit 0-8 and a 9-digit Mail ID begins with digit 9.

Sequence Number

Sequence Number is used for identifying the specific recipient or household, with a 6- or 9- digit number. The length of Sequence Number is determined by the length of Mail Identifier: if Mail Identifier is 6-digit number, then Sequence Number should be 9 digits; otherwise 6 digits.

Delivery Point ZIP Code

Delivery Point ZIP Code is also called Routing ZIP, which is used for the address. This code is an optional for the users. The length is permitted to be 0-, 5-, 9-, or 11-digit.
USPS Intelligent Mail (Onecode) Benefits
Apart from providing greater information and functionality than POSTNET and PLANET, USPS Intelligent Mail (Onecode) has some unique benefits:
  • Allowing mail service measurement;
  • Providing mailers with feedback about their mails;
  • Possessing the capability for end-to-end mailpiece tracking;
  • Supporting a more convenient and smarter way to use mail.