you should make use of `LineItemManager`! e.g. `invoice.lineitem_set.get_feature_by_type(feature_type)`