I cannot edit the existed invoice. I checked in database and I’m sure the invoice is unique (unique ID, unique Invoice number)
My debug log and console log is as below:
Console:
{"success":0,"validation_errors":{"invoice_number":"<p>The Invoice # field must contain a unique value.<\/p>"}}
Debug log
https://pastebin.com/qD3tXjq2