Closed AGPapa closed 1 month ago
@AGPapa ithub issues are limited to bugs and feature requests with the SDK itself. This is more an integration support question about our API which is better directed at our support team: https://support.stripe.com/contact
To unblock you though I can explain the behaviour. Stripe Tax will create inline TaxRate that it uses to represent the tax information it calculates. Those TaxRates exist in the API and can be retrieved but they won't appear in the List TaxRates API because you didn't directly create them. We have this behavior on other APIs such as when you create an inline Price with price_data
and it doesn't appear in the List Prices API.
I hope this clarifies the issue but if you have any follow up question please work with our support team for further help: https://support.stripe.com/contact
Describe the bug
Calling
stripe.TaxRate.list
returns 0 records, however if I already have an id I can look it up withstripe.TaxRate.retrieve
and get a valid record back.To Reproduce
Expected behavior
If there is a valid tax rate that I can retrieve then I would expect it to appear in stripe.TaxRate.list
Code snippets
Response from TaxRates.retrieve
Response from TaxRates.list
OS
macOS
Language version
Python 3.12.4
Library version
10.1.0
API version
2024-04-10
Additional context
No response