#tech-invoices
1 messages · Page 1 of 1 (latest)
tech-invoices
@wintry cape hi! it depends a little, but for instance you'd listen to the invoice.updated webhook event(for example if your settings are to retry with smart retries then make the invoice as uncollectible, you will get an event where the status field has changed from open to uncollectible ).
I recieved invoice with failed retries and status open.
(but with deprecated attribute closed: true)
closed: true
closed_at: 163906000
closed_for: "canceled_subscription"
then most likely your settings on https://dashboard.stripe.com/settings/billing/automatic are to leave the invoice open after the retries are complete
Could I now rely on fields closed and closed_for?
I don't think those fields exist in the API, but I could be wrong
like I don't seem them on https://stripe.com/docs/api/invoices/object. Maybe you are looking at something else like the response of an internal API the dashboard uses