#marnix.hoh
1 messages ยท Page 1 of 1 (latest)
Hello ๐
due_date allows you to set a date on which the invoice becomes due.
It is used when the collection_method is send_invoice (when you send the invoice to customer to collect payment and don't automatically charge their saved payment method)
https://stripe.com/docs/api/invoices/create#create_invoice-due_date
days_until_due allows you to pass in a number for the days after which the invoice becomes due
https://stripe.com/docs/api/invoices/create#create_invoice-days_until_due
So one parameter expects a timestamp and the other, number of days
Yep I get that part ๐
But what happens when the due_date gets reached?
Will anything happen to the invoice? e.g. will its status change?
I don't think it changes the status immediately
https://stripe.com/docs/api/invoices/object#invoice_object-status
IIRC there's a setting under billing settings that allow you to control what to do with it
https://dashboard.stripe.com/settings/billing/automatic
NP! ๐ Happy to help