-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoice field date
and dueDate
not matching typescript definition
#487
Comments
I am seeing the same issue on BankTransaction. Any updates or workarounds? |
Oh man ... this is so bad. I just got caught with this today. We had luckily been handling this because we were previously using The typing is wrong, the date format of the API is wrong (it's the old .NET format in the underlying api but the JSDoc says I can definitely see in the
Even though the type map specifies it as @SerKnight - are you able to assist with this one? I think it's fine that they are converted to |
SDK you're using (please complete the following information):
Describe the bug
The
Invoice
model in TypeScript is not matching the actual invoice entities returned by the SDK.In the typescript definition:
If you look to the result of
createInvoices
(Date instance):To Reproduce
Steps to reproduce the behavior:
getInvoice
orcreateInvoices
callExpected behavior
date
field to be a stringThe text was updated successfully, but these errors were encountered: