I’m not sure what you are asking, the two forms are not interchangeable, an invoice posts by default to a/r, a sales receipt posts to (usually) undeposited funds

You control the look and feel of the two templates.  Bring up an invoice or  sales receipt, click the formatting tab, click customize […]

Resolution for 'click customize data issue: 'Can I change a template type from sales receipt to invoice?' available: Yes.

The click customize data 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 click customize data issue yourself by looking for a resolution described in the article. If it is a complex click customize data issue or you are unable to solve the issue, you may contact us by clicking here or by using other click customize data support options.

For more information about resolving issues related to click customize data in Quickbooks/QBO or to get support for the issue 'Can I change a template type from sales receipt to invoice?', click the link below: