AP invoice error

SOLVED

A client is receiving in IC Receipts. When raising the corresponding invoice in AP the error is "Invalid input6. An invoice with this number already exists for this vendor. if you want to add this invoice, add...."

Could the next invoice number have been changed in AP setup options?

Thanks