Error message in sales invoice staging - Could not find a token with key accountId
Hello,
That error means the integration can’t find the Dataverse Account ID for the customer.
The invoice’s customer isn’t linked (coupled) to a Dataverse Account.
Dataverse expects accountId, but the record may be a Contact or uncoupled customer.
1. Open the Customer Card in Business Central.
2. Use Set Up Coupling → Synchronize Now to link it to the correct Account in Dataverse.
3. If mappings were changed, go to Integration Table Mappings → Use Default Synchronization Setup to reset.
Regards,
Oussama Sabbouh