Get all client plans

GET /api/v1/client/{client_uuid}/plans

Query parameters

  • include string

    Comma separated list of relationships to include in the response. Valid relationships are [fields, client, cases, tags, sub_accounts, latest_valuations, latest_valuations.sub_account, wrap, wrap_children, wrap_children.latest_valuations, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].

  • Filter by a comma separated list of UUIDs.

  • If filter is provided then we will also return any other plans the client is linked to [asset, liability, protection]

  • Comma separated list of abstract types. Valid abstract types are [asset, liability, protection]

  • Comma separated list of types. Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]

  • Comma separated list of plan names to search against, can include partial matches.

  • Comma separated list of client names to search against, can include partial matches.

  • Comma separated list of policy numbers to search against, can include partial matches.

  • Comma separated list of provider names or provider UUIDs to search against, can include partial matches.

  • Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]

  • Comma separated list of adviser names or adviser UUIDs of who sold the plan to search against, can include partial matches.

  • Comma separated list of adviser names or adviser UUIDs of who is actively managing the plan to search against, can include partial matches.

  • Comma separated list of case UUIDs

  • Amount in pennies to filter where latest valuation is greater than.

  • Amount in pennies to filter where latest valuation is less than.

  • Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin

  • Comma separated list of tag names or tag UUIDs.

  • filter the plans by if they are a wrap product

  • Used to hide the wrap children from the primary list of plans.

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      Additional properties are allowed.

GET /api/v1/client/{client_uuid}/plans
curl \
 -X GET https://api.plannrcrm.com/api/v1/client/client_uuid/plans \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "data": [
    {
      "name": "Johns ISA",
      "tags": [
        {
          "name": "Mortgage",
          "slug": "mortgage",
          "uuid": "4a57ecb9-94dc-4e34-b413-21ab3e237456",
          "colour": "#ef4582",
          "created_at": "2024-11-20T13:24:00+00:00",
          "updated_at": "2024-11-20T13:24:00+00:00"
        }
      ],
      "type": "cash_account",
      "uuid": "d31c44f5-e4ca-4da1-9b46-a94d3238f220",
      "wrap": {
        "name": "Johns ISA",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "cash_account",
        "uuid": "70ca7d53-e946-4e9a-883e-17c11f5a755b",
        "wrap": "App\\Http\\Resources\\Plans\\PlanResource",
        "cases": "App\\Http\\Resources\\CasesResource",
        "value": {
          "amount": {
            "example": "4000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£40.00",
            "description": "Money amount formatted with currency"
          }
        },
        "claims": "App\\Http\\Resources\\Plans\\ClaimResource",
        "client": "App\\Http\\Resources\\AccountResource",
        "covers": "App\\Http\\Resources\\Plans\\CoverResource",
        "seller": "App\\Http\\Resources\\AccountResource",
        "status": "inactive",
        "on_panel": true,
        "provider": "App\\Http\\Resources\\Plans\\ProviderResource",
        "sub_type": "lifetime isa",
        "opened_at": "2024-11-20T13:24:00+00:00",
        "valued_at": "2024-11-20T13:24:00+00:00",
        "created_at": "2024-11-20T13:24:00+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2024-11-20T13:24:00+00:00",
        "advice_area": "non_investment_insurance",
        "inactive_at": "2024-11-20T13:24:00+00:00",
        "review_date": "2023-11-20",
        "linked_plans": "App\\Http\\Resources\\Plans\\PlanResource",
        "main_account": "App\\Http\\Resources\\Plans\\SubAccountResource",
        "sub_accounts": "App\\Http\\Resources\\Plans\\SubAccountResource",
        "under_advice": true,
        "abstract_type": "asset",
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "is_wrap_child": false,
        "linked_owners": "App\\Http\\Resources\\AccountResource",
        "policy_number": "AVIVA-123",
        "show_on_joint": true,
        "wrap_children": "App\\Http\\Resources\\Plans\\PlanResource",
        "can_be_deleted": "false",
        "total_benefits": {
          "critical_illness": {
            "amount": {
              "example": "15000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£150,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "family_income_benefit": {
            "amount": {
              "example": "10000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£100,000.00",
              "description": "Money amount formatted with currency"
            }
          }
        },
        "inactive_reason": "claimed",
        "is_group_scheme": false,
        "is_wrap_product": false,
        "latest_valuations": "App\\Http\\Resources\\Plans\\ValuationResource",
        "proposal_reference": "AB123456",
        "agency_in_your_name": true,
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "is_sub_group_scheme": false,
        "total_benefit_amount": {
          "amount": {
            "example": "25000000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£250,000.00",
            "description": "Money amount formatted with currency"
          }
        },
        "is_group_scheme_member": false,
        "originally_sold_by_firm": true,
        "agency_in_your_name_from": "2023-11-20",
        "contract_enquiry_account": "App\\Http\\Resources\\AccountResource",
        "visible_on_client_portal": true,
        "include_in_client_valuation": true
      },
      "cases": [
        {
          "name": "finance",
          "slug": "finance",
          "type": "App\\Http\\Resources\\CasesTypeResource",
          "uuid": "efa8a846-f884-4bcc-a056-9bbae365dd71",
          "plans": "App\\Http\\Resources\\Plans\\PlanResource",
          "value": {
            "amount": {
              "example": "4000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£40.00",
              "description": "Money amount formatted with currency"
            }
          },
          "status": "App\\Http\\Resources\\CasesStatusResource",
          "created_at": "2024-11-20T13:24:00+00:00",
          "updated_at": "2024-11-20T13:24:00+00:00",
          "completed_at": "2024-11-20T13:24:00+00:00",
          "participants": "App\\Http\\Resources\\AccountResource",
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "status_position": 4,
          "task_board_uuid": "3ac3d2d5-39d8-4c5e-a615-b29a0f0df955",
          "participants_count": 4
        }
      ],
      "value": {
        "amount": {
          "example": "4000",
          "description": "Money amount at their lowest denominator (for example: pennies)"
        },
        "currency": {
          "example": "GBP",
          "description": "Currency of the money"
        },
        "formatted": {
          "example": "£40.00",
          "description": "Money amount formatted with currency"
        }
      },
      "claims": [
        {
          "uuid": "d0a7d7ba-e618-4aa4-8c9e-7c410b6fd848",
          "client": "App\\Http\\Resources\\AccountResource",
          "created_at": "2024-11-20T13:24:00+00:00",
          "updated_at": "2024-11-20T13:24:00+00:00",
          "claim_notes": "Claim notes",
          "claim_amount": {
            "amount": {
              "example": "25000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£250,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "claim_end_date": "2029-11-20",
          "claim_start_date": "2023-11-20"
        }
      ],
      "client": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "985b2c93-7a50-4aa1-84a3-c9f2544714ad",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:00+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:00+00:00",
        "with_login": true,
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2024-11-20T13:24:00+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:00+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:00+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:00+00:00"
      },
      "covers": [
        {
          "uuid": "2f374a04-2466-442b-8d9c-c52817ac6429",
          "client": "App\\Http\\Resources\\AccountResource",
          "excess": {
            "amount": {
              "example": "10000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£100.00",
              "description": "Money amount formatted with currency"
            }
          },
          "cover_type": "critical_illness",
          "created_at": "2024-11-20T13:24:00+00:00",
          "indexation": 1.4,
          "updated_at": "2024-11-20T13:24:00+00:00",
          "benefit_amount": {
            "amount": {
              "example": "25000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£250,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "benefit_status": "active",
          "benefit_frequency": "monthly"
        }
      ],
      "seller": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "666cc5f3-84c8-4ab4-8161-2a31e3460a66",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:00+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:00+00:00",
        "with_login": true,
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2024-11-20T13:24:00+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:00+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:00+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:00+00:00"
      },
      "status": "inactive",
      "on_panel": true,
      "provider": {
        "name": "AJ Bell",
        "slug": "aj-bell",
        "uuid": "a62314f6-a2bf-409b-a35a-728a229aa96a",
        "created_at": "2024-11-20T13:24:00+00:00",
        "updated_at": "2024-11-20T13:24:00+00:00"
      },
      "sub_type": "lifetime isa",
      "opened_at": "2024-11-20T13:24:00+00:00",
      "valued_at": "2024-11-20T13:24:00+00:00",
      "created_at": "2024-11-20T13:24:00+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2024-11-20T13:24:00+00:00",
      "advice_area": "non_investment_insurance",
      "inactive_at": "2024-11-20T13:24:00+00:00",
      "review_date": "2023-11-20",
      "linked_plans": [
        {
          "name": "Johns ISA",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "cash_account",
          "uuid": "7cdbc1ed-3a9b-4891-9210-f1ba617fe540",
          "wrap": "App\\Http\\Resources\\Plans\\PlanResource",
          "cases": "App\\Http\\Resources\\CasesResource",
          "value": {
            "amount": {
              "example": "4000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£40.00",
              "description": "Money amount formatted with currency"
            }
          },
          "claims": "App\\Http\\Resources\\Plans\\ClaimResource",
          "client": "App\\Http\\Resources\\AccountResource",
          "covers": "App\\Http\\Resources\\Plans\\CoverResource",
          "seller": "App\\Http\\Resources\\AccountResource",
          "status": "inactive",
          "on_panel": true,
          "provider": "App\\Http\\Resources\\Plans\\ProviderResource",
          "sub_type": "lifetime isa",
          "opened_at": "2024-11-20T13:24:00+00:00",
          "valued_at": "2024-11-20T13:24:00+00:00",
          "created_at": "2024-11-20T13:24:00+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:00+00:00",
          "advice_area": "non_investment_insurance",
          "inactive_at": "2024-11-20T13:24:00+00:00",
          "review_date": "2023-11-20",
          "linked_plans": "App\\Http\\Resources\\Plans\\PlanResource",
          "main_account": "App\\Http\\Resources\\Plans\\SubAccountResource",
          "sub_accounts": "App\\Http\\Resources\\Plans\\SubAccountResource",
          "under_advice": true,
          "abstract_type": "asset",
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "is_wrap_child": false,
          "linked_owners": "App\\Http\\Resources\\AccountResource",
          "policy_number": "AVIVA-123",
          "show_on_joint": true,
          "wrap_children": "App\\Http\\Resources\\Plans\\PlanResource",
          "can_be_deleted": "false",
          "total_benefits": {
            "critical_illness": {
              "amount": {
                "example": "15000000",
                "description": "Money amount at their lowest denominator (for example: pennies)"
              },
              "currency": {
                "example": "GBP",
                "description": "Currency of the money"
              },
              "formatted": {
                "example": "£150,000.00",
                "description": "Money amount formatted with currency"
              }
            },
            "family_income_benefit": {
              "amount": {
                "example": "10000000",
                "description": "Money amount at their lowest denominator (for example: pennies)"
              },
              "currency": {
                "example": "GBP",
                "description": "Currency of the money"
              },
              "formatted": {
                "example": "£100,000.00",
                "description": "Money amount formatted with currency"
              }
            }
          },
          "inactive_reason": "claimed",
          "is_group_scheme": false,
          "is_wrap_product": false,
          "latest_valuations": "App\\Http\\Resources\\Plans\\ValuationResource",
          "proposal_reference": "AB123456",
          "agency_in_your_name": true,
          "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
          "is_sub_group_scheme": false,
          "total_benefit_amount": {
            "amount": {
              "example": "25000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£250,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "is_group_scheme_member": false,
          "originally_sold_by_firm": true,
          "agency_in_your_name_from": "2023-11-20",
          "contract_enquiry_account": "App\\Http\\Resources\\AccountResource",
          "visible_on_client_portal": true,
          "include_in_client_valuation": true
        }
      ],
      "main_account": {
        "name": "John's ISA",
        "uuid": "2dce0771-9caf-4bed-832e-5b9162731e7e",
        "created_at": "2024-11-20T13:24:00+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2024-11-20T13:24:00+00:00",
        "policy_number": "AVI-4837",
        "is_main_account": false,
        "active_portfolio": "App\\Http\\Resources\\Plans\\PortfolioResource",
        "latest_valuation": "App\\Http\\Resources\\Plans\\ValuationResource"
      },
      "sub_accounts": [
        {
          "name": "John's ISA",
          "uuid": "0abca5e5-c04e-49e1-ab0b-bfe875b86f57",
          "created_at": "2024-11-20T13:24:00+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:00+00:00",
          "policy_number": "AVI-4837",
          "is_main_account": false,
          "active_portfolio": "App\\Http\\Resources\\Plans\\PortfolioResource",
          "latest_valuation": "App\\Http\\Resources\\Plans\\ValuationResource"
        }
      ],
      "under_advice": true,
      "abstract_type": "asset",
      "custom_fields": [
        {
          "name": "Favourite Drink",
          "type": "string",
          "uuid": "d09bb3fd-2afb-4f77-bd32-f1458f906718",
          "value": "Coffee",
          "help_text": "This is the client's favourite drink.",
          "reference": "favourite_drink",
          "created_at": "2024-11-20T13:24:00+00:00",
          "updated_at": "2024-11-20T13:24:00+00:00",
          "is_required": false,
          "selection_options": [
            "Coffee",
            "Tea",
            "Water"
          ]
        }
      ],
      "is_wrap_child": false,
      "linked_owners": [
        {
          "firm": "App\\Http\\Resources\\FirmResource",
          "name": "Gareth Thompson",
          "role": "client",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "client",
          "uuid": "86909572-023a-402b-8db4-56708c18c146",
          "email": "gareth@codepotato.co.uk",
          "groups": "App\\Http\\Resources\\GroupResource",
          "owners": "App\\Http\\Resources\\AccountResource",
          "last_name": "Thompson",
          "created_at": "2024-11-20T13:24:00+00:00",
          "first_name": "Gareth",
          "updated_at": "2024-11-20T13:24:00+00:00",
          "with_login": true,
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "introduced_by": "App\\Http\\Resources\\AccountResource",
          "primary_email": "App\\Http\\Resources\\ContactDetailResource",
          "can_be_deleted": "false",
          "assigned_adviser": "App\\Http\\Resources\\AccountResource",
          "next_review_date": "2024-11-20T13:24:00+00:00",
          "has_joint_account": true,
          "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
          "first_contact_date": "2024-11-20T13:24:00+00:00",
          "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
          "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
          "previous_review_date": "2024-11-20T13:24:00+00:00",
          "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
          "assigned_administrator": "App\\Http\\Resources\\AccountResource",
          "anniversary_review_date": "2024-11-20T13:24:00+00:00"
        }
      ],
      "policy_number": "AVIVA-123",
      "show_on_joint": true,
      "wrap_children": [
        {
          "name": "Johns ISA",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "cash_account",
          "uuid": "f74f96b9-4b8f-4071-9aeb-684bd5427e4e",
          "wrap": "App\\Http\\Resources\\Plans\\PlanResource",
          "cases": "App\\Http\\Resources\\CasesResource",
          "value": {
            "amount": {
              "example": "4000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£40.00",
              "description": "Money amount formatted with currency"
            }
          },
          "claims": "App\\Http\\Resources\\Plans\\ClaimResource",
          "client": "App\\Http\\Resources\\AccountResource",
          "covers": "App\\Http\\Resources\\Plans\\CoverResource",
          "seller": "App\\Http\\Resources\\AccountResource",
          "status": "inactive",
          "on_panel": true,
          "provider": "App\\Http\\Resources\\Plans\\ProviderResource",
          "sub_type": "lifetime isa",
          "opened_at": "2024-11-20T13:24:00+00:00",
          "valued_at": "2024-11-20T13:24:00+00:00",
          "created_at": "2024-11-20T13:24:00+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:00+00:00",
          "advice_area": "non_investment_insurance",
          "inactive_at": "2024-11-20T13:24:00+00:00",
          "review_date": "2023-11-20",
          "linked_plans": "App\\Http\\Resources\\Plans\\PlanResource",
          "main_account": "App\\Http\\Resources\\Plans\\SubAccountResource",
          "sub_accounts": "App\\Http\\Resources\\Plans\\SubAccountResource",
          "under_advice": true,
          "abstract_type": "asset",
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "is_wrap_child": false,
          "linked_owners": "App\\Http\\Resources\\AccountResource",
          "policy_number": "AVIVA-123",
          "show_on_joint": true,
          "wrap_children": "App\\Http\\Resources\\Plans\\PlanResource",
          "can_be_deleted": "false",
          "total_benefits": {
            "critical_illness": {
              "amount": {
                "example": "15000000",
                "description": "Money amount at their lowest denominator (for example: pennies)"
              },
              "currency": {
                "example": "GBP",
                "description": "Currency of the money"
              },
              "formatted": {
                "example": "£150,000.00",
                "description": "Money amount formatted with currency"
              }
            },
            "family_income_benefit": {
              "amount": {
                "example": "10000000",
                "description": "Money amount at their lowest denominator (for example: pennies)"
              },
              "currency": {
                "example": "GBP",
                "description": "Currency of the money"
              },
              "formatted": {
                "example": "£100,000.00",
                "description": "Money amount formatted with currency"
              }
            }
          },
          "inactive_reason": "claimed",
          "is_group_scheme": false,
          "is_wrap_product": false,
          "latest_valuations": "App\\Http\\Resources\\Plans\\ValuationResource",
          "proposal_reference": "AB123456",
          "agency_in_your_name": true,
          "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
          "is_sub_group_scheme": false,
          "total_benefit_amount": {
            "amount": {
              "example": "25000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£250,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "is_group_scheme_member": false,
          "originally_sold_by_firm": true,
          "agency_in_your_name_from": "2023-11-20",
          "contract_enquiry_account": "App\\Http\\Resources\\AccountResource",
          "visible_on_client_portal": true,
          "include_in_client_valuation": true
        }
      ],
      "can_be_deleted": "false",
      "total_benefits": {
        "critical_illness": {
          "amount": {
            "example": "15000000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£150,000.00",
            "description": "Money amount formatted with currency"
          }
        },
        "family_income_benefit": {
          "amount": {
            "example": "10000000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£100,000.00",
            "description": "Money amount formatted with currency"
          }
        }
      },
      "inactive_reason": "claimed",
      "is_group_scheme": false,
      "is_wrap_product": false,
      "latest_valuations": [
        {
          "uuid": "83690af4-6cc1-4a0d-82a9-db3a0b9fd005",
          "value": {
            "amount": {
              "example": "4000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£40.00",
              "description": "Money amount formatted with currency"
            }
          },
          "valued_at": "2024-11-20T13:24:00+00:00",
          "created_at": "2024-11-20T13:24:00+00:00",
          "updated_at": "2024-11-20T13:24:00+00:00",
          "sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
        }
      ],
      "proposal_reference": "AB123456",
      "agency_in_your_name": true,
      "external_references": [
        {
          "uuid": "75db9f9f-bdfb-4a10-ae0d-7573d4f88ca3",
          "reference": "AB123456",
          "created_at": "2024-11-20T13:24:00+00:00",
          "updated_at": "2024-11-20T13:24:00+00:00",
          "third_party": "nucleus"
        }
      ],
      "is_sub_group_scheme": false,
      "total_benefit_amount": {
        "amount": {
          "example": "25000000",
          "description": "Money amount at their lowest denominator (for example: pennies)"
        },
        "currency": {
          "example": "GBP",
          "description": "Currency of the money"
        },
        "formatted": {
          "example": "£250,000.00",
          "description": "Money amount formatted with currency"
        }
      },
      "is_group_scheme_member": false,
      "originally_sold_by_firm": true,
      "agency_in_your_name_from": "2023-11-20",
      "contract_enquiry_account": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "958b7ac5-3d9c-45cb-a46f-9f7f789bae0a",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:00+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:00+00:00",
        "with_login": true,
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2024-11-20T13:24:00+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:00+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:00+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:00+00:00"
      },
      "visible_on_client_portal": true,
      "include_in_client_valuation": true
    }
  ]
}