The Custom Number module supports various settings for each type of document (invoice, order, delivery slip, credit slip), such as a starting value, a step, a reset when a value or a date is reached. You can, for instance, reset your invoices each year (January 1st) or each month.