USPS tracking numbers: what the digits mean
The first two digits of a USPS Package Identification CodePIC, Piece Identification Code, tracking number“A Package Identification Code or PIC is a unique data string that serves as a unique tracking number for a mailpiece. Each PIC will consist of an Application Identifier, service type code, data string that will vary based upon the specific data construct, and a MOD 10 check digit.”Intelligent Mail® Package Barcode (IMpb) Specification, page 7USPS original name the channel that made the label, and the next three name its mail class and services.Parcel Labeling GuidePage 33USPS original“The Channel Application Identifier (AI) is a specific 2-digit application identifier used to identify both the business induction channel from which the mailpiece originated and to indicate where USPS may locate a payment record for the mailpiece.”Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The tracking number contains all of the following data elements: Channel Application Identifier, Service Type Code, MID, serial number and MOD10 check digit. … Service Type Code (STC): This three-digit field identifies the mail class, product, and/or extra service(s) combination.” A number starting 92 or 93 came from a business with its own Mailer ID, and one starting 94 from postage software or a meter.Parcel Labeling GuidePage 33USPS original“Source: For the commercial mailer, always a “92” when used with a 9-digit Mailer ID or “93” when used with a 6-digit Mailer ID.”Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 455USPS original“94 For example: WebTools/USPS APIs PC Postage Vendor Postage Meters” It has 22, 26 or 30 digits.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 453USPS original“Online / PC Postage Label (Nine-digit MID, No routing ZIP Code) 0 0 2 3 2 9 13 1 30 30”Intelligent Mail® Package Barcode (IMpb) SpecificationPage 13USPS original“Human Readable Representation of Barcode Data: 9212 3912 3456 7812 3456 71 (22 digits)”Page 14USPS original“Human Readable Representation of Barcode Data: 9212 3912 3456 7812 3456 7890 #1 (26 digits)”
What a tracking number is
A USPS tracking number is the number printed in groups of four under a package label's barcode.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 62USPS original“For all labels (non-concatenated and concatenated), the human-readable representation of the barcode must be parsed in groups of four with any remaining digits grouped at the end.” USPS calls it the package identification code, and each package gets its own.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 475USPS original“A Package Identification Code or PIC is a unique data string that serves as a unique tracking number for a mailpiece.” The barcode, the Intelligent Mail Package Barcode, holds the package's destination ZIP Code too, but the printed number leaves the ZIP Code out.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Concatenated barcode data constructs across all USPS channels that allow for destination routing information (i.e., ZIP Code) and package identification code (PIC) data in a single barcode … NOTE: The AI (420) and the ZIP Code (5- or 9-digit) are suppressed in the human-readable representation.”
The number joins five fields, in this order:Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The tracking number contains all of the following data elements: Channel Application Identifier, Service Type Code, MID, serial number and MOD10 check digit.”
- The , two digits for the channel that made the label.Parcel Labeling GuidePage 33USPS original“The Channel Application Identifier (AI) is a specific 2-digit application identifier used to identify both the business induction channel from which the mailpiece originated and to indicate where USPS may locate a payment record for the mailpiece.”
- The , three digits for the mail class, the product and any extra services.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Service Type Code (STC): This three-digit field identifies the mail class, product, and/or extra service(s) combination.”
- The , six or nine digits that name the mailer.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Mailer ID (MID): This field may be six- or nine-digits in length.”
- The , the mailer's own number for the package.Parcel Labeling GuidePage 35USPS original“Uniquely identifies the mailpiece associated with this Mailer ID.”
- The , worked out from the digits before it.Parcel Labeling GuidePage 35USPS original“A 1-digit, Mod 10 Check Digit is the final digit in the IMpb data string calculated using the package identification code portion of the data, which is the string from the channel AI through the serial number.”
A label from postage software or a meter adds a two-digit Source Identifier“This two-digit field identifies the type of online source: PC Postage vendor, postage meter, or an internal USPS system such as Click-N-Ship.”Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment Systems, page 50USPS original after the .Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The source identifier is used only with Channel Application Identifier “94”.”Page 56USPS original“Service Type Code 3 digits Source Identifier (ex. CNS, PC Postage Vendor, Meter) 2 digits”
The first five digits say which channel made the label and which service it paid for.Parcel Labeling GuidePage 33USPS original“The Channel Application Identifier (AI) is a specific 2-digit application identifier used to identify both the business induction channel from which the mailpiece originated and to indicate where USPS may locate a payment record for the mailpiece.”Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Service Type Code (STC): This three-digit field identifies the mail class, product, and/or extra service(s) combination.”
The rest say which business sent the package and which package it is, and check the digits before them.Parcel Labeling GuidePage 35USPS original“Uniquely identifies the mailpiece associated with this Mailer ID. … A 1-digit, Mod 10 Check Digit is the final digit in the IMpb data string calculated using the package identification code portion of the data, which is the string from the channel AI through the serial number.”Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 474USPS original“MID is a unique 6- or 9-digit number that identifies the mailer or the mailer’s client.”
The first two digits: who made the label
The first two digits are the channel code, which USPS calls the Channel Application Identifier“This is a specific two-digit application identifier used to identify both the business induction channel from which the mailpiece originated and to indicate where Postal Service may locate a payment record for the mailpiece.”Intelligent Mail® Package Barcode (IMpb) Specification, page 4USPS original.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The tracking number contains all of the following data elements: Channel Application Identifier, Service Type Code, MID, serial number and MOD10 check digit.” It names the channel that made the label, and so where USPS can find the package's payment record.Parcel Labeling GuidePage 33USPS original“The Channel Application Identifier (AI) is a specific 2-digit application identifier used to identify both the business induction channel from which the mailpiece originated and to indicate where USPS may locate a payment record for the mailpiece.” Every tracking number has one, and it keeps the number unique.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The channel application identifier must always be included, and is required to make the barcode unique.” A tracking number starts with one of four: 92, 93, 94 or 95.Parcel Labeling GuidePage 33USPS original“Valid IMpb Channel Application Identifiers are “92”, “93”, “94”, and “95.” AI “92” and AI “93” are for use by commercial mailers. AI “94” is for USPS online channel mailings and AI “95” is reserved for the USPS retail environment.”
- The first two digits to A commercial mailer: 92 or 93.
- A commercial mailer to 92 with a nine-digit Mailer ID.
- The first two digits to A USPS channel: 94 or 95.
- A USPS channel to 94 from postage software, an API or a meter.
A business gets its Mailer ID from USPS, through the Mailer ID tool on the Business Customer Gateway.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 474USPS original“The Mailer ID tool is the application on the Business Customer Gateway used by customers to obtain MIDs for use in either Confirmation Services or eVS programs.” Most businesses are given nine digits, and their labels start with 92.Intelligent Mail® Package Barcode (IMpb) SpecificationPage 5USPS original“Most mailers will be assigned a 9-digit Mailer Identifier, which is used in conjunction with AI “92”. On an individual basis, some mailers or consolidators will be assigned a 6-digit Mailer Identifier, and would then use AI “93”.” A high-volume shipper may ask for six digits instead, and its labels start with 93.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 28USPS original“High volume customers and customers who require longer serial numbers may request a six-digit MID.”Intelligent Mail® Package Barcode (IMpb) SpecificationPage 5USPS original“Most mailers will be assigned a 9-digit Mailer Identifier, which is used in conjunction with AI “92”. On an individual basis, some mailers or consolidators will be assigned a 6-digit Mailer Identifier, and would then use AI “93”.”
Labels made by PC Postage software, a USPS API or a postage meter start with 94.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 455USPS original“94 For example: WebTools/USPS APIs PC Postage Vendor Postage Meters” So do labels from USPS's own Click-N-Ship.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Source Identifier: This two-digit field identifies the type of online source: PC Postage vendor, postage meter, or an internal USPS system such as Click-N-Ship.” These numbers add a two-digit source identifier after the Service Type CodeSTC“Service Type Codes are designators used to represent USPS classes of mail in conjunction with the type of Extra Service(s) being requested.”Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment Systems, page 476USPS original, and USPS gives each vendor its own.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 56USPS original“Service Type Code 3 digits Source Identifier (ex. CNS, PC Postage Vendor, Meter) 2 digits”Page 50USPS original“Source identifiers are assigned by the Postal Service and are unique to each PC Postage or Meter Vendor.”
A label printed by a USPS retail system starts with 95.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 455USPS original“95 USPS Retail APC/SSK” A Self-Service Kiosk is one such system.USPS news release: Post Offices Closed Monday, Nov. 11 to Observe Veterans Day (Vermont, Nov 2013)The whole documentUSPS original“But some post offices which have Self-Service Kiosks (SSKs), formerly known as Automated Postal Centers (APCs), provide mailing services to customers using a credit or debit card 24-hours a day, 365 days a year.” A retail label's number has no Mailer ID, and a one-digit field names the retail system that printed it instead.Intelligent Mail® Package Barcode (IMpb) SpecificationPage 12USPS original“For example, commercial barcodes will always include the Mailer Identifier, while Retail barcodes will not include the mailer identifier, but will include a channel identifier to indicate the exact system from which the barcode originated.”Page 4USPS original“This one-digit field is used and encoded only in Postal Service-created barcodes … The Channel Identifier indicates the retail system from which a barcode originated (e.g., POS, APC).”
The next three digits: the service type code
The three digits after the channel code are the service type code.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The tracking number contains all of the following data elements: Channel Application Identifier, Service Type Code, MID, serial number and MOD10 check digit.” It names the mail class, the product and any extra services bought for the package.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Service Type Code (STC): This three-digit field identifies the mail class, product, and/or extra service(s) combination.” A package with no extra service has a code that says so.Intelligent Mail® Package Barcode (IMpb) SpecificationPage 5USPS original“This shall include identifying instances where no extra services have been purchased” Labels from every channel take their codes from the same list of valid service type codes, which USPS updates.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 52USPS original“Identifies the mail class, product, and any extra services. See Appendix I – Valid IMpb Service Type Code.”Page 55USPS original“Identifies the mail class, product, and any extra services. See Appendix I – Valid IMpb Service Type Code.”PostalPro: Intelligent Mail® Package Barcode (IMpb)The whole documentUSPS original“This document provides the updated service type codes for Intelligent Mail® Package Barcodes.”
The service type code
Matches the class and services on the label
The service type code must match the mail class, product and services printed on the label.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 18USPS original“The additional validation requires that an IMpb must include a valid, unique 3digit STC that accurately represents the mail class, product, and service combination on the physical label affixed to the package.”
A tracking number's first four digits are its channel code and the first two digits of its service type code.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The tracking number contains all of the following data elements: Channel Application Identifier, Service Type Code, MID, serial number and MOD10 check digit. … Service Type Code (STC): This three-digit field identifies the mail class, product, and/or extra service(s) combination.” In a number starting 9200 or 9400, the service type code starts with 00.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The tracking number contains all of the following data elements: Channel Application Identifier, Service Type Code, MID, serial number and MOD10 check digit.” In one starting 9405, it starts with 05.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Service Type Code (STC): This three-digit field identifies the mail class, product, and/or extra service(s) combination.” Up to ten codes can share those two digits, and the list below shows the ones in effect now.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Service Type Code (STC): This three-digit field identifies the mail class, product, and/or extra service(s) combination.”
Every code in USPS's list of service type codes, in order. The codes that share a tracking number's third and fourth digits sit together.
346 codes in the IMpb Service Type Code List, Appendix I.
001USPS Ground Advantage: Up to 15.999oz USPS Tracking019Priority Mail Return020USPS Ground Advantage Return: Up to 15.999oz021USPS Ground Advantage: Up to 15.999oz Signature Confirmation022USPS Ground Advantage Return: One Pound or More026Priority Mail: Certified Mail027Priority Mail: Certified Mail Return Receipt028Priority Mail: Certified Mail Return Receipt Electronic029Priority Mail: Certified Mail Return Receipt Return Receipt Electronic031Priority Mail: Certified Mail Return Receipt032Priority Mail: Certified Mail Restricted Delivery033Priority Mail: COD035Priority Mail: COD Return Receipt037Priority Mail Return: Hazardous Materials039Priority Mail: COD Return Receipt Electronic043USPS Ground Advantage: One Pound or More Registered Mail Restricted Delivery Return Receipt046Priority Mail: COD Restricted Delivery, Return Receipt Electronic049Priority Mail: COD Restricted Delivery Return Receipt052Priority Mail: COD Restricted Delivery053Priority Mail: COD Signature Confirmation055Priority Mail: USPS Tracking058Priority Mail: Insurance <= $500061Priority Mail: Insurance > $500063Priority Mail: Signature Confirmation Hazardous Materials065Priority Mail: Insurance > $500 Return Receipt
How many digits
A USPS tracking number has 22, 26 or 30 digits.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 453USPS original“Online / PC Postage Label (Nine-digit MID, No routing ZIP Code) 0 0 2 3 2 9 13 1 30 30”Intelligent Mail® Package Barcode (IMpb) SpecificationPage 13USPS original“Human Readable Representation of Barcode Data: 9212 3912 3456 7812 3456 71 (22 digits)”Page 14USPS original“Human Readable Representation of Barcode Data: 9212 3912 3456 7812 3456 7890 #1 (26 digits)” Its length depends on its channel, its Mailer ID's length and the Serial NumberSN“Uniquely identifies the mailpiece associated with this Mailer ID.”Parcel Labeling Guide, page 35USPS original's.Parcel Labeling GuidePage 36USPS original“This variability in length allows the IMpb to be either 22, 26, 30, or 34 digits in length depending upon the channel AI, serial number, and length of the postal code data (ZIP or ZIP+4).”Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 51USPS original“The serial number can also be of varied lengths depending on the barcode construct selected.” A longer serial number lets a large mailer keep each of its numbers unique.Intelligent Mail® Package Barcode (IMpb) SpecificationPage 12USPS original“This option will enable large-volume mailers to maintain uniqueness among their mailpieces”
The lengths a tracking number's fields can take in each channel, in digits. Numbers starting 94 also hold a two-digit source identifier.
| Starts with | Mailer ID | Serial number | Whole number |
|---|---|---|---|
92, a business | 9Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 52USPS original“Nine-digit used with AI “92”” | 7 or 11Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 52USPS original“Use a 7- or 11-digit number with a nine-digit MID.” | 22 or 26Intelligent Mail® Package Barcode (IMpb) SpecificationPage 13USPS original“Human Readable Representation of Barcode Data: 9212 3912 3456 7812 3456 71 (22 digits)”Page 14USPS original“Human Readable Representation of Barcode Data: 9212 3912 3456 7812 3456 7890 #1 (26 digits)” |
93, a business | 6Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 52USPS original“Six-digit used with AI “93”” | 10 or 14Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 52USPS original“Use a 10- or 14-digit number with a six-digit MID.” | 22 or 26Intelligent Mail® Package Barcode (IMpb) SpecificationPage 17USPS original“(C05 sample data) Human Readable Representation of Barcode Data: (22 digits)”Page 18USPS original“(C06 sample data) Human Readable Representation of Barcode Data: (26 digits)” |
94, nine-digit Mailer ID | 9Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 453USPS original“PC Postage and Meter mailers (including those that use OMAS) must use application identifier “94” for all barcode constructs. These users must also include the correct 2-digit source ID to indicate whether a 9-digit or 6-digit mailer ID is used in the barcode.” | 5, 9 or 13Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 55USPS original“Use a 5, 9, or 13-digit serial number with a ninedigit MID.” | 22, 26 or 30Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 55USPS original“Use a 5, 9, or 13-digit serial number with a ninedigit MID.”Page 453USPS original“Online / PC Postage Label (Nine-digit MID, No routing ZIP Code) 0 0 2 3 2 9 13 1 30 30”Intelligent Mail® Package Barcode (IMpb) SpecificationPage 27USPS original“Human Readable Representation of Barcode Data: 9412 3129 1234 5678 1234 51 (22 digits)” |
94, six-digit Mailer ID | 6Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 453USPS original“PC Postage and Meter mailers (including those that use OMAS) must use application identifier “94” for all barcode constructs. These users must also include the correct 2-digit source ID to indicate whether a 9-digit or 6-digit mailer ID is used in the barcode.” | 8 or 12Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 55USPS original“Use an 8 or 12-digit serial number with a six-digit MID.” | 22 or 26Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 453USPS original“Online / PC Postage Label (Six-digit mailer ID, No routing ZIP Code) 0 0 2 3 2 6 12 1 26 26”Intelligent Mail® Package Barcode (IMpb) SpecificationPage 25USPS original“(N02 sample data) Human Readable Representation of Barcode Data: (22 digits)” |
95, USPS retail | NonePublication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 455USPS original“95 USPS Retail APC/SSK”Intelligent Mail® Package Barcode (IMpb) SpecificationPage 12USPS original“For example, commercial barcodes will always include the Mailer Identifier, while Retail barcodes will not include the mailer identifier, but will include a channel identifier to indicate the exact system from which the barcode originated.” | 5Intelligent Mail® Package Barcode (IMpb) SpecificationPage 5USPS original“Retail barcodes shall use a 5-digit serial number.” | 22Intelligent Mail® Package Barcode (IMpb) SpecificationPage 30USPS original“This limits the tracking barcode to 22 digits.” |
Check a tracking number
A tracking number follows rules that can be checked from its digits alone:
- Its length is one its channel's layouts allow.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 51USPS original“The total length of the barcode will depend on the elements that the shipper includes as part of a valid barcode construct.”
- A nine-digit Mailer ID starts with 9, and a six-digit one with 0 to 8.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 28USPS original“A nine-digit MID must begin with 9 … A six-digit MID must begin with 0–8”
- Its service type code is a valid, active code.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 21USPS original“Verify that the service type code in the barcode is a valid, active service type code”
- Its last digit is the Check Digit“A MOD10 Check Digit is the final digit in the barcode data string.”Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment Systems, page 52USPS original the digits before it give.Parcel Labeling GuidePage 35USPS original“A 1-digit, Mod 10 Check Digit is the final digit in the IMpb data string calculated using the package identification code portion of the data, which is the string from the channel AI through the serial number.”
Well formed. 22 digits: format N06, a nine-digit Mailer ID and no ZIP. The Mailer ID and serial number are examples.Intelligent Mail® Package Barcode (IMpb) SpecificationPage 29USPS original“Table 22: N06 - Online / PC Postage Label Construct”
What goes wrong
A scanner can read more digits than the label prints: the barcode on a package label can start with 420 and the destination ZIP Code.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“This field must always be “420” and precedes the Destination ZIP Code. … NOTE: The AI (420) and the ZIP Code (5- or 9-digit) are suppressed in the human-readable representation.” The tracking number starts after the ZIP Code, at the channel code.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“Concatenated barcode data constructs across all USPS channels that allow for destination routing information (i.e., ZIP Code) and package identification code (PIC) data in a single barcode” With those digits, the barcode holds 22, 26, 30 or 34.Parcel Labeling GuidePage 36USPS original“This variability in length allows the IMpb to be either 22, 26, 30, or 34 digits in length depending upon the channel AI, serial number, and length of the postal code data (ZIP or ZIP+4).”
A shipper must give its customer the whole number, first two digits included, so the customer can track the package.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The full tracking number, including the Channel Application Identifier (AI), must be provided to your customer on all communications (i.e. email, receipts, or invoices) so that they can track their packages on the USPS Tracking web site, through the USPS mobile application, or the USPS Tracking API.”
Telling the customer
The full tracking number, channel code included
A shipper must give its customer the full tracking number, channel code included, in every email, receipt or invoice.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 50USPS original“The full tracking number, including the Channel Application Identifier (AI), must be provided to your customer on all communications (i.e. email, receipts, or invoices) so that they can track their packages on the USPS Tracking web site, through the USPS mobile application, or the USPS Tracking API.”
An international package's tracking number has 13 characters, not digits alone: two letters, eight digits, a check digit and a two-character country code.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 182USPS original“13-character barcode includes: • 2 character Service Indicator *A-Z* • 8-digit Package Sequence Number • 1-digit - Check digit • 2 character origin country code” A domestic package needs the Intelligent Mail Package Barcode instead.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 335USPS original“IMpb required for domestic shipments, but “S10” type barcode is allowed for international shipments”
An older tracking number may start with 91, the channel code of a legacy layout, and its service type code has two digits, not three.Publication 199: Intelligent Mail Package Barcode (IMpb) Implementation Guide for Confirmation Services and Electronic Payment SystemsPage 182USPS original“Legacy Tracking number use on package • 2-digits -“91” AI • 2-digits - STC”