you should actually check 9th and 10th digit.... here are the details
1Z xxx xxx yy zzzz zzz c, where xxx xxx is the alphanumeric account number of the shipper, yy is the service code, zzzz zzz is the package identifier, and c is a checksum of some sort.
A non-exhaustive list of service codes...