Cause
You've coded to an account where where Allocations are not allowed.
Resolution
In Sage 50 Canada edit the Account and check Allow Project Allocations.
The invoice will be in SE status on the Export tab, export the invoice and sync again. You should see that the sync was successful this time.