You will need to create a record for the invoice in a table, so that you
know which invoice number was to which client, on which date, and for how
much. If you do not do that, you will be completely stuck when a client
wants to dispute a particular invoice number.