I have a solution that will help you use a QR code in your invoice.
Since the QR Code is unavailable in QuickBooks Online, you may consider looking for a third-party application that supports the process at this time. This allows your customer to start paying you by scanning the barcode.