I would like to create invoice to a specific date. By that date invoice should be charged.
My mental model right now is to create DRAFT invoice, then run crontab which will check if "period_start" is current date, if so finalize and try to charge the invoice. But it seems way too complicated for such a simple usecase.
Stripe seems to have API for retrieving the UPCOMING invoice, i see in documentation to create invoice standard way and doesn't let me to set due_date unless the type is "send_invoice" which i don't want
So my question is - is there a way to create UPCOMING invoice which will be charged automatically from the card by specified date?