I want to create a billing invoice number in acrobat field each time I open a pdf. How can I do that?

This is the area that I want the numbers. Each time I open the pdf document create a different billing number. I think that the code is in Javascript but I don't know.
I'm going to use 10 digits. Where I place the code?
Thanks for your help.
