I want to create an invoice with unique number. how do I get the number to increment each time a new invoice is created from a template.