[SOLVED] Reset all invoices

After trying and doing several things with a new installation, I need to reset the counters of the invoices created.

I have reviewed and I do not see anything either in the forum or in github, related to the command or utility to reset the invoices.

  • I see that the invoice only has a table and that the lines are inside it in a text field with a json.
  • I don’t see the table that controls the invoice counter (in my case the following is 4)
  • I see that the tables have a constrained relationship user_id, client_id, company_id

I don’t want to mess up and I wanted to know how to make this change without messing up, since other times I have customized and adapted to my client.

I have no problem with Laravel because I develop with Laravel.

Hi,

The simplest option may be to purge all data on Settings > Account Management.

You can also manually reset the counters on Settings > Generated Numbers.

1 Like

A lot of thanks for your quickly response.

Of course, happy to help!