You should be able to put the default field “number” as follows: “number = Search for Invoice’s number: Max + 1”. or “number = Last (number) + 1” or declare it as Identity (SQL style)
An apology for my translation, I am from another planet.