A. Manually link sales receipts to invoices by going to the 'Sales' section in QuickBooks, selecting the receipt, and using the 'Link to Invoice' option. This will help you keep track of your sales and invoices more effectively.
B. Consider using a different workflow where you create invoices first and then record payments against those invoices to ensure they are linked correctly.