Posting to Xero returns the error 'Bad request. A validation exception occurred - The document date cannot be before the period lock date, currently set at [DATE]. The document date cannot be before the end of year lock date, currently set at [DATE]'
- Vend for Mac or PC
- Xero integration
The date on the register closure/sale/stock order is before the lock date that is set in Xero.
- In Xero, click Accounting
- Click Advanced
- Click Financial Settings
- Change the lock dates so that these dates are after the date of the items you are trying to post to Xero
- Click Save
- In Vend, click the red Xero icon to post the items to Xero