From the above message, I can understand that you have already sold out the product and you are trying to create an invoice using the same serial number which has already been sold.
Please note that you can’t create an invoice with an already sold serial number of the product. Please add new stock to the product to create the invoice.