2 fields, one on the current MAIN page and the other on another page called something like X or Hidden or <something that'll be ignored by the user>. I generally call my "other" pages Admin, so as to be likely ignored, even though there's probably nothing administrative on that page.
MAIN page
Insert (+) a JavaScript field, called Invoice #, and enter the following tiny script ...
"INV-" + field("#")
Then, insert (+) the new page, and on that page insert an Integer field called #. In the mobile edition, under Default value, select Auto-increment.
You might want to make one of these fields the entry name.
You're done. Memento will increment # for each new invoice, and the Invoice # field will add your prefix on the front of it.
If you can find some other way to hide a Field you don't want users to see, go for it, and please let us know how you did it.