Demo
https://www.motionseed.com/en/prestashop-modules/custom-number
Numbers format
Set the format for your invoice numbers, order numbers by combining letters, numbers, symbols and tags.
The module supports many tags like
{ORDER_ID} : ID of the order
{CUSTOMER_ID} : ID of the customer...