Validation Error - Due Date for Bills/Sales Invoices must be between 1 and 31

Modified on Wed, 13 Aug at 2:28 PM

It is possible in Xero to set a default due date criteria which is invalid.  This appears as a blank entry for the number of days to calculate the due date.


When MechanicDesk attempts to sync the invoice/bill, the incorrect setting will trigger a sync fail for any related documents.


To correct this issue, edit the contact's payment terms in Xero to a valid setting (the default setting is '0 days after issue date', i.e. COD).  Once changed, start a quick sync from MechanicDesk to retry the affected documents.


There is a similar setting on an organisation level, this could prevent all documents from syncing with the same error.


Note that this setting does not affect due dates sent from MechanicDesk, as our sync sets the due date based on the settings configured in MechanicDesk.

Xero article on the settings mentioned above




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article