Hi, the customer object serialization is buggy.
Actually when SENDING a customer, the "taxes" element is a List of string.
When RECEIVING a customer, it is List of Tax.
This means that the API cannot be used to create a customer with a certain set of tax rates.
We fixed this by temporarily forking the repository and setting the data type of "taxes" to List of object (see smintio@c5ee331)
This does not solve the issue with querying taxes, but it allows us to at least create the customer, and deserialization of the object works as well.
Hi, the customer object serialization is buggy.
Actually when SENDING a customer, the "taxes" element is a List of string.
When RECEIVING a customer, it is List of Tax.
This means that the API cannot be used to create a customer with a certain set of tax rates.
We fixed this by temporarily forking the repository and setting the data type of "taxes" to List of object (see smintio@c5ee331)
This does not solve the issue with querying taxes, but it allows us to at least create the customer, and deserialization of the object works as well.