Start invoice numbering sequence from a randon number?

So I am switching from another invoicing system, and would like to keep using the same invoice numbering scheme. E.g., one client’s invoices might look like this:




I never reset the numbering, and need each client to have their own, consecutive numbering. Can I start the numbering in InvoiceNinja from a randon number (e.g. 0033), instead of have it start from 0001?

Can I have each client’s numbering operate separately?


I haven’t had a chance to test it out for myself, but you should be able to set client-specific counters by going into Settings > Invoice Settings and setting the invoices to use a pattern.

In your case, you’d probably want the pattern to be {$clientIdNumber}-{$clientCounter}, but I don’t know if there’s a way to start the counting from an arbitrary number. There’s also {$clientCustom1} and {$clientCustom2} but not sure if those are able to be incremented. I’m also not 100% sure $clientCounter does what you’re wanting, as I don’t have a separate install setup to test things. At the very least, it’s a starting point.