Create a group scheme member

POST /api/v1/plans/{plan_uuid}/group-scheme-members

Headers

Path parameters

  • plan_uuid string Required

    uuid The UUID of the group scheme plan.

application/json

Body Required

  • account_uuid string Required

    The client account that will be the member on the group scheme. Must already be a staff member on the business client that the plan belongs to.

  • status string Required

    Plan status for the member. Available options: active, inactive and proposed

  • Optional inactive status when the status is inactive. Available options: accepted, agency_transferred, cancelled, claimed, complete, death_event, deferred, drawdown, expired, full_drawdown, issued, lapsed, matured, not_proceeded_with, not_taken_up, offered, paid_up, partial_drawdown, partial_surrender, proposed, prospect, refunded, refused, surrendered, transfer, transferred, underwriting, vested, declined, encashment, left_service, premium_holiday and other

  • Optional policy number if the group scheme has separate policy numbers per member.

  • Date when the policy went "on risk".

  • Date when the policy was made inactive.

  • Optional "pensionable" salary used for group scheme pensions. Value must be in pennies for example £70,000 is 7000000

  • Optional workplace location for the group scheme member.

  • Optional employment division for the group scheme member.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • Timestamp of when the plan was originally opened

    • name string

      Name of the plan

    • type string

      Type of plan, this will indicate what to expect from the fields attribute

    • sub_type string

      Plan sub type

    • describes if the plan is an asset, protection or liability

    • The policy number on the main sub account of the plan

    • The proposal reference on the main sub account of the plan

    • status string

      Plan status

    • Timestamp of when the plan became inactive

    • Reason for inactivity

    • Denotes if plan has agency in your name

    • Date the agency was in your name from

    • Denotes if the plan was originall sold by your firm

    • Denotes if plan is under advice

    • Denotes if this plan is visible to clients on the client portal

    • Denotes if this plan should be included in the client valuation

    • Denotes if this individual account can be seen when viewing joint plans on any joint accounts the individual client is a part of

    • Review date

    • on_panel boolean

      On panel

    • Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes.

    • Denotes if the plan is a sub-scheme of a group scheme.

    • Denotes if the plan is group scheme member plan. Each group scheme member is their own plan for maximum customisation.

    • The advice area of the plan based on the plan's sub type.

    • Plans main account

      Additional properties are allowed.

    • sub_accounts array[object]

      Plans sub accounts

      Additional properties are allowed.

    • provider object

      The plan's provider

      Additional properties are allowed.

    • covers array[object]

      Covers of the plan

      Additional properties are allowed.

    • claims array[object]

      Claims of the plan

      Additional properties are allowed.

    • Total amount benefit of all covers

      Additional properties are allowed.

    • Total benefits broken down in to cover types

      Additional properties are allowed.

    • latest_valuations array[object]

      The plan's latest valuations (Included when the "latest_valuations" relationship is included)

      Additional properties are allowed.

    • value object

      Total value of the plan

      Additional properties are allowed.

    • When the plan was last valued

    • client object

      The plan's client

      Additional properties are allowed.

    • seller object

      Adviser who sold the plan

      Additional properties are allowed.

    • linked_owners array[object]

      Other clients who have been linked to this plan

      Additional properties are allowed.

    • linked_plans array[object]

      Other plans that have been linked to this plan

      Additional properties are allowed.

    • The statistics on a plan. Only displayed when you retrieve an individual plan

      Additional properties are allowed.

    • cases array[object]

      Cases this plan belongs to

      Additional properties are allowed.

    • tags array[object]

      Tags this plan have been tagged with

      Additional properties are allowed.

    • Determines if the plan is a wrap plan

    • Determines if the plan is a wrap child

    • wrap object

      Parent wrap plan. if this plan is linked to a wrap product

      Additional properties are allowed.

    • wrap_children array[object]

      List of child plans on a wrap product

      Additional properties are allowed.

    • Denotes if the plan can be deleted

    • The specific account used to make contract enquiry requests.

      Additional properties are allowed.

    • custom_fields array[object]

      Any custom fields on the model.

      Additional properties are allowed.

    • external_references array[object]

      The external references that have been added to the client.

      Additional properties are allowed.

    • The group scheme that the member is part of.

      Additional properties are allowed.

    • Any additional group scheme member details.

      Additional properties are allowed.

POST /api/v1/plans/{plan_uuid}/group-scheme-members
curl \
 -X POST https://api.plannrcrm.com/api/v1/plans/plan_uuid/group-scheme-members \
 -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}" \
 -d '{"account_uuid":"fc6ad247-02d4-452c-be46-3d7a1f512a33","status":"active","inactive_status":"paid_up","policy_number":"AVIVA-123","on_risk_at":"2023-03-26","inactive_at":"2024-03-26","pensionable_salary":7000000,"workplace_location":"London","employment_division":"Management"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "account_uuid": "fc6ad247-02d4-452c-be46-3d7a1f512a33",
  "status": "active",
  "inactive_status": "paid_up",
  "policy_number": "AVIVA-123",
  "on_risk_at": "2023-03-26",
  "inactive_at": "2024-03-26",
  "pensionable_salary": 7000000,
  "workplace_location": "London",
  "employment_division": "Management"
}
Response examples (200)
{
  "name": "Johns ISA",
  "tags": [
    {
      "name": "Mortgage",
      "slug": "mortgage",
      "uuid": "ec809593-0abb-4cfb-9636-bb75d79b4c47",
      "colour": "#ef4582",
      "created_at": "2024-11-20T13:24:03+00:00",
      "updated_at": "2024-11-20T13:24:03+00:00"
    }
  ],
  "type": "cash_account",
  "uuid": "3b1e24e0-386e-4da3-beee-58b7b5804866",
  "wrap": {
    "name": "Johns ISA",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "cash_account",
    "uuid": "85b55dc6-ca8b-4135-afdc-3bcdded34e77",
    "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:03+00:00",
    "valued_at": "2024-11-20T13:24:03+00:00",
    "created_at": "2024-11-20T13:24:03+00:00",
    "statistics": {
      "recent_growth": 100
    },
    "updated_at": "2024-11-20T13:24:03+00:00",
    "advice_area": "non_investment_insurance",
    "inactive_at": "2024-11-20T13:24:03+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": "5cbfad81-c187-4ef0-a9b9-e79f84b353a3",
      "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:03+00:00",
      "updated_at": "2024-11-20T13:24:03+00:00",
      "completed_at": "2024-11-20T13:24:03+00:00",
      "participants": "App\\Http\\Resources\\AccountResource",
      "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
      "status_position": 4,
      "task_board_uuid": "f8169737-661c-4b67-a800-cbad5509f0ef",
      "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": "4eb010b3-f5a2-4c26-ba69-144b44b70c54",
      "client": "App\\Http\\Resources\\AccountResource",
      "created_at": "2024-11-20T13:24:03+00:00",
      "updated_at": "2024-11-20T13:24:03+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": "39f69125-5d7f-41f3-98ef-601b9d529ffa",
    "email": "gareth@codepotato.co.uk",
    "groups": "App\\Http\\Resources\\GroupResource",
    "owners": "App\\Http\\Resources\\AccountResource",
    "last_name": "Thompson",
    "created_at": "2024-11-20T13:24:03+00:00",
    "first_name": "Gareth",
    "updated_at": "2024-11-20T13:24:03+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:03+00:00",
    "has_joint_account": true,
    "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
    "first_contact_date": "2024-11-20T13:24:03+00:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
    "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
    "previous_review_date": "2024-11-20T13:24:03+00:00",
    "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
    "assigned_administrator": "App\\Http\\Resources\\AccountResource",
    "anniversary_review_date": "2024-11-20T13:24:03+00:00"
  },
  "covers": [
    {
      "uuid": "1ec46f2e-bb4a-4c1c-9c46-d391b16f80c6",
      "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:03+00:00",
      "indexation": 1.4,
      "updated_at": "2024-11-20T13:24:03+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": "b5d43ff3-d495-4f92-8af4-b5b9aa16a823",
    "email": "gareth@codepotato.co.uk",
    "groups": "App\\Http\\Resources\\GroupResource",
    "owners": "App\\Http\\Resources\\AccountResource",
    "last_name": "Thompson",
    "created_at": "2024-11-20T13:24:03+00:00",
    "first_name": "Gareth",
    "updated_at": "2024-11-20T13:24:03+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:03+00:00",
    "has_joint_account": true,
    "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
    "first_contact_date": "2024-11-20T13:24:03+00:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
    "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
    "previous_review_date": "2024-11-20T13:24:03+00:00",
    "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
    "assigned_administrator": "App\\Http\\Resources\\AccountResource",
    "anniversary_review_date": "2024-11-20T13:24:03+00:00"
  },
  "status": "inactive",
  "on_panel": true,
  "provider": {
    "name": "AJ Bell",
    "slug": "aj-bell",
    "uuid": "08898fc2-1912-458e-8003-1c80ba65023c",
    "created_at": "2024-11-20T13:24:03+00:00",
    "updated_at": "2024-11-20T13:24:03+00:00"
  },
  "sub_type": "lifetime isa",
  "opened_at": "2024-11-20T13:24:03+00:00",
  "valued_at": "2024-11-20T13:24:03+00:00",
  "created_at": "2024-11-20T13:24:03+00:00",
  "statistics": {
    "recent_growth": 100
  },
  "updated_at": "2024-11-20T13:24:03+00:00",
  "advice_area": "non_investment_insurance",
  "inactive_at": "2024-11-20T13:24:03+00:00",
  "review_date": "2023-11-20",
  "group_scheme": {
    "name": "Johns ISA",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "cash_account",
    "uuid": "d34d6aaf-e06a-4cbd-b706-6602107e9cba",
    "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:03+00:00",
    "valued_at": "2024-11-20T13:24:03+00:00",
    "created_at": "2024-11-20T13:24:03+00:00",
    "statistics": {
      "recent_growth": 100
    },
    "updated_at": "2024-11-20T13:24:03+00:00",
    "advice_area": "non_investment_insurance",
    "inactive_at": "2024-11-20T13:24:03+00:00",
    "review_date": "2023-11-20",
    "group_scheme": "App\\Http\\Resources\\Plans\\GroupSchemeMemberResource",
    "linked_plans": "App\\Http\\Resources\\Plans\\GroupSchemeMemberResource",
    "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": true,
    "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,
    "group_scheme_member_detail": {
      "workplace_location": "London",
      "employment_division": "Management"
    },
    "include_in_client_valuation": true
  },
  "linked_plans": [
    {
      "name": "Johns ISA",
      "tags": "App\\Http\\Resources\\TagResource",
      "type": "cash_account",
      "uuid": "5fa8a143-f7b4-4c89-8c96-40c178e18034",
      "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:03+00:00",
      "valued_at": "2024-11-20T13:24:03+00:00",
      "created_at": "2024-11-20T13:24:03+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2024-11-20T13:24:03+00:00",
      "advice_area": "non_investment_insurance",
      "inactive_at": "2024-11-20T13:24:03+00:00",
      "review_date": "2023-11-20",
      "group_scheme": "App\\Http\\Resources\\Plans\\GroupSchemeMemberResource",
      "linked_plans": "App\\Http\\Resources\\Plans\\GroupSchemeMemberResource",
      "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": true,
      "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,
      "group_scheme_member_detail": {
        "workplace_location": "London",
        "employment_division": "Management"
      },
      "include_in_client_valuation": true
    }
  ],
  "main_account": {
    "name": "John's ISA",
    "uuid": "3ed9853a-c7f3-4890-a46f-cdefb5c43fe2",
    "created_at": "2024-11-20T13:24:03+00:00",
    "statistics": {
      "recent_growth": 100
    },
    "updated_at": "2024-11-20T13:24:03+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": "6da5e6ac-2d70-4ce5-9573-f7b83c8d73ad",
      "created_at": "2024-11-20T13:24:03+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2024-11-20T13:24:03+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": "523d7e50-f6b6-4996-8495-3fead23eef4b",
      "value": "Coffee",
      "help_text": "This is the client's favourite drink.",
      "reference": "favourite_drink",
      "created_at": "2024-11-20T13:24:03+00:00",
      "updated_at": "2024-11-20T13:24:03+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": "976862f4-e69f-403b-a1d8-ce45d1cfa607",
      "email": "gareth@codepotato.co.uk",
      "groups": "App\\Http\\Resources\\GroupResource",
      "owners": "App\\Http\\Resources\\AccountResource",
      "last_name": "Thompson",
      "created_at": "2024-11-20T13:24:03+00:00",
      "first_name": "Gareth",
      "updated_at": "2024-11-20T13:24:03+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:03+00:00",
      "has_joint_account": true,
      "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
      "first_contact_date": "2024-11-20T13:24:03+00:00",
      "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
      "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
      "previous_review_date": "2024-11-20T13:24:03+00:00",
      "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
      "assigned_administrator": "App\\Http\\Resources\\AccountResource",
      "anniversary_review_date": "2024-11-20T13:24:03+00:00"
    }
  ],
  "policy_number": "AVIVA-123",
  "show_on_joint": true,
  "wrap_children": [
    {
      "name": "Johns ISA",
      "tags": "App\\Http\\Resources\\TagResource",
      "type": "cash_account",
      "uuid": "bdcce82d-688a-406f-abe6-25ef226f0ee9",
      "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:03+00:00",
      "valued_at": "2024-11-20T13:24:03+00:00",
      "created_at": "2024-11-20T13:24:03+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2024-11-20T13:24:03+00:00",
      "advice_area": "non_investment_insurance",
      "inactive_at": "2024-11-20T13:24:03+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": "5e4d13d8-5476-4b44-b8b7-87e2b9c90d82",
      "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:03+00:00",
      "created_at": "2024-11-20T13:24:03+00:00",
      "updated_at": "2024-11-20T13:24:03+00:00",
      "sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
    }
  ],
  "proposal_reference": "AB123456",
  "agency_in_your_name": true,
  "external_references": [
    {
      "uuid": "e3226abf-312e-49c2-b296-9d666519346d",
      "reference": "AB123456",
      "created_at": "2024-11-20T13:24:03+00:00",
      "updated_at": "2024-11-20T13:24:03+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": true,
  "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": "898d87d7-1810-44ee-b7d7-60e301a62675",
    "email": "gareth@codepotato.co.uk",
    "groups": "App\\Http\\Resources\\GroupResource",
    "owners": "App\\Http\\Resources\\AccountResource",
    "last_name": "Thompson",
    "created_at": "2024-11-20T13:24:03+00:00",
    "first_name": "Gareth",
    "updated_at": "2024-11-20T13:24:03+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:03+00:00",
    "has_joint_account": true,
    "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
    "first_contact_date": "2024-11-20T13:24:03+00:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
    "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
    "previous_review_date": "2024-11-20T13:24:03+00:00",
    "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
    "assigned_administrator": "App\\Http\\Resources\\AccountResource",
    "anniversary_review_date": "2024-11-20T13:24:03+00:00"
  },
  "visible_on_client_portal": true,
  "group_scheme_member_detail": {
    "workplace_location": "London",
    "employment_division": "Management"
  },
  "include_in_client_valuation": true
}