Generate invoice numbers for orders