Well, in fact, the germans use the so called "EAN". It's very similar to UPC and JAN.
I've compared the barcode displayed on my glass of chocolate spread with a the same code generated by your routine.
The number is 4005500280125.
My scanning device was not able to read your code. (Symbol ...