If you already have an invoice for this project in QuickBooks Online, or, if you're wanting to control when it syncs, you can disable the Auto Sync in the top right of the project.
Here's how you can disable the auto-sync with QuickBooks Online, should you want to manually sync the invoice.