The Invoice # field must contain a unique value

Hi

I have a small problem , sometimes when someone tries to save an invoice, this error comes up

How can i fix this ?

If this error comes up this means that the invoice IF is already in use. Please check in the database and the settings of your corresponding invoice group.