def _format_company_for_post(company):
    """Format the Company model to json for the POST body."""
    description = {
        'id': str(company.id),
        'company_name': company.name,
        'companies_house_id': company.company_number,
        'duns_number': company.duns_number,
        'postcode': company.address_postcode,
        'cdms_ref': company.reference_code,
    }

    return {
        'descriptions': [
            {key: value for key, value in description.items() if value},
        ],
    }