You can’t do that.  You’ll need to void or delete the sales receipt and enter the invoice.  Then you can apply the payment to the invoice.

Resolution for 'Can I change a sales receipt to an invoice issue: 'I created a sales receipt for a customer and said they paid with a credit card, but no card was ran. I then accepted payment using his credit card. I now show a credit for the customer. I need to convert the receipt to invoice so the credit is applied to the invoice.' available: Yes.

The Can I change a sales receipt to an invoice issue or error code is a known issue in Quickbooks Online (QBO) and/or Quickbooks. Support for this issue is available either by self-service or paid support options. Experts are available to resolve your Quickbooks issue to ensure minimal downtime and continue running your business. First try to resolve the Can I change a sales receipt to an invoice issue yourself by looking for a resolution described in the article. If it is a complex Can I change a sales receipt to an invoice issue or you are unable to solve the issue, you may contact us by clicking here or by using other Can I change a sales receipt to an invoice support options.

For more information about resolving issues related to Can I change a sales receipt to an invoice in Quickbooks/QBO or to get support for the issue 'I created a sales receipt for a customer and said they paid with a credit card, but no card was ran. I then accepted payment using his credit card. I now show a credit for the customer. I need to convert the receipt to invoice so the credit is applied to the invoice.', click the link below: