Skip to main content
All CollectionsTroubleshootingXero Integration
Failed to create Invoice - Validation Error: The document DueDate field must be specified.
Failed to create Invoice - Validation Error: The document DueDate field must be specified.
Matt Stansfield avatar
Written by Matt Stansfield
Updated over a week ago

Error:

Cause:

This error is being caused because the Default Due Date has not been set up in Xero:
โ€‹

This is shown in Quoter when viewing the Xero Integration Settings under Invoice payment term as per the example below:

Solution:

In the below example, we've set the default due date in Xero to 30 day(s) after the invoice date:

Now that the default due date has been set up in Xero, we can confirm that the Invoice payment term has been updated in Quoter by navigating to Settings > Integrations to view the Xero Integration Settings:

Although Quoter will automatically attempt to retry the failed request, we can manually re-attempt the failed request by clicking the Integration Requests Status button to see the requests, and then clicking on the refresh button under the Actions column:

With the Due Date being correctly set up in Xero, the request will push through successfully:

Limitations

If you're taking payment in Quoter, there will be two failed requests when viewing the Integration Requests Status page as per the example below:
โ€‹

There will be two possible results depending upon the order that Quoter retries the failed attempts or the order that the requests are manually re-attempted:

  • The Transaction is pushed through first and the Quote is pushed through second:

    • the Transaction will push through successfully

    • the Quote will push through successfully with the following warning:

  • The Quote is pushed through first and the Transaction is pushed through second:

    • the Quote will push through successfully

    • the Transaction will fail to push with the following failure/warning:

      This is due to the Invoice Status being locked and Quoter being unable to make changes via Xero's API to a locked Invoice. As a result, the payment will need to be manually added in Xero:

Did this answer your question?