How to create sales invoice without items

We had similar requirement for one of our client to add purchase invoice without creating item on item list. we did a customization on purchase invoice item child table.

please check below post to know the details