You can use custom Task ids to keep track of invoices. Once you reach a certain amount, it makes sense to reset the index of custom Task ids.
You also might want to reset the counter every year!