You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, everyone! And thanks for the amazing work building this SDK!
While developing an integration with apideck in Python, I noticed an inconsistency between the SDK and the API when trying to create a Bill.
I've tried issuing a POST https://unify.apideck.com/accounting/bills without a due date and it works fine. Nevertheless, if I try to do the same via the SDK, I get an error message saying apideck.exceptions.ApiTypeError: Invalid type for variable 'due_date'. Required value type is date and passed type was NoneType at ['due_date'].
On top of that, if I take a look at the documentation available for due_date within bill.py, it says the following: due_date (date): The due date is the date on which a payment is scheduled to be received - YYYY-MM-DD.. [optional] # noqa: E501
I must say I'm a bit confused, not knowing whether a due date is actually mandatory or not when creating a bill. Could you please clarify that?
Hello, everyone! And thanks for the amazing work building this SDK!
While developing an integration with apideck in Python, I noticed an inconsistency between the SDK and the API when trying to create a Bill.
I've tried issuing a
POST https://unify.apideck.com/accounting/bills
without a due date and it works fine. Nevertheless, if I try to do the same via the SDK, I get an error message sayingapideck.exceptions.ApiTypeError: Invalid type for variable 'due_date'. Required value type is date and passed type was NoneType at ['due_date']
.On top of that, if I take a look at the documentation available for
due_date
withinbill.py
, it says the following:due_date (date): The due date is the date on which a payment is scheduled to be received - YYYY-MM-DD.. [optional] # noqa: E501
I must say I'm a bit confused, not knowing whether a due date is actually mandatory or not when creating a bill. Could you please clarify that?
I've put together a small demo project to reproduce the error: https://github.com/felipecao/apideck-due-date-error-demo
Thanks! Wishing y'all a great week!
The text was updated successfully, but these errors were encountered: