You can add this information under the invoice/document field Document Tags (in Megaventory) so, it will go to QuickBooks Online under a related text field in the invoice created there.
You can also choose to use the same invoice number in Megaventory and QuickBooks Online if that works for you.