Update an statement transaction Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.plannrcrm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"PlannrCRM MCP server": {
  "url": "https://apidocs.plannrcrm.com/mcp"
}
Close
PUT /api/v1/statement-transaction/{statementTransaction_uuid}

Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • statementTransaction_uuid string Required
application/json

Body

  • client_name string

    The client name this payment would be for.

  • date string(date)

    Provider statement transaction date

  • policy_number string

    Provider reference of the plan the statement transactions is for.

  • category string

    Provider statement transaction category.

    Value Description
    adhoc Adhoc
    administration Administration
    adjustment Adjustment
    bond_renewal Bond Renewal
    clawback Clawback
    dss_rebate Dss Rebate
    fund Fund
    indemnity Indemnity
    initial_fee Initial Fee
    level Level
    non_indemnity Non Indemnity
    one_off One Off
    ongoing_fee Ongoing Fee
    other_fee Other Fee
    procuration_fee Procuration Fee
    protected_rights Protected Rights
    renewal Renewal
    switch Switch
    unknown Unknown

    Values are adhoc, administration, adjustment, bond_renewal, clawback, dss_rebate, fund, indemnity, initial_fee, level, non_indemnity, one_off, ongoing_fee, other_fee, procuration_fee, protected_rights, renewal, switch, or unknown.

  • gross_amount integer

    Transaction gross amount in lowest denomination.

  • net_amount integer

    Transaction net amount in lowest denomination.

  • adviser_name string

    The adviser name if given on the provider statement

  • transaction_reference string

    Unique statement transactions reference provided by the provider.

  • agency_number string

    Agency number of the transaction if given on the provider statement.

  • product_reference string

    Product reference of the transaction if given on the provider statement.

  • sender_id_sib_number string

    Sender ID/SIB number

  • reason string

    Reason

  • scheme_name string

    Scheme name

  • scheme_number string

    Scheme number

  • customer_number string

    Customer number

  • policy_market_value string

    Policy market value

  • payment_origin string

    Where this statement transactions came from.

    Value Description
    client Client
    provider Provider
    unknown Unknown

    Values are client, provider, or unknown.

Responses

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

      The UUID of the resource.

    • created_at string

      The timestamp of when the resource was created.

    • updated_at string

      The timestamp of when the resource was updated.

    • client_name string

      Client name

    • transaction_reference string

      Unique statement transactions reference assigned by the provider

    • policy_number string

      Provider reference of the plan the statement transactions belongs to

    • date string

      Date of when the provider received the statement transactions

    • gross_amount object

      Gross amount

      Hide gross_amount attributes Show gross_amount attributes object
      • amount object
        Hide amount attributes Show amount attributes object
        • example string
        • description string
      • formatted object
        Hide formatted attributes Show formatted attributes object
        • example string
        • description string
      • currency object
        Hide currency attributes Show currency attributes object
        • example string
        • description string
    • net_amount object

      Net amount

      Hide net_amount attributes Show net_amount attributes object
      • amount object
        Hide amount attributes Show amount attributes object
        • example string
        • description string
      • formatted object
        Hide formatted attributes Show formatted attributes object
        • example string
        • description string
      • currency object
        Hide currency attributes Show currency attributes object
        • example string
        • description string
    • category string

      Expected payment category for accurate reporting

    • payment_origin string

      Who is expected to pay this statement transactions

    • agency_number string

      Agency number

    • product_reference string

      Product reference

    • adviser_name string

      Adviser name

    • sender_id_sib_number string

      Sender id sib number

    • reason string

      Reason

    • scheme_name string

      Scheme name

    • scheme_number string

      Scheme number

    • customer_number string

      Customer number

    • policy_market_value string

      Policy market value

    • provider string

      Provider this statement transaction belongs to if provided

    • provider_statement object

      Provider statement this statement transaction belongs to

      Hide provider_statement attributes Show provider_statement attributes object
      • uuid string
      • created_at string
      • updated_at string
      • number integer
      • name string
      • date string
      • reference string
      • filename string
      • origin string
      • provider string
      • statement string
      • statement_transactions_count integer
      • statement_transactions string
      • total_amount object
        Hide total_amount attributes Show total_amount attributes object
        • amount string
        • currency string
        • formatted string
      • reconciled_expectations_amount object
        Hide reconciled_expectations_amount attributes Show reconciled_expectations_amount attributes object
        • amount string
        • currency string
        • formatted string
      • reconciled_expectations_percentage number
      • reconciled_bank_transactions_amount object
        Hide reconciled_bank_transactions_amount attributes Show reconciled_bank_transactions_amount attributes object
        • amount string
        • currency string
        • formatted string
      • reconciled_bank_transactions_percentage number
      • is_fully_reconciled_to_expectations boolean
    • metadata object

      Any metadata that was saved during a CSV import for statement transactions

      Hide metadata attribute Show metadata attribute object
      • client_name string
    • expectation object

      The expectation that the statement transaction has been reconciled against

      Hide expectation attributes Show expectation attributes object
      • uuid string
      • created_at string
      • updated_at string
      • payment_origin string
      • type string
      • category string
      • expected_payment_date string
      • tax_exempt boolean
      • tax integer
      • recurring boolean
      • is_balanced boolean
      • unbalanced_expected_amount object
        Hide unbalanced_expected_amount attributes Show unbalanced_expected_amount attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • expected_amount object
        Hide expected_amount attributes Show expected_amount attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • gross_amount object
        Hide gross_amount attributes Show gross_amount attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • net_amount object
        Hide net_amount attributes Show net_amount attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • amount object
        Hide amount attributes Show amount attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • percentage number
      • exclude_from_rmar boolean
      • rmar_type string
      • advice_type string
      • service_type string
      • advice_area_gross object
        Hide advice_area_gross attributes Show advice_area_gross attributes object
        • deposit integer
        • non_regulated integer
        • non_rmar integer
        • non_investment_insurance integer
        • regulated_mortgage integer
        • retail_investment integer
        • other_fca_regulated integer
        • unknown integer
      • advice_area_net object
        Hide advice_area_net attributes Show advice_area_net attributes object
        • deposit integer
        • non_regulated integer
        • non_rmar integer
        • non_investment_insurance integer
        • regulated_mortgage integer
        • retail_investment integer
        • other_fca_regulated integer
        • unknown integer
      • account string
      • seller string
      • author string
      • charge_schedule string
      • chargeable_type string
      • chargeable string
      • statement_transactions string
      • statement string
      • income_splits string
      • firm string
      • notes_count integer
    • bank_transactions array[object]

      The bank payments used to reconcile this statement transaction

      Hide bank_transactions attributes Show bank_transactions attributes object
      • uuid string
      • created_at string
      • updated_at string
      • date string
      • amount object
        Hide amount attributes Show amount attributes object
        • amount string
        • currency string
        • formatted string
      • reference string
      • metadata object
        Hide metadata attribute Show metadata attribute object
        • client_name string
      • filename string
      • bank_statement string
      • statement string
      • account string
      • firm string
    • statement object

      The statement period this statement transaction belongs to

      Hide statement attributes Show statement attributes object
      • uuid string
      • created_at string
      • updated_at string
      • name string
      • start_date string
      • end_date string
      • locked boolean
      • locked_at string
      • locked_by string
      • total_expectations object
        Hide total_expectations attributes Show total_expectations attributes object
        • amount string
        • currency string
        • formatted string
      • total_statement_transactions object
        Hide total_statement_transactions attributes Show total_statement_transactions attributes object
        • amount string
        • currency string
        • formatted string
      • total_bank_transactions object
        Hide total_bank_transactions attributes Show total_bank_transactions attributes object
        • amount string
        • currency string
        • formatted string
      • total_expectation_amount_reconciled_to_bank object
        Hide total_expectation_amount_reconciled_to_bank attributes Show total_expectation_amount_reconciled_to_bank attributes object
        • amount string
        • currency string
        • formatted string
      • total_expectation_percentage_reconciled_to_bank object
        Hide total_expectation_percentage_reconciled_to_bank attributes Show total_expectation_percentage_reconciled_to_bank attributes object
        • amount string
        • currency string
        • formatted string
      • expectations_count integer
      • statement_transactions_count integer
      • statement_transactions string
    • account object

      Account that created this statement transaction

      Hide account attributes Show account attributes object
      • uuid string
      • created_at string
      • updated_at string
      • type string
      • role string
      • first_name string
      • last_name string
      • name string
      • email string
      • photo_url string
      • firm string
      • primary_phone_number string
      • primary_email string
      • current_time_entry string
      • assigned_adviser string
      • assigned_administrator string
      • assigned_paraplanner string
      • introduced_by string
      • business_unit string
      • groups string
      • tags string
      • owners string
      • first_contact_date string
      • next_review_date string
      • previous_review_date string
      • anniversary_review_date string
      • terms_of_business_at string
      • client_agreement_at string
      • with_login boolean
      • has_joint_account boolean
      • can_be_deleted string
      • joint_account_circle string
      • circles string
      • ownership_percentage integer
      • inactive_at string
      • last_interaction_at string
      • referral_code string
      • permissions object
        Hide permissions attributes Show permissions attributes object
        • firm:read array[string]
        • network:read array[string]
      • custom_fields string
      • external_references string
    • firm object

      Firm this statement transaction belongs to

      Hide firm attributes Show firm attributes object
      • uuid string
      • created_at string
      • updated_at string
      • name string
      • slug string
      • address_1 string
      • address_2 string
      • town_city string
      • county string
      • postcode string
      • country string
      • regulatory_text string
      • logo_icon string
      • brand_colours object
        Hide brand_colours attributes Show brand_colours attributes object
        • sidebar_background string
        • sidebar_accent string
        • sidebar_text string
        • sidebar_hover string
        • sidebar_active string
        • sidebar_title_background string
        • sidebar_title_primary string
        • sidebar_title_secondary string
        • sidebar_title_secondary_hover string
        • email_background string
        • email_logo_background_panel string
        • email_sub_text string
        • email_button_background string
        • email_button_text string
        • portal_sidebar_button_background string
        • portal_sidebar_button_hover string
        • portal_sidebar_button_active string
        • portal_brand_title string
        • portal_brand_sub_title string
        • portal_sidebar_title string
        • portal_sidebar_text string
        • portal_sidebar_text_hover string
        • portal_sidebar_text_active string
        • portal_sidebar_icon string
        • portal_sidebar_icon_hover string
        • portal_sidebar_icon_active string
        • portal_background string
        • portal_sidebar_account_title string
        • portal_sidebar_account_email string
        • portal_sidebar_divider string
        • portal_dashboard_bg_one string
        • portal_dashboard_bg_two string
        • portal_sidebar_collapse_button string
        • portal_sidebar_collapse_button_hover string
        • portal_sidebar_user_select_background string
        • portal_sidebar_user_select_hover string
        • portal_sidebar_user_select_text string
        • portal_sidebar_user_select_text_hover string
        • portal_sidebar_user_select_border string
        • portal_sidebar_user_select_border_hover string
      • is_subscribed boolean
      • addon_subscriptions string
      • keep_deleted_files_for integer
      • tax number
      • month_end integer
      • statement_frequency string
      • billing object
        Hide billing attributes Show billing attributes object
        • invoice_address_1 string
        • invoice_address_2 string
        • invoice_town_city string
        • invoice_county string
        • invoice_postcode string
        • invoice_country string
        • invoice_email string
      • task_board_template string
      • ip_whitelist array[string]
      • welcome_paragraph_html string
      • email_welcome_paragraph_html string
      • show_fact_find_illustrations boolean
      • cc_email_addresses array[string]
      • bcc_email_addresses array[string]
      • reply_to_email_address string
      • mobile_app_support_number string
      • mobile_app_support_email string
    • reconciliation object

      The reconciliation amount to both expectations and bank transactions

      Hide reconciliation attributes Show reconciliation attributes object
      • bank_transaction_reconciliation_amount object
        Hide bank_transaction_reconciliation_amount attributes Show bank_transaction_reconciliation_amount attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • bank_transaction_reconciliation_percentage integer
      • is_fully_reconciled_with_bank_transactions boolean
      • expectation_reconciliation_amount object
        Hide expectation_reconciliation_amount attributes Show expectation_reconciliation_amount attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • expectation_reconciliation_percentage integer
      • is_reconciled_with_expectation boolean
      • is_fully_reconciled_with_expectations boolean
    • bank_transaction_reconciliations object

      The individual reconciliations against the statement transaction for bank transactions

      Hide bank_transaction_reconciliations attributes Show bank_transaction_reconciliations attributes object
      • uuid string
      • created_at string
      • updated_at string
      • amount object
        Hide amount attributes Show amount attributes object
        • amount object
          Hide amount attributes Show amount attributes object
          • example string
          • description string
        • formatted object
          Hide formatted attributes Show formatted attributes object
          • example string
          • description string
        • currency object
          Hide currency attributes Show currency attributes object
          • example string
          • description string
      • statement_transaction string
      • bank_transaction string
      • account string
PUT /api/v1/statement-transaction/{statementTransaction_uuid}
curl \
 --request PUT 'https://api.plannrcrm.com/api/v1/statement-transaction/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"client_name":"Gareth Thompson","date":"2026-06-08","policy_number":"AVIVA00001","category":"adhoc","gross_amount":15099,"net_amount":15099,"adviser_name":"Bill Gates","transaction_reference":"bsLMILN9Lv","agency_number":"5k2mOJlpDP","product_reference":"MJsi6dpCnQ","sender_id_sib_number":"Sender ID/SIB number","reason":"Reason","scheme_name":"Scheme name","scheme_number":"Scheme number","customer_number":"Customer number","policy_market_value":"Policy market value","payment_origin":"client"}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "client_name": "Gareth Thompson",
  "date": "2026-06-08",
  "policy_number": "AVIVA00001",
  "category": "adhoc",
  "gross_amount": 15099,
  "net_amount": 15099,
  "adviser_name": "Bill Gates",
  "transaction_reference": "bsLMILN9Lv",
  "agency_number": "5k2mOJlpDP",
  "product_reference": "MJsi6dpCnQ",
  "sender_id_sib_number": "Sender ID/SIB number",
  "reason": "Reason",
  "scheme_name": "Scheme name",
  "scheme_number": "Scheme number",
  "customer_number": "Customer number",
  "policy_market_value": "Policy market value",
  "payment_origin": "client"
}
Response examples (200)
{
  "uuid": "e644982d-2418-4d2b-8288-407f7a87bf6a",
  "created_at": "2026-06-08T16:08:03+01:00",
  "updated_at": "2026-06-08T16:08:03+01:00",
  "client_name": "Gareth Thompson",
  "transaction_reference": "dWrQiEYgtG",
  "policy_number": "AVIVA_00001",
  "date": "2026-06-08",
  "gross_amount": {
    "amount": {
      "example": "4000",
      "description": "Money amount at their lowest denominator (for example: pennies)"
    },
    "formatted": {
      "example": "£40.00",
      "description": "Money amount formatted with currency"
    },
    "currency": {
      "example": "GBP",
      "description": "Currency of the money"
    }
  },
  "net_amount": {
    "amount": {
      "example": "4000",
      "description": "Money amount at their lowest denominator (for example: pennies)"
    },
    "formatted": {
      "example": "£40.00",
      "description": "Money amount formatted with currency"
    },
    "currency": {
      "example": "GBP",
      "description": "Currency of the money"
    }
  },
  "category": "initial_fee",
  "payment_origin": "provider",
  "agency_number": "Agency number",
  "product_reference": "Product reference",
  "adviser_name": "Adviser name",
  "sender_id_sib_number": "Sender id sib number",
  "reason": "Reason",
  "scheme_name": "Scheme name",
  "scheme_number": "Scheme number",
  "customer_number": "Customer number",
  "policy_market_value": "Policy market value",
  "provider": "Aviva",
  "provider_statement": {
    "uuid": "d36b9941-861e-4830-a668-836705989c86",
    "created_at": "2026-06-08T16:08:03+01:00",
    "updated_at": "2026-06-08T16:08:03+01:00",
    "number": 23,
    "name": "Aviva",
    "date": "2026-06-08",
    "reference": "SW#8434",
    "filename": "aviva-statement-may.csv",
    "origin": "upload",
    "provider": "App\\Http\\Resources\\Plans\\ProviderResource",
    "statement": "App\\Http\\Resources\\StatementResource",
    "statement_transactions_count": 6,
    "statement_transactions": "App\\Http\\Resources\\StatementTransactionResource",
    "total_amount": {
      "amount": "345895",
      "currency": "GBP",
      "formatted": "£3,458.95"
    },
    "reconciled_expectations_amount": {
      "amount": "12849",
      "currency": "GBP",
      "formatted": "£128.49"
    },
    "reconciled_expectations_percentage": 95.68,
    "reconciled_bank_transactions_amount": {
      "amount": "22985",
      "currency": "GBP",
      "formatted": "£229.85"
    },
    "reconciled_bank_transactions_percentage": 95.68,
    "is_fully_reconciled_to_expectations": true
  },
  "metadata": {
    "client_name": "Gareth Thompson"
  },
  "expectation": {
    "uuid": "159db17a-e8cf-445f-97e6-5ce0c7fe3cac",
    "created_at": "2026-06-08T16:08:03+01:00",
    "updated_at": "2026-06-08T16:08:03+01:00",
    "payment_origin": "provider",
    "type": "fee",
    "category": "ongoing_fee",
    "expected_payment_date": "2026-06-08T16:08:03+01:00",
    "tax_exempt": true,
    "tax": 20,
    "recurring": true,
    "is_balanced": false,
    "unbalanced_expected_amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "expected_amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "gross_amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "net_amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "percentage": 0.75,
    "exclude_from_rmar": true,
    "rmar_type": "adviser_charge",
    "advice_type": "independent",
    "service_type": "initial",
    "advice_area_gross": {
      "deposit": 7500,
      "non_regulated": 0,
      "non_rmar": 0,
      "non_investment_insurance": 0,
      "regulated_mortgage": 2500,
      "retail_investment": 0,
      "other_fca_regulated": 0,
      "unknown": 0
    },
    "advice_area_net": {
      "deposit": 7500,
      "non_regulated": 0,
      "non_rmar": 0,
      "non_investment_insurance": 0,
      "regulated_mortgage": 2500,
      "retail_investment": 0,
      "other_fca_regulated": 0,
      "unknown": 0
    },
    "account": "App\\Http\\Resources\\AccountResource",
    "seller": "App\\Http\\Resources\\AccountResource",
    "author": "App\\Http\\Resources\\AccountResource",
    "charge_schedule": "App\\Http\\Resources\\ChargeResource",
    "chargeable_type": "plan",
    "chargeable": "App\\Http\\Resources\\Plans\\PlanResource",
    "statement_transactions": "App\\Http\\Resources\\StatementTransactionResource",
    "statement": "App\\Http\\Resources\\StatementResource",
    "income_splits": "App\\Http\\Resources\\IncomeSplitResource",
    "firm": "App\\Http\\Resources\\FirmResource",
    "notes_count": 5
  },
  "bank_transactions": [
    {
      "uuid": "5898223c-a5b6-46a8-a6d3-c74ae3d31e5e",
      "created_at": "2026-06-08T16:08:03+01:00",
      "updated_at": "2026-06-08T16:08:03+01:00",
      "date": "2022-07-15",
      "amount": {
        "amount": "12399",
        "currency": "GBP",
        "formatted": "£123.99"
      },
      "reference": "VitalityLtd",
      "metadata": {
        "client_name": "Gareth Thompson"
      },
      "filename": "Natwest June 2022 Statement.xlsx",
      "bank_statement": "App\\Http\\Resources\\BankStatementResource",
      "statement": "App\\Http\\Resources\\StatementResource",
      "account": "App\\Http\\Resources\\AccountResource",
      "firm": "App\\Http\\Resources\\FirmResource"
    }
  ],
  "statement": {
    "uuid": "9162d745-5723-447f-93b9-0b31fb97b9e9",
    "created_at": "2026-06-08T16:08:03+01:00",
    "updated_at": "2026-06-08T16:08:03+01:00",
    "name": "01/06/2022 - 30/06/2022",
    "start_date": "2022-06-30",
    "end_date": "2022-06-01",
    "locked": false,
    "locked_at": "2026-06-08T16:08:03+01:00",
    "locked_by": "App\\Http\\Resources\\AccountResource",
    "total_expectations": {
      "amount": "124585",
      "currency": "GBP",
      "formatted": "£1,245.85"
    },
    "total_statement_transactions": {
      "amount": "125599",
      "currency": "GBP",
      "formatted": "£1,255.99"
    },
    "total_bank_transactions": {
      "amount": "125599",
      "currency": "GBP",
      "formatted": "£1,255.99"
    },
    "total_expectation_amount_reconciled_to_bank": {
      "amount": "125599",
      "currency": "GBP",
      "formatted": "£1,255.99"
    },
    "total_expectation_percentage_reconciled_to_bank": {
      "amount": "8570",
      "currency": "GBP",
      "formatted": "£85.70"
    },
    "expectations_count": 6,
    "statement_transactions_count": 6,
    "statement_transactions": "App\\Http\\Resources\\StatementTransactionResource"
  },
  "account": {
    "uuid": "d35d84f4-f032-41c7-922f-73ceb5fe21c9",
    "created_at": "2026-06-08T16:08:03+01:00",
    "updated_at": "2026-06-08T16:08:03+01:00",
    "type": "client",
    "role": "client",
    "first_name": "Gareth",
    "last_name": "Thompson",
    "name": "Gareth Thompson",
    "email": "gareth@codepotato.co.uk",
    "photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
    "firm": "App\\Http\\Resources\\FirmResource",
    "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
    "primary_email": "App\\Http\\Resources\\ContactDetailResource",
    "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
    "assigned_adviser": "App\\Http\\Resources\\AccountResource",
    "assigned_administrator": "App\\Http\\Resources\\AccountResource",
    "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
    "introduced_by": "App\\Http\\Resources\\AccountResource",
    "business_unit": "App\\Http\\Resources\\BusinessUnitResource",
    "groups": "App\\Http\\Resources\\GroupResource",
    "tags": "App\\Http\\Resources\\TagResource",
    "owners": "App\\Http\\Resources\\AccountResource",
    "first_contact_date": "2026-06-08T16:08:03+01:00",
    "next_review_date": "2026-06-08T16:08:03+01:00",
    "previous_review_date": "2026-06-08T16:08:03+01:00",
    "anniversary_review_date": "2026-06-08T16:08:03+01:00",
    "terms_of_business_at": "2026-06-08T16:08:03+01:00",
    "client_agreement_at": "2026-06-08T16:08:03+01:00",
    "with_login": true,
    "has_joint_account": true,
    "can_be_deleted": "false",
    "joint_account_circle": "App\\Http\\Resources\\CircleResource",
    "circles": "App\\Http\\Resources\\CircleResource",
    "ownership_percentage": 100,
    "inactive_at": "2026-06-08",
    "last_interaction_at": "2026-06-08 16:08:03",
    "referral_code": "ABC12345",
    "permissions": {
      "firm:read": [
        "firm"
      ],
      "network:read": [
        "network:uuid"
      ]
    },
    "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
  },
  "firm": {
    "uuid": "72bf48f6-0b4b-4b48-a621-df19166a66f5",
    "created_at": "2026-06-08T16:08:03+01:00",
    "updated_at": "2026-06-08T16:08:03+01:00",
    "name": "Codepotato",
    "slug": "codepotato",
    "address_1": "Suite E, 5 The Briars",
    "address_2": "Waterberry Drive",
    "town_city": "Waterlooville",
    "county": "Hampshire",
    "postcode": "PO7 7YH",
    "country": "United Kingdom",
    "regulatory_text": "Regulatory text",
    "logo": "https://api.plannrcrm.com/images/plannr.jpg",
    "logo_icon": "https://api.plannrcrm.com/images/plannr-icon.jpg",
    "brand_colours": {
      "sidebar_background": "#0E0E56",
      "sidebar_accent": "#36367E",
      "sidebar_text": "#FFFFFF",
      "sidebar_hover": "#0A0A42",
      "sidebar_active": "#53DBB8",
      "sidebar_title_background": "#36367E",
      "sidebar_title_primary": "#FFC634",
      "sidebar_title_secondary": "#FFFFFF",
      "sidebar_title_secondary_hover": "#FFFFFF",
      "email_background": "#0E0E56",
      "email_logo_background_panel": "#36367E",
      "email_sub_text": "#FFFFFF",
      "email_button_background": "#36367E",
      "email_button_text": "#FFFFFF",
      "portal_sidebar_button_background": "#F6F6F6",
      "portal_sidebar_button_hover": "#FFFFFF",
      "portal_sidebar_button_active": "#FFFFFF",
      "portal_brand_title": "#323B4B",
      "portal_brand_sub_title": "#828994",
      "portal_sidebar_title": "#11151D",
      "portal_sidebar_text": "#323B4B",
      "portal_sidebar_text_hover": "#323B4B",
      "portal_sidebar_text_active": "#323B4B",
      "portal_sidebar_icon": "#828994",
      "portal_sidebar_icon_hover": "#828994",
      "portal_sidebar_icon_active": "#828994",
      "portal_background": "#F6F6F6",
      "portal_sidebar_account_title": "#11151D",
      "portal_sidebar_account_email": "#828994",
      "portal_sidebar_divider": "#E3E5E9",
      "portal_dashboard_bg_one": "#EF4583",
      "portal_dashboard_bg_two": "#FFC634",
      "portal_sidebar_collapse_button": "#828994",
      "portal_sidebar_collapse_button_hover": "#B3B9C4",
      "portal_sidebar_user_select_background": "#F6F6F6",
      "portal_sidebar_user_select_hover": "#F6F6F6",
      "portal_sidebar_user_select_text": "#323B4B",
      "portal_sidebar_user_select_text_hover": "#323B4B",
      "portal_sidebar_user_select_border": "#EEEEEE",
      "portal_sidebar_user_select_border_hover": "#828994"
    },
    "is_subscribed": true,
    "addon_subscriptions": "App\\Http\\Resources\\Addons\\AddonSubscriptionResource",
    "keep_deleted_files_for": 30,
    "tax": 17.5,
    "month_end": 25,
    "statement_frequency": "monthly",
    "billing": {
      "invoice_address_1": "Suite E, 5 The Briars",
      "invoice_address_2": "Waterberry Drive",
      "invoice_town_city": "Waterlooville",
      "invoice_county": "Hampshire",
      "invoice_postcode": "PO7 7YH",
      "invoice_country": "United Kingdom",
      "invoice_email": "gareth@codepotato.co.uk"
    },
    "task_board_template": "App\\Http\\Resources\\Board\\BoardResource",
    "ip_whitelist": [
      "192.168.0.1",
      "127.0.0.1"
    ],
    "welcome_paragraph_html": "<h1>Welcome.</h1>",
    "email_welcome_paragraph_html": "Welcome to Plannr!",
    "show_fact_find_illustrations": true,
    "cc_email_addresses": [
      "jack@example.com",
      "jill@example.com"
    ],
    "bcc_email_addresses": [
      "jack@example.com",
      "jill@example.com"
    ],
    "reply_to_email_address": "jack@example.com",
    "mobile_app_support_number": "01234 567890",
    "mobile_app_support_email": "support@example.com"
  },
  "reconciliation": {
    "bank_transaction_reconciliation_amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "bank_transaction_reconciliation_percentage": 100,
    "is_fully_reconciled_with_bank_transactions": true,
    "expectation_reconciliation_amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "expectation_reconciliation_percentage": 50,
    "is_reconciled_with_expectation": false,
    "is_fully_reconciled_with_expectations": false
  },
  "bank_transaction_reconciliations": {
    "uuid": "ec61ec99-b1d3-4d44-b6d3-dd918bb89773",
    "created_at": "2026-06-08T16:08:03+01:00",
    "updated_at": "2026-06-08T16:08:03+01:00",
    "amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "statement_transaction": "App\\Http\\Resources\\StatementTransactionResource",
    "bank_transaction": "App\\Http\\Resources\\BankTransactionResource",
    "account": "App\\Http\\Resources\\AccountResource"
  }
}