Auto-numbering invoices algorithm

There have been at least a couple of conversations here about custom sequences for invoice numbering, either by prepending the date to the invoice number (e.g., 20160729001) or by prepending the customer code (e.g., ABC-00001). Neither of these suggestions made it to the Roadmap.