Docs
xero, sync, error, end, year, lockdate
The document date cannot be before the end of year lock date
This error happens when the merchant has set a lock period for their accounting, and the invoice cou
33532294
2022-08-29T08:59:06Z
2023-08-17T12:27:19Z
105
0
0
255468
How to check the lock date in Xero?
[Xero] 1) The document date cannot be before the period lock date, currently set at XX-XX-XX
[Xero] 1) The document date cannot be before the end of year lock date
Summary
This error happens when you have set a lock period for your accounting, and the invoice could not be synced to Xero by the integration for some reason, and the sync is attempted after the account gets locked for those dates.
Solution
To avoid this, you need to address sync problems before your account gets locked.
How to check the lockdate in Xero?
Navigate to Accounting>Advanced>Financial Settings