#tech-invoices

1 messages · Page 1 of 1 (latest)

visual quail
#

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 ).

wintry cape
#

I recieved invoice with failed retries and status open.

(but with deprecated attribute closed: true)

closed: true
closed_at: 163906000
closed_for: "canceled_subscription"

visual quail
wintry cape
#

Could I now rely on fields closed and closed_for?

visual quail
#

I don't think those fields exist in the API, but I could be wrong

wintry cape
#

These fields are actually returned when requesting an invoice that has been closed (but have status open)

visual quail
#

fair enough, I'm not familiar with them

#

what is your actual overall goal here?