Hi everyone,
I want to validate invoices through the API, several at the same time. However, sometimes two API calls try to validate (not the same) invoice, but the second one fails because the getNextNumRef(…) gave the same ref. When the validate method want to update the invoice, the database throw “duplicate value” error.
Has anyone encountered this issue, and does anyone have a solution for it?




