Subscription invoice not generated

I’ve follow this doc Subscription to create subscription, but invoice is not generating automatically, while I’ve checked both option “Generate Invoice At Beginning Of Period” and "
Generate New Invoices Past Due Date".
Why I’m facing this issue?
Please help me.
Thank you…