SDK you're using (please complete the following information):
Version [e.g. 2.3.10]
4.14
Describe the bug
A clear and concise description of what the bug is.
When creating an invoice, i set the date and the due date as:
line 400, dateValue=2023-03-16
line 407, dueDateValue=2023-04-30
which is in the YYYY-MM-DD format described in the docs. yet i stil get the exception:
com.fasterxml.jackson.databind.JsonMappingException: Wrong date format (through reference chain: com.xero.models.accounting.Invoices["Invoices"]->java.util.ArrayList[0]-> Caused by: java.lang.IllegalArgumentException: Wrong date format
SDK you're using (please complete the following information):
com.fasterxml.jackson.databind.JsonMappingException: Wrong date format (through reference chain: com.xero.models.accounting.Invoices["Invoices"]->java.util.ArrayList[0]-> Caused by: java.lang.IllegalArgumentException: Wrong date format
To Reproduce Steps to reproduce the behavior:
Run this code:
in the code above, the outout of the System.out.println is:
line 400, dateValue=2023-03-16 line 407, dueDateValue=2023-04-30
Expected behavior A clear and concise description of what you expected to happen. The invoice should be created
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.