Error message
Failed to export into MS Business Central. Purchase invoice is not in Open state and cannot be updated.Affected ERP integrations
MS Business Central
Cause
This error occurs when an expense was previously exported to MS Business Central, then returned for review in Payhawk, and reviewed again for re-export. However, the corresponding purchase invoice in MS Business Central is no longer in the Open status, which is required for updates to be applied.
Solution
To resolve this issue:
Log in to your MS Business Central account.
Navigate to the Purchase Invoices section and locate the invoice corresponding to the expense that failed to export.
Open the invoice details and check its current status.
Change the status back to Open if itās currently in another state such as Posted or Pending.
Save the changes.
Return to the Payhawk Web Portal and try to export the expense again.