Get all plans

GET /api/v1/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.

  • 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/plans
curl \
 -X GET https://api.plannrcrm.com/api/v1/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": "02f784c8-0c5c-486a-ac11-a8cfdbe8bafb",
          "colour": "#ef4582",
          "created_at": "2024-11-20T13:24:02+00:00",
          "updated_at": "2024-11-20T13:24:02+00:00"
        }
      ],
      "type": "cash_account",
      "uuid": "5386de8e-f024-429b-ac03-8ad88fa8adfe",
      "wrap": {
        "name": "Johns ISA",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "cash_account",
        "uuid": "d74a9bc5-a5c0-4e14-828c-e91a39e5e89d",
        "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:02+00:00",
        "valued_at": "2024-11-20T13:24:02+00:00",
        "created_at": "2024-11-20T13:24:02+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2024-11-20T13:24:02+00:00",
        "advice_area": "non_investment_insurance",
        "inactive_at": "2024-11-20T13:24:02+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": "9fbc9269-fc69-40b3-bee7-6f5ee10fba5d",
          "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:02+00:00",
          "updated_at": "2024-11-20T13:24:02+00:00",
          "completed_at": "2024-11-20T13:24:02+00:00",
          "participants": "App\\Http\\Resources\\AccountResource",
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "status_position": 4,
          "task_board_uuid": "38d237a1-1525-4981-9fff-cd6949ece153",
          "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": "b8bbf8f3-cbe8-4a3e-ad42-36b6b0718a24",
          "client": "App\\Http\\Resources\\AccountResource",
          "created_at": "2024-11-20T13:24:02+00:00",
          "updated_at": "2024-11-20T13:24:02+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": "86fefbc5-2742-435e-ba28-b6ad69da92f2",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:02+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:02+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:02+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:02+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:02+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:02+00:00"
      },
      "covers": [
        {
          "uuid": "ea1a4b93-6ed0-43de-bb89-b532cd0b9f9f",
          "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:02+00:00",
          "indexation": 1.4,
          "updated_at": "2024-11-20T13:24:02+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": "1c1278bc-5c0c-4c3f-8b4f-f3bca54fc653",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:02+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:02+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:02+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:02+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:02+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:02+00:00"
      },
      "status": "inactive",
      "on_panel": true,
      "provider": {
        "name": "AJ Bell",
        "slug": "aj-bell",
        "uuid": "e4e7834e-63b8-4066-94ae-06453df15b9f",
        "created_at": "2024-11-20T13:24:02+00:00",
        "updated_at": "2024-11-20T13:24:02+00:00"
      },
      "sub_type": "lifetime isa",
      "opened_at": "2024-11-20T13:24:02+00:00",
      "valued_at": "2024-11-20T13:24:02+00:00",
      "created_at": "2024-11-20T13:24:02+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2024-11-20T13:24:02+00:00",
      "advice_area": "non_investment_insurance",
      "inactive_at": "2024-11-20T13:24:02+00:00",
      "review_date": "2023-11-20",
      "linked_plans": [
        {
          "name": "Johns ISA",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "cash_account",
          "uuid": "6c4e5d8e-fd06-4a08-a361-dd3c41e3d71a",
          "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:02+00:00",
          "valued_at": "2024-11-20T13:24:02+00:00",
          "created_at": "2024-11-20T13:24:02+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:02+00:00",
          "advice_area": "non_investment_insurance",
          "inactive_at": "2024-11-20T13:24:02+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": "a56cf017-9ef1-447a-bcbf-84f4c96960bf",
        "created_at": "2024-11-20T13:24:02+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2024-11-20T13:24:02+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": "da8bbe85-5d04-496d-b15c-731ceffd211f",
          "created_at": "2024-11-20T13:24:02+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:02+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": "1bd5ed80-c1ac-437c-9eb0-8126e7945002",
          "value": "Coffee",
          "help_text": "This is the client's favourite drink.",
          "reference": "favourite_drink",
          "created_at": "2024-11-20T13:24:02+00:00",
          "updated_at": "2024-11-20T13:24:02+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": "cd608c5a-b203-4dba-9428-1051b371647f",
          "email": "gareth@codepotato.co.uk",
          "groups": "App\\Http\\Resources\\GroupResource",
          "owners": "App\\Http\\Resources\\AccountResource",
          "last_name": "Thompson",
          "created_at": "2024-11-20T13:24:02+00:00",
          "first_name": "Gareth",
          "updated_at": "2024-11-20T13:24:02+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:02+00:00",
          "has_joint_account": true,
          "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
          "first_contact_date": "2024-11-20T13:24:02+00:00",
          "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
          "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
          "previous_review_date": "2024-11-20T13:24:02+00:00",
          "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
          "assigned_administrator": "App\\Http\\Resources\\AccountResource",
          "anniversary_review_date": "2024-11-20T13:24:02+00:00"
        }
      ],
      "policy_number": "AVIVA-123",
      "show_on_joint": true,
      "wrap_children": [
        {
          "name": "Johns ISA",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "cash_account",
          "uuid": "ad791bc6-091f-4dfa-ae3a-694f6513a63e",
          "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:02+00:00",
          "valued_at": "2024-11-20T13:24:02+00:00",
          "created_at": "2024-11-20T13:24:02+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:02+00:00",
          "advice_area": "non_investment_insurance",
          "inactive_at": "2024-11-20T13:24:02+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": "21c99613-1ee7-448a-802a-76f0834c4736",
          "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:02+00:00",
          "created_at": "2024-11-20T13:24:02+00:00",
          "updated_at": "2024-11-20T13:24:02+00:00",
          "sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
        }
      ],
      "proposal_reference": "AB123456",
      "agency_in_your_name": true,
      "external_references": [
        {
          "uuid": "813ab866-84ef-44b6-8709-95bebc96cc15",
          "reference": "AB123456",
          "created_at": "2024-11-20T13:24:02+00:00",
          "updated_at": "2024-11-20T13:24:02+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": "88466a39-5a3b-4f62-9a6e-6098f6e5c3e2",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:02+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:02+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:02+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:02+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:02+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:02+00:00"
      },
      "visible_on_client_portal": true,
      "include_in_client_valuation": true
    }
  ]
}