If you see the error below, navigate to integrations page.
Select a default tracking category and tick the selection on invoice option.
Then you can either select a category on the invoice causing the issue and do a quick sync, or just do a quick sync and the invoice will go over to the designed category.