No inventory - no sales

Is there any way to stop or alert during sales invoicing ,if you do not have inventory in stock ?

here my issue is , I have different SKU for different variants of same product . Perticular SKU stock is NIL and still we post an invoice , it takes inventory to negative …so end of the period , one SKU is negative while other would be excess while checking physically

Not currently.