Cs-Cart Invoice

I noticed that the invoice is generated even though the order status is any other status than completed/ Paid.

How do we configure to allow the invoice generated only when the order status is Completed and Invoice Cancelled when the order is cancelled successfully?

Please find details here

https://docs.cs-cart.com/latest/user_guide/orders/actions_on_orders/index.html?

Thanks, overlooked this. I have asked CS-Cart before, and they replied me no such funtionality in default cs-cart.