#Eranga - invoice
1 messages · Page 1 of 1 (latest)
HI there,
These are the status of the invoice, you can fetch them using API
https://stripe.com/docs/api/invoices/object#invoice_object-status
Here is a guide on invoice transitions:
https://stripe.com/docs/invoicing/integration/workflow-transitions
And you can check this guide, on how invoice works:
https://stripe.com/docs/invoicing/overview
But here, what is Retrying ?
I see some other statuses kind of texts, Past Due, Failed etc
Actually, my question is about these values
Those kind of status are most likely related to a subscription, with stripe you can configure smart reties for example: https://stripe.com/docs/billing/subscriptions/overview#smart-retries
And once a payment attempt is failed, the invoice status in the dashboard will be retrying and waits for the next retry,
further details can be found here:
https://stripe.com/docs/billing/subscriptions/overview#failed-payments
Thank you for the information. Is there any way I can retrieve these statuses using an API?
Without calculating these on my end
Using API, you can fetch only certain values like mentioned in the docs
https://stripe.com/docs/api/invoices/object#invoice_object-status
The others are computing from Stripe dashboard and they are not publicly accessible
Cool, and except for the 5 statuses that can be the status of an invoice, is there a documentation where I can see the logic behind the derived statuses?
🙄
Sorry for my late reply, still searching for a public resource for those status
Let's keep talking here, and I'll close this one
<#dev-help message>
no there's no resource, it's just how we built the dashboard