Error message
Document date is outside of the accounting period which is not allowed by your NetSuite settings. Adjust the date on Payhawk or the accounting settings in NetSuite.Affected ERP integrations
Oracle NetSuite
Cause
In Oracle NetSuite, the expense date is controlled by the document date in Payhawk, while the posting period is controlled by the service period date.
This error occurs when the document date falls outside of the posting period (service period), and Oracle NetSuite is configured not to allow this. The Allow transaction date outside of posting period setting in the ERP’s Accounting Preferences controls this behavior.
Solution
To resolve this issue, use either of the following approaches.
Enable the Allow transaction date outside the posting period option in Oracle NetSuite
For more information, see the Oracle NetSuite: Allow Transaction Date Outside of Posting Period article.
Adjust the date in Payhawk
In Payhawk, open the expense showing the error.
Adjust either the document date or service period so they fall within the same accounting period.
Save the expense and retry the export.
For more details, see the article on how to export document date and service (posting) period into Oracle NetSuite.