#Lair Overseer

1 messages · Page 1 of 1 (latest)

dense coveBOT
median crystal
halcyon lotus
#

req_q07GdEVCDHAh9V @median crystal

median crystal
#

This is expected as explained in https://stripe.com/docs/api/invoices/delete:

Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be voided.

halcyon lotus
#

it used to work?

median crystal
#

Since your invoice is finalised, you can only void it

#

Can you share the request ID that it used to work?

halcyon lotus
#

await stripe.Invoice.void_invoice(invoice_id)

#

so this?

#

idk i dont hjave it

#

that was my old code and i never got this issue before

#

but maube i didnt test it

median crystal
robust sedgeBOT
#

This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact