#thescoutrocker-invoices
1 messages · Page 1 of 1 (latest)
Hello! Let me check if we have an event for that
We don't have an event specifically for that purpose, but can you specify why you need this? There might be some alternatives available and knowing your use case would help come up with ideas
@oblique lark did you have more details?
Yes, of course
in_1LHuqgA4UuMIqc2C1rrvXKGr
Is because we create invoices to sent them as payment links to the cliente (we can not user the Payment Link API because does not allow link the payment to a customer)
And we need to know when the client does not pay the invoice in time
Also, even that the invoice is already expired the payment page still available https://invoice.stripe.com/i/acct_1H2KKpA4UuMIqc2C/test_YWNjdF8xSDJLS3BBNFV1TUlxYzJDLF9MenVnZFYyY0lURzF2UW5PV3VudW9zZnc0cnFIV3RBLDQ3NjYwNTUz0200kB1jHhNG?s=db
"expired" isn't really the right way to think about it - when the invoice has reached it's due date, it's still available to be paid unless the invoice has been voided
ok...
Is your goal to to no longer allow payment once the due date has been reached?
Yes
Because the amount from that invoice can change in the time
We guarantee the price of the product for only 24hrs
The alternative I had in mind was to leverage the dashboard settings (https://dashboard.stripe.com/settings/billing/automatic) which can automatically mark the invoice as uncollectible after it's been past due for a certain number of days, but that doesn't exactly work for you since the lowest number of days you can select is 30
Alternatively just void the invoice after that time
But for do that we need to make a process that list the invoices and void them with the API right?
Yeah, you'd need to be build that out yourself