I just made a settings section in my app that has the parameter as invoice_number_format. The parameter itself stores the string, like this: YYYY-mm/ii
invoice_number_format
YYYY-mm/ii