generate invoice when mark_item_complete