A problem with invoices: the invoice number changes after creation

@lubos
Greetings

The problem is as follows: When I edited the invoice, entered the Invoice Subtype data, and clicked “Update,” the invoice number changed from one number to another.

Hello @Ali_Ah,

What country is this? Saudi Arabia?

It is possible that the Reference is checked during editing, so the system will create a new reference number when updating.

yes

There’s your issue.

Whenever you check the Automatic Reference field, a new number is assigned, so if you don’t want the number to change don’t do that.

Now you need to undo that batch update and redo it again but this time keep AutomaticReference field set to false.

Thank you all