def get_dnb_investigation_context(company):
    """
    Get a dict with values for fields that are to be sent
    to DNB for investigation.
    """
    address_parts = [
        company.address_1,
        company.address_2,
        company.address_town,
        company.address_county,
        company.address_country.name,
        company.address_postcode,
    ]
    dnb_investigation_data = company.dnb_investigation_data or {}
    return {
        'business_name': company.name,
        'business_address': ', '.join(
            address_part for address_part in address_parts if address_part
        ),
        'website': company.website or '',
        'contact_number': dnb_investigation_data.get('telephone_number') or '',
    }