Unfortunately we do not support default due dates for Sales invoices.
If you notice this error after trying to publish an invoice you will need to check your company settings to make sure you do not have a default due date selected.
You will find your company settings to the left of your company homepage
You will then need to scroll down to the Sales Accounting Settings. If you have a default due date set you just need to change it to "Not Required" and make sure you save changes.
Then all you need to do is re-publish your sales invoice!