#raamyy
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
You can mark it as uncollectible: https://stripe.com/docs/api/invoices/mark_uncollectible
Hi @unkempt galleon
Marking it as uncollectible is a green state 🟢 for the account as i understand.
I need to have the customer marked as failed invoice with UNPAID status.
So I can suspend his account from my application side.
We suspend accounts when they have failed invoices.
however past due invoices can be paid later in other cases and doesnt mean that the accout should be suspended
That's not possible, unfortunately. You can leave it unpaid, but otherwise it will also be marked as uncollectible:
Uncollectible is a negative terminal state. On the other hand, if you did't want your customer to pay, you would mark the Invoice as void.
When I tried to have a pastdue invoice the customer was marked as past due, however when I marked this invoice uncollectible the customer became Active thats why I see it is not a negative state at all
In that case you can just leave the invoices as-is, and after some time they will become overdue.
Humm, I will check, if you can please pass it io the team so we can manually mark invoice as failed the same way we can mark it as paid.
Thanks for your help!
Just note that "failed" is not a terminal state, unlike paid, uncollectible or void that's why it wouldn't be possible: https://stripe.com/docs/api/invoices/object#invoice_object-status
An invoice payment can fail multiple times, but you as the invoice issuer have to decide whether to void it or mark uncollectible. Otherwise it's open.