Invoices getting generated twice

Have Stripe Recurring monthly payment enabled, and the invoice got generated twice. The membership expiration was on 10th June.
Could notice the plugin creating invoice on the 7th with a billed status, and another invoice on 10th June with a paid status.

Would like to know what's causing this behavior.