When you get a following error while syncing invoices to the QuickBooks online

 

Go to the QuickBooks Online Sync Settings and click on “Timesheets” tab.

 

 

If you do not need to Export time data, check off the checkbox “Export time data”.

If you need to export time data then make sure the checkbox is checked and add a date to 'Import timesheets on or after' field.