Error message
Failed to export expense. The accounting period is closed.Affected ERP integrations
Exact Online
Cause
This error occurs when Payhawk attempts to export an expense to an accounting period that has been closed by an accountant in Exact Online. Exact Online does not allow new entries or modifications to be made to closed accounting periods.
This error can also occur if an expense is initially exported to Exact Online with a document date or service period that falls within an open period, and that period is subsequently closed in Exact Online. If the expense is later returned for review in Payhawk and the document date or service period is updated, even to a date within a currently open period, Payhawk cannot update the original record in Exact Online or move it to a new period.
Solution
You can resolve this issue in one of the following ways:
Reopen the accounting period in Exact Online.
Log in to your Exact Online account.
Navigate to the financial period settings and locate the closed accounting period in question.
Reopen the period to allow modifications.
Return to Payhawk and attempt to export the expense again. Once the export is successful, you can close the period again in Exact Online if needed.
Manually adjust the entry in Exact Online.
Log in to your Exact Online account with admin access.
Locate the original purchase entry that was exported from Payhawk.
Apply manually the necessary changes to the entry such as the updated service period or document date.
Save the changes.