Invoices are different from receipts. Invoices allow you to make payment requests. Alternatively, a sales receipt acts as proof of payment.
If you need to create a proof of payment when selling or buying an item, consider using a Bill of Sale.