Barcode – EAN-8
EAN-8 is the short version of EAN-13, the same as UPC-E vs. UPC-A, while it is possible to add a 2-digit or 5-digit extension barcode, the primary purpose of the EAN-8 code is to use as little space as possible.
While they looks very similar, some differences exist. UPC-E does not explicitly encode the first digit(NS) while EAN-8 encodes all 8 digits. That also means that EAN-8 is not compatible with UPC-E from encoding and decoding perspective.
Moreover, a UPC-E number can be converted back to UPC-A; however there is no defined method for conversions between EAN-13 to EAN-8. An EAN-8 number contains 7 digits of message plus 1 check digit. The first two or three digits identify the numbering authority; the remaining 4 or 5 digits identify the product. You must apply the EAN-8 number separately from the numbering agency responsible for your country or region.