#Jogoldirus-invoice
1 messages · Page 1 of 1 (latest)
can you share the invoice ID in_xxxx where you're seeing it have that value? I want to try to understand why it might.
I do know of one reason though, which is using an API version before https://stripe.com/docs/upgrades#2018-10-31 which added that value to the enum
yeah your account uses an API version from before that value existing, so that will be the issue
Oh
if you want to see the value you should retrieve the Invoice from the API using the latest API version(https://stripe.com/docs/api/versioning) so it's rendered using the current shape
and/or create a webhook endpoint for the current API version(https://stripe.com/docs/api/webhook_endpoints/create#create_webhook_endpoint-api_version) to receive events, or update your account's default API version(though naturally you have to be careful about that)
Thank you for your experience, I had not paid attention to this little detail !
You were quick and efficient
It can't be done on stripe cli ? Only v1.8.11 is available for Windows , from Github (https://github.com/stripe/stripe-cli/releases/latest)
can you clarify what "it" is specifically? You can retrieve the Invoice from the API with a specific version using stripe-cli yes (https://stripe.com/docs/cli/get#get-stripe-version) for example
you can pass an API version to https://stripe.com/docs/cli/listen as well