Talk:Global brands and companies taxonomy/Barcodes

From Open Food Facts EN
Jump to navigation Jump to search

848001xxxxxxx can also be Eroski brand in Spain.
http://world.openfoodfacts.org/product/8480010167290
http://economia.elpais.com/economia/2015/04/18/actualidad/1429368020_766287.html
--Tacite (talk) 20:14, 10 August 2015 (CEST)


Tacite the spanish codes have usually this format: 84 XXXXX YYYYY Z, where

  • 84 is the country code assigned to Spain
  • XXXXX is a 5-digit number relative to the company owner of the brand (The same company can have several brands with the same number. And a company can have several of this numbers - I think this is for adquisition of other companies or whatever)
  • YYYYY is a 5-digit number assigned to a particular product
  • Z is a 1-digit checksum number

In theory, the X's digits could be bigger (and shorter the Y's to keep the X's + Y's = 10), but I think most products follow the pattern explained above.

I can see some exceptions for these rules:

  • in a few cases the barcode match the producer instead of the brand owner (always different in the case of distributor brands)
  • there is a general problem that I have seen many times for fruits and vegetables that change the producer/packager along the year: The shop, for example Dia, Lidl, Carrefour or whatever... keeps a barcode for a generic product, for example a filmed brocoli or boxed blueberries. And they change the brand or the producer from time to time (I guess that depending of the month of the year, same products are produced in different regions depending of the climate). This is the cause that some similar products have different brands but the same barcode)

Well, in the particular case that you point out:

  • 84 80017 - for Dia
  • 84 80010 - for Eroski

you have to include an additional digit (at least 5 X's for the company)

--Javichu (talk) 01:41, 12 August 2015 (CEST)

Thanks a lot for these explanations Javichu. I didn't know the number of digit was always the same to link the company owner of the brand! --Tacite (talk) 15:13, 12 August 2015 (CEST)