def METHOD_NAME(self, **kwargs):
    query = super().METHOD_NAME(**kwargs)
    query = filters.filter_contributor_type(query, self.model.entity_type, kwargs)
    zip_list = []
    if kwargs.get('contributor_zip'):
        for value in kwargs['contributor_zip']:
            if re.search('[^a-zA-Z0-9-\s]', value):  # noqa
                raise exceptions.ApiError(
                    'Invalid zip code. It can not have special character',
                    status_code=422,
                )
            else:
                zip_list.append(value[:5])
        contributor_zip_list = {'contributor_zip': zip_list}
        query = filters.filter_multi_start_with(
            query, contributor_zip_list, self.filter_multi_start_with_fields
        )
    if kwargs.get('sub_id'):
        query = query.filter_by(sub_id=int(kwargs.get('sub_id')))
    if kwargs.get('line_number'):
        # line_number is a composite value of 'filing_form-line_number'
        if len(kwargs.get('line_number').split('-')) == 2:
            form, line_no = kwargs.get('line_number').split('-')
            query = query.filter_by(filing_form=form.upper())
            query = query.filter_by(line_number=line_no)
        else:
            raise exceptions.ApiError(
                exceptions.LINE_NUMBER_ERROR, status_code=400,
            )
    return query