How to stop invoice auto creation in subscription?

I have subscription plan for monthly subscription. But I want this plan to also sold as an annual (12x monthly plan).

In the monty subscription, the sales invoice is created every beginning of month.

But when the plan is bought as annual, I want the invoice only created once upfront (with value of 12x monthly price).

Is there any setting to do this?
Or how is the alternative to do so?

Thank you

Hi, yes, When creating it, you can set the subscription end date.

But you cannot modify it once validated. You can do it by BD in the worst case.

Thank you @federico_calvo

But what I want is to have the invoice created every year (1st month only with 12x value and not created for the next 11 months). So no end date.