Check item type in Material Master.
Go to Masters Inventory Information Material Information Material Master Material Master
For allowing items of different material type go to invoice item type setting
Go to Configuration Sales Invoice Item Type Setting (SDTS)