Block on Customer Invoice

Block on Customer Invoice

Hi,
Is it possible to put a block on creating a customer invoice if that particular item is not listed in stock on Zoho?