Tools
accountsAccounts and balancesRead
Every open account with its current balance, asset class, group, and when it was last updated, plus totals by asset class (already added up). Each account also carries `allocation`: its dollars in each Investing → Allocation category (an account split across categories lists each), the same rows the Allocation screen adds up; empty for an account the Allocation screen leaves out (a loan not tied to what it secures, or any loan while the screen shows assets only). Liabilities are negative. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
No inputs.
allocation_cardShow my allocationRead
The household's allocation exactly as Investing → Allocation shows it: each category (the household's own categories, e.g. Stocks, Cash & Equivalents, Business Equity, Real Estate) with its dollars and share of net worth, as of the closed month the screen uses. by_account lists each account's dollars in each category (an account split across categories lists each), summing to by_category. Also returns net worth by account type (the Net Worth tabs) as a second view. AI apps that draw MCP Apps show it as a card; others get the same figures as text. Already computed. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
No inputs.
app_styleLedger's look for the member's appsRead
Returns Ledger of Life's visual style for apps the member builds with their AI: colors for light and dark mode (Ledger's green and its chart palette), type, spacing, number and date formats, and a starting HTML page that uses them, with the terms that come with Ledger's look: no Ledger logo or wordmark, a line saying the app was made by the member with their AI and is not a Ledger screen, and no sign-in or password fields. It returns no household data and never changes their book. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
No inputs.
cash_flowCash flow (P&L)Read
One month's P&L as Cash flow → P&L shows it to this member: income and spending by category (with each category's sub-category lines), each with that month, the same month last year, and the budget; the year-to-date figures; and the net. Uses the member's own saved choices on that screen (Lifestyle or All spending, which income counts, taxes as paid or as owed) and names them. Defaults to the last completed month, as the screen does; any month can be asked for, and the current month reads month-to-date (month_in_progress: true). Spending is a positive number of dollars spent. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
year integer, optionalmonth integer, optionalview "all" | "lifestyle", optional · Spending lens; omit for the member's saved choice.income "spendable" | "all", optional · Which income counts; omit for the household's own default.
changes_sinceWhat changed sinceRead
What changed in the book since a moment you give: transactions added and removed (up to 100 per page, with the counts), balance values recorded, bank balances refreshed, accounts added or closed, and imports applied or undone. Returns next_since: pass it next time to pick up exactly where this read ended, so a recurring review never re-reads the whole book. since is a date (start of that day, Pacific) or an ISO date-time, at most 400 days back. Edits to an existing transaction are not recorded with a time, so they are not listed (not_tracked says so). Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
since string, required · A date (YYYY-MM-DD) or ISO date-time; usually the next_since from your last call.page integer, optional · Page of added transactions, 100 per page.
data_qualityWhat needs attention in the bookRead
What would make the numbers more accurate, each with what to do: accounts entered by hand that are behind, investment accounts whose holdings are old, accounts carrying a balance forward with no new value, and transactions with no category. Counts are already added up. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
No inputs.
diagnoseDiagnose your ledgerRead
Use this when something looks wrong or an update didn't land: each account's last update and where it came from, the last 10 batches this app proposed with what happened to each, what's waiting on the member, and the fix for each, plus known_issues: problems Ledger is already tracking at this household's institutions (the same list as Accounts > Connections, with Plaid's live status). Read-only. If it can't explain the problem, offer to send it to Ledger with send_feedback. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
No inputs.
explain_changeExplain a change in net worthRead
Why net worth moved between two month-ends: the total change and each account's share of it, largest first, already added up (the accounts sum exactly to the total). Defaults to the last two completed month-ends. Months are YYYY-MM. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
from string, optionalto string, optional
freedom_planFreedom plan (projection)Read
The saved Planning & Freedom scenario the screen opens on (other scenarios, events, replay, Monte Carlo and drawdown are not included yet): its assumptions (starting balance, contribution, spending, retirement year, returns), which assumptions are still missing, and the result (the year savings would run out, if they do, and the ending balance). Read-only: it reports the plan as saved and never changes it. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
No inputs.
history_import_pathsHow to get history out of another appRead
How a member gets their month-end balance history out of Empower, Monarch, Quicken or a CSV. Empower and Monarch have no export of their own, so the path is Ledger's one-click exporter (exporter_url: a bookmark the member adds once and clicks on that app's dashboard, which downloads a CSV). Give the member exporter_url and its steps; the CSV it downloads is already in Ledger's columns, so send its rows as they are. Quicken's report, or any other file, you reshape into the columns its steps list. Then match_accounts, a balances batch and import_validate. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
app "empower" | "monarch" | "quicken" | "other", optional · Only this app's path.
household_contextHousehold contextRead
What is in this Ledger of Life book: the household's name, its open accounts with their ids, how each is kept (bank connection, or imports and manual entry), the latest month-end each has a balance for, and a freshness summary already counted. Read-only. Its result starts with ledger_rules: the import contract's version and its rules for Plaid-shaped batches. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
No inputs.
how_toHow to do something in LedgerRead
Returns Ledger of Life's own Help articles: the steps to do something in the Ledger app, who in the household can do it, whether the household's plan includes it, and a link to the article. Takes the question in a few plain words, or the page the member is on, or an article id. When nothing matches it returns the table of contents, and Ledger counts that question's words to decide which article to write next: letters only, with numbers and email addresses removed and never tied to a member or household. It never changes their book. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing in the member's book. Ledger counts the lookup and its search words so its team can see which Help articles are missing. · Needs: ledger:read · Hints: readOnly true, destructive false
question string, optional · The how-to question in a few plain words, without names, amounts or account details.page string, optional · The Ledger page the member is on, as a path, e.g. /transactions.article string, optional · A Help article id, from a match or the table of contents.
import_validateCheck an import (dry run)Read
Check a proposed batch against this book WITHOUT changing the book: row errors, rows already in the book, accounts Apply would create, totals, and (for plaid_transactions) how far the batch's categories match Plaid's own for the same merchants. import_stage refuses a batch that has errors here. Plaid-shaped batches carry a Plaid connection's own data, in Plaid's field names and Plaid's sign (positive amount = money out). One batch is one Plaid connection (Item) and one product. Each carries "item":{"item_id":"<the Item's item_id, stable across batches>","institution":"<as Plaid names it>","status":"ok" or Plaid's error code (e.g. ITEM_LOGIN_REQUIRED),"history_complete":true|false} and "accounts":[{"account_id","name","official_name","mask","type","subtype","balances":{"current","available","iso_currency_code"}}] for every account its rows belong to (today's balances). One app keeps an account current at a time: an account another app's connection already keeps current is skipped, with that app named in the warnings, unless the batch carries "take_over":true (after the member says so), which sends it to the member to approve the switch. Types: {"type":"plaid_accounts","version":1,item,accounts} creates or refreshes accounts and balances, including accounts with no transactions or holdings (insurance cash value, a $0 401k, an undrawn HELOC). {"type":"plaid_transactions","version":1,item,accounts,"transactions":[{"transaction_id","account_id","date","authorized_date","name","merchant_name","merchant_entity_id","amount","pending","iso_currency_code","personal_finance_category":{"primary","detailed","confidence_level"},"counterparties"}]}: banking activity (rows on an investment account are refused). `date` is the day the transaction posted and `authorized_date` the day it was made, as Plaid defines them; a posted timestamp's day is its day in the bank's time zone. {"type":"plaid_holdings","version":1,item,accounts,"securities":[{"security_id","name","ticker_symbol","type","subtype","cusip","isin","close_price","is_cash_equivalent"}],"holdings":[{"account_id","security_id","quantity","institution_price","institution_value","cost_basis"}]} replaces each listed account's positions; prices are as the institution quotes them (bonds per $100). {"type":"plaid_investments","version":1,item,accounts,securities,"investment_transactions":[{"investment_transaction_id","account_id","security_id","date","name","type","subtype","quantity","price","fees","amount"}]}: trades, dividends and transfers of investment accounts, kept out of Cash Flow as in Ledger's own bank sync. Ledger-shaped batches, for data that isn't Plaid's (e.g. a statement): {"type":"transactions","version":1,"account_id":<id> or "account":{…},"rows":[{"date","amount (LEDGER sign: negative = money out)","description","transaction_id"}]}, {"type":"balances","version":1,"rows":[{"account_id" or "account","month_end":"YYYY-MM-DD","balance"}]}, {"type":"positions","version":1,"account_id" or "account","as_of","rows":[{"symbol","quantity","price","market_value"}]}. Each of these three may carry "schedule": "one_time" (a catch-up; the default), "nightly" or "monthly" (the app keeps sending; Ledger shows the account as kept current by the app and reports when it falls behind). A balances batch is month-end data, so one_time or monthly only. One app keeps an account current at a time: a nightly or monthly batch for an account another app keeps current is refused with that app's name, and "take_over": true (after the member says so) sends it to the member to approve the switch. A v1 batch may also name its account the way Plaid does, "account" in place of "account_id": {"institution":"Navy Federal Credit Union","name":"DD Checking","official_name":"optional","mask":"8803","type":"depository","subtype":"checking","current_balance":1234.56,"available_balance":1200.00,"balance_as_of":"YYYY-MM-DD"} (type is Plaid's: depository, credit, loan, investment or other; for cards and loans current_balance is the amount owed, positive). Ledger recognizes it by institution + mask, and Apply creates it if the book doesn't have it, as linking the bank would. Account-free types, read from a document the member gives you: {"type":"insurance_policy","version":1,"policy":{"owner","carrier","product","policy_number","issue_date":"YYYY-MM-DD","issue_age","first_calendar_year":<the calendar year policy year 1 ends in>,"annual_premium","illustration_dividend_rate":<fraction, 0.061 = 6.1%>,"current_dividend_rate","notes","income":{"start_age","annual_amount","duration_years"}},"rows":[{"policy_year","age","death_benefit","accumulated_value","guaranteed_accumulated_value","annual_dividend","net_cash_flow"}]} is one permanent-life policy and its illustration's yearly values (every year the illustration shows; a policy with the same number in the book gets its illustration replaced unless on_match is "new"). {"type":"tax_year","version":1,"year":<1930 or later>,"source":"w2"|"1040"|"irs_transcript"|"other","w2_count","lines":{"federal","state","local","ss","medicare","additional_medicare","self_employment","niit","state_disability"}} is one tax year: from a filed return the tax owed, from W-2s the withholding until the return is filed (the lines field says where each is read); Apply replaces only the lines sent; 0 is a final $0. Applying a 1040 also marks the year Filed, which locks it and counts it in Lifetime; say so before you stage it. These numbers stay on Income Taxes and post no transactions: paycheck withholding reaches Taxes through earn_grossup. {"type":"earn_grossup","version":1,"source_name","year","document":"pay_stub"|"w2"|"other","months":[{"month":1,"gross","federal_tax","state_tax","other_tax","k401","hsa","health","other","reimbursements"}]} is one Earn source's paycheck figures for one year, from that month's stubs; a W-2 or year-to-date column goes in "total":{"through_month",...the same figures} with "member_chose_spread":true instead of months. Every figure is positive. reimbursements is an allowance or expense reimbursement paid with the check and not part of gross pay (a stub often prints it among the deductions as a negative amount): Ledger takes it out of gross and shows it on its own Earn line, so never send it as a negative deduction and never drop it. At most 5000 rows per batch. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: A dry run: checks a proposed batch and reports what it would do. Writes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
batch object, required · Plaid-shaped batches carry a Plaid connection's own data, in Plaid's field names and Plaid's sign (positive amount = money out). One batch is one Plaid connection (Item) and one product. Each carries "item":{"item_id":"<the Item's item_id, stable across batches>","institution":"<as Plaid names it>","status":"ok" or Plaid's error code (e.g. ITEM_LOGIN_REQUIRED),"history_complete":true|false} and "accounts":[{"account_id","name","official_name","mask","type","subtype","balances":{"current","available","iso_currency_code"}}] for every account its rows belong to (today's balances). One app keeps an account current at a time: an account another app's connection already keeps current is skipped, with that app named in the warnings, unless the batch carries "take_over":true (after the member says so), which sends it to the member to approve the switch. Types: {"type":"plaid_accounts","version":1,item,accounts} creates or refreshes accounts and balances, including accounts with no transactions or holdings (insurance cash value, a $0 401k, an undrawn HELOC). {"type":"plaid_transactions","version":1,item,accounts,"transactions":[{"transaction_id","account_id","date","authorized_date","name","merchant_name","merchant_entity_id","amount","pending","iso_currency_code","personal_finance_category":{"primary","detailed","confidence_level"},"counterparties"}]}: banking activity (rows on an investment account are refused). `date` is the day the transaction posted and `authorized_date` the day it was made, as Plaid defines them; a posted timestamp's day is its day in the bank's time zone. {"type":"plaid_holdings","version":1,item,accounts,"securities":[{"security_id","name","ticker_symbol","type","subtype","cusip","isin","close_price","is_cash_equivalent"}],"holdings":[{"account_id","security_id","quantity","institution_price","institution_value","cost_basis"}]} replaces each listed account's positions; prices are as the institution quotes them (bonds per $100). {"type":"plaid_investments","version":1,item,accounts,securities,"investment_transactions":[{"investment_transaction_id","account_id","security_id","date","name","type","subtype","quantity","price","fees","amount"}]}: trades, dividends and transfers of investment accounts, kept out of Cash Flow as in Ledger's own bank sync. Ledger-shaped batches, for data that isn't Plaid's (e.g. a statement): {"type":"transactions","version":1,"account_id":<id> or "account":{…},"rows":[{"date","amount (LEDGER sign: negative = money out)","description","transaction_id"}]}, {"type":"balances","version":1,"rows":[{"account_id" or "account","month_end":"YYYY-MM-DD","balance"}]}, {"type":"positions","version":1,"account_id" or "account","as_of","rows":[{"symbol","quantity","price","market_value"}]}. Each of these three may carry "schedule": "one_time" (a catch-up; the default), "nightly" or "monthly" (the app keeps sending; Ledger shows the account as kept current by the app and reports when it falls behind). A balances batch is month-end data, so one_time or monthly only. One app keeps an account current at a time: a nightly or monthly batch for an account another app keeps current is refused with that app's name, and "take_over": true (after the member says so) sends it to the member to approve the switch. A v1 batch may also name its account the way Plaid does, "account" in place of "account_id": {"institution":"Navy Federal Credit Union","name":"DD Checking","official_name":"optional","mask":"8803","type":"depository","subtype":"checking","current_balance":1234.56,"available_balance":1200.00,"balance_as_of":"YYYY-MM-DD"} (type is Plaid's: depository, credit, loan, investment or other; for cards and loans current_balance is the amount owed, positive). Ledger recognizes it by institution + mask, and Apply creates it if the book doesn't have it, as linking the bank would. Account-free types, read from a document the member gives you: {"type":"insurance_policy","version":1,"policy":{"owner","carrier","product","policy_number","issue_date":"YYYY-MM-DD","issue_age","first_calendar_year":<the calendar year policy year 1 ends in>,"annual_premium","illustration_dividend_rate":<fraction, 0.061 = 6.1%>,"current_dividend_rate","notes","income":{"start_age","annual_amount","duration_years"}},"rows":[{"policy_year","age","death_benefit","accumulated_value","guaranteed_accumulated_value","annual_dividend","net_cash_flow"}]} is one permanent-life policy and its illustration's yearly values (every year the illustration shows; a policy with the same number in the book gets its illustration replaced unless on_match is "new"). {"type":"tax_year","version":1,"year":<1930 or later>,"source":"w2"|"1040"|"irs_transcript"|"other","w2_count","lines":{"federal","state","local","ss","medicare","additional_medicare","self_employment","niit","state_disability"}} is one tax year: from a filed return the tax owed, from W-2s the withholding until the return is filed (the lines field says where each is read); Apply replaces only the lines sent; 0 is a final $0. Applying a 1040 also marks the year Filed, which locks it and counts it in Lifetime; say so before you stage it. These numbers stay on Income Taxes and post no transactions: paycheck withholding reaches Taxes through earn_grossup. {"type":"earn_grossup","version":1,"source_name","year","document":"pay_stub"|"w2"|"other","months":[{"month":1,"gross","federal_tax","state_tax","other_tax","k401","hsa","health","other","reimbursements"}]} is one Earn source's paycheck figures for one year, from that month's stubs; a W-2 or year-to-date column goes in "total":{"through_month",...the same figures} with "member_chose_spread":true instead of months. Every figure is positive. reimbursements is an allowance or expense reimbursement paid with the check and not part of gross pay (a stub often prints it among the deductions as a negative amount): Ledger takes it out of gross and shows it on its own Earn line, so never send it as a negative deduction and never drop it. At most 5000 rows per batch.
match_accountsMatch account names to your ledgerRead
Give the account names exactly as an export or statement shows them (e.g. 'Living Trust - Ending in 026'), with the firm if known. Ledger runs its own matcher (last 4 digits, firm, name) and returns, per name, the suggested account id and why — or no confident match. A suggestion is a guess for the member to confirm. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
sources array of object, required · The account names to match, as the export shows them.
net_worthNet worthRead
The household's net worth now: total, assets, liabilities, and the change over one month, one year and year to date (from the prior December 31 close), exactly as the Home screen shows it — anchored on today or on the last month-end close, whichever Home uses for this member. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
No inputs.
positionsInvestment positionsRead
Holdings in investment accounts: each position's quantity, price, market value, cost basis and gain, grouped by account, with each account's totals and the grand total already added up. Covers accounts with imported positions or a bank connection; holdings entered by hand, crypto entered by hand and private investments are not listed here yet (household_context areas says so). Each account is listed once. When an account with imported positions also has a bank connection, the connection's holdings ride inside that account as bank_connection_copy: the imported positions are the copy of record (fuller detail) and the only copy in any total; the bank-connection copy is usually newer and shows changes since the last import (assignments, trades). Compare the two; never add them. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
No inputs.
private_holdingsPrivate investmentsRead
Every private investment on Investing → Private Markets, grouped by the entity that owns it (an LLC, a trust, or held personally): each holding's name, platform or sponsor, category, current value and where that value comes from, what went in, what has come back, gain, and the dates of its first and latest contribution and latest distribution, plus each entity's totals (already added up) and the account its holdings feed in net worth. Closed (archived) holdings are listed only when include_closed is true. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
include_closed boolean, optional · Also list closed (archived) holdings. Default false.
prompt_libraryLedger of Life prompt libraryRead
Lists Ledger of Life's ready-made requests (titles and one-line summaries), optionally by job, or returns one request's text by id so the member can read it and send it if they want. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
id string, optional · A prompt id from the list, to get its full text.job "review" | "understand" | "plan" | "tidy" | "import" | "feedback" | "learn", optional · List only prompts for this job.
propertiesReal estateRead
Real-estate accounts that are open, each with its current value and when it was last updated, plus the total. Location, estimates, debt and equity are not included yet. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
No inputs.
provenanceWhere an account's numbers come fromRead
For one account: how its balance is kept (bank connection, imported holdings, entered values or a carried-forward balance), its latest month-end, its last real value, and when its holdings are from. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
account_id integer, required
report_unreadableTell Ledger an area couldn't be readRead
Records that the member asked about a Money area no Ledger tool can read yet, so Ledger knows which areas to open next. Carries only the area's id from household_context's areas list: no words from the conversation, no amounts. It never changes their book. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing in the member's book. Records which area the AI couldn't read, for Ledger's team. · Needs: ledger:read · Hints: readOnly true, destructive false
area "accounts" | "opening_balances" | "balance_history" | "transactions" | "transfers" | "categories" | "rules" | "journal" | "budget" | "forecast" | "spending_overview" | "recurring" | "earn" | "projected_income" | "income_taxes" | "manual_holdings" | "investment_activity" | "investment_policy" | "investing_overview" | "entities" | "liquidity" | "real_estate" | "secured_debt" | "insurance" | "freedom" | "after_tax" | "household_settings" | "bank_connections", required · The area's id from household_context areas.
staged_batches_statusStatus of proposed importsRead
The batches THIS app has proposed to this household, newest first, with each one's status (pending, applying, applied, discarded, undone). Pass batch_id for one batch. last_error says why the most recent apply failed: the batch went back to pending, or, when its status is applied, it applied only in part and the member must Undo it before you send it again. A batch the member undid reads undone with when. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
batch_id string, optional · Optional. One batch's id, as import_stage returned it.
transactionsTransactionsRead
Transactions, newest first, filtered by date range, account, category or search text, with the count and the money in / money out of everything that matched (not just the page). category matches the category the member sees (their rules and edits applied); a P&L category takes in everything under it. uncategorized: true returns exactly the rows the app counts as not categorized yet. Amounts: positive = money in, negative = money out. A spread charge lists its original and each of its slices, as the screen does, so money_in and money_out match the screen and count a spread twice; net_money_in and net_money_out count each spread once. Each spread row says which it is in spread. Up to 200 rows per call; use page for more. Read-only. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Full Ledger · Hints: readOnly true, destructive false
date_from string, optionaldate_to string, optionalaccount_id integer, optionalcategory string, optionaluncategorized boolean, optionalsearch string, optionalpage integer, optionalpage_size integer, optional
transactions_checkCheck transaction history month by monthRead
Compares one Plaid connection's (Item's) own per-account, per-calendar-month tally of its posted transactions (count and total by posted date, Plaid's sign: positive = money out) with what Ledger holds from that connection, and returns months_to_resend: the months that differ. Later plaid_transactions windows from this connection are held to this tally. Read-only: nothing in the book changes. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Changes nothing. · Needs: ledger:read · Hints: readOnly true, destructive false
item_id string, required · The Item's item_id, the same one its batches carry.accounts array of object, required
import_stagePropose an import for reviewWrite
Send a checked batch to Ledger of Life. A routine update (a Plaid-shaped batch that adds no accounts and holds back no removals, or a recent transactions, balances or positions batch on a nightly or monthly schedule the member already approved for that account) applies at once, and the member can undo it from the review link; any other batch waits on the member's Pending screen until they tap Apply or Discard. Returns the batch id, its status and a review link for the member. Refused if the batch has errors or the household already has 20 batches waiting. Needs the ledger:propose permission. Plaid-shaped batches carry a Plaid connection's own data, in Plaid's field names and Plaid's sign (positive amount = money out). One batch is one Plaid connection (Item) and one product. Each carries "item":{"item_id":"<the Item's item_id, stable across batches>","institution":"<as Plaid names it>","status":"ok" or Plaid's error code (e.g. ITEM_LOGIN_REQUIRED),"history_complete":true|false} and "accounts":[{"account_id","name","official_name","mask","type","subtype","balances":{"current","available","iso_currency_code"}}] for every account its rows belong to (today's balances). One app keeps an account current at a time: an account another app's connection already keeps current is skipped, with that app named in the warnings, unless the batch carries "take_over":true (after the member says so), which sends it to the member to approve the switch. Types: {"type":"plaid_accounts","version":1,item,accounts} creates or refreshes accounts and balances, including accounts with no transactions or holdings (insurance cash value, a $0 401k, an undrawn HELOC). {"type":"plaid_transactions","version":1,item,accounts,"transactions":[{"transaction_id","account_id","date","authorized_date","name","merchant_name","merchant_entity_id","amount","pending","iso_currency_code","personal_finance_category":{"primary","detailed","confidence_level"},"counterparties"}]}: banking activity (rows on an investment account are refused). `date` is the day the transaction posted and `authorized_date` the day it was made, as Plaid defines them; a posted timestamp's day is its day in the bank's time zone. {"type":"plaid_holdings","version":1,item,accounts,"securities":[{"security_id","name","ticker_symbol","type","subtype","cusip","isin","close_price","is_cash_equivalent"}],"holdings":[{"account_id","security_id","quantity","institution_price","institution_value","cost_basis"}]} replaces each listed account's positions; prices are as the institution quotes them (bonds per $100). {"type":"plaid_investments","version":1,item,accounts,securities,"investment_transactions":[{"investment_transaction_id","account_id","security_id","date","name","type","subtype","quantity","price","fees","amount"}]}: trades, dividends and transfers of investment accounts, kept out of Cash Flow as in Ledger's own bank sync. Ledger-shaped batches, for data that isn't Plaid's (e.g. a statement): {"type":"transactions","version":1,"account_id":<id> or "account":{…},"rows":[{"date","amount (LEDGER sign: negative = money out)","description","transaction_id"}]}, {"type":"balances","version":1,"rows":[{"account_id" or "account","month_end":"YYYY-MM-DD","balance"}]}, {"type":"positions","version":1,"account_id" or "account","as_of","rows":[{"symbol","quantity","price","market_value"}]}. Each of these three may carry "schedule": "one_time" (a catch-up; the default), "nightly" or "monthly" (the app keeps sending; Ledger shows the account as kept current by the app and reports when it falls behind). A balances batch is month-end data, so one_time or monthly only. One app keeps an account current at a time: a nightly or monthly batch for an account another app keeps current is refused with that app's name, and "take_over": true (after the member says so) sends it to the member to approve the switch. A v1 batch may also name its account the way Plaid does, "account" in place of "account_id": {"institution":"Navy Federal Credit Union","name":"DD Checking","official_name":"optional","mask":"8803","type":"depository","subtype":"checking","current_balance":1234.56,"available_balance":1200.00,"balance_as_of":"YYYY-MM-DD"} (type is Plaid's: depository, credit, loan, investment or other; for cards and loans current_balance is the amount owed, positive). Ledger recognizes it by institution + mask, and Apply creates it if the book doesn't have it, as linking the bank would. Account-free types, read from a document the member gives you: {"type":"insurance_policy","version":1,"policy":{"owner","carrier","product","policy_number","issue_date":"YYYY-MM-DD","issue_age","first_calendar_year":<the calendar year policy year 1 ends in>,"annual_premium","illustration_dividend_rate":<fraction, 0.061 = 6.1%>,"current_dividend_rate","notes","income":{"start_age","annual_amount","duration_years"}},"rows":[{"policy_year","age","death_benefit","accumulated_value","guaranteed_accumulated_value","annual_dividend","net_cash_flow"}]} is one permanent-life policy and its illustration's yearly values (every year the illustration shows; a policy with the same number in the book gets its illustration replaced unless on_match is "new"). {"type":"tax_year","version":1,"year":<1930 or later>,"source":"w2"|"1040"|"irs_transcript"|"other","w2_count","lines":{"federal","state","local","ss","medicare","additional_medicare","self_employment","niit","state_disability"}} is one tax year: from a filed return the tax owed, from W-2s the withholding until the return is filed (the lines field says where each is read); Apply replaces only the lines sent; 0 is a final $0. Applying a 1040 also marks the year Filed, which locks it and counts it in Lifetime; say so before you stage it. These numbers stay on Income Taxes and post no transactions: paycheck withholding reaches Taxes through earn_grossup. {"type":"earn_grossup","version":1,"source_name","year","document":"pay_stub"|"w2"|"other","months":[{"month":1,"gross","federal_tax","state_tax","other_tax","k401","hsa","health","other","reimbursements"}]} is one Earn source's paycheck figures for one year, from that month's stubs; a W-2 or year-to-date column goes in "total":{"through_month",...the same figures} with "member_chose_spread":true instead of months. Every figure is positive. reimbursements is an allowance or expense reimbursement paid with the check and not part of gross pay (a stub often prints it among the deductions as a negative amount): Ledger takes it out of gross and shows it on its own Earn line, so never send it as a negative deduction and never drop it. At most 5000 rows per batch. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Proposes a batch. It waits on the member's From your AI screen until they review it and tap Apply; nothing in the book changes before that. One exception, which the member agreed to on the connect screen: a routine bank update for accounts the AI already keeps (no new accounts, nothing removed) applies on its own and can be undone in one tap. Sending the same idempotency_key again returns the first batch instead of a copy. · Needs: ledger:read + ledger:propose · Hints: readOnly false, destructive false, idempotent false
batch object, required · Plaid-shaped batches carry a Plaid connection's own data, in Plaid's field names and Plaid's sign (positive amount = money out). One batch is one Plaid connection (Item) and one product. Each carries "item":{"item_id":"<the Item's item_id, stable across batches>","institution":"<as Plaid names it>","status":"ok" or Plaid's error code (e.g. ITEM_LOGIN_REQUIRED),"history_complete":true|false} and "accounts":[{"account_id","name","official_name","mask","type","subtype","balances":{"current","available","iso_currency_code"}}] for every account its rows belong to (today's balances). One app keeps an account current at a time: an account another app's connection already keeps current is skipped, with that app named in the warnings, unless the batch carries "take_over":true (after the member says so), which sends it to the member to approve the switch. Types: {"type":"plaid_accounts","version":1,item,accounts} creates or refreshes accounts and balances, including accounts with no transactions or holdings (insurance cash value, a $0 401k, an undrawn HELOC). {"type":"plaid_transactions","version":1,item,accounts,"transactions":[{"transaction_id","account_id","date","authorized_date","name","merchant_name","merchant_entity_id","amount","pending","iso_currency_code","personal_finance_category":{"primary","detailed","confidence_level"},"counterparties"}]}: banking activity (rows on an investment account are refused). `date` is the day the transaction posted and `authorized_date` the day it was made, as Plaid defines them; a posted timestamp's day is its day in the bank's time zone. {"type":"plaid_holdings","version":1,item,accounts,"securities":[{"security_id","name","ticker_symbol","type","subtype","cusip","isin","close_price","is_cash_equivalent"}],"holdings":[{"account_id","security_id","quantity","institution_price","institution_value","cost_basis"}]} replaces each listed account's positions; prices are as the institution quotes them (bonds per $100). {"type":"plaid_investments","version":1,item,accounts,securities,"investment_transactions":[{"investment_transaction_id","account_id","security_id","date","name","type","subtype","quantity","price","fees","amount"}]}: trades, dividends and transfers of investment accounts, kept out of Cash Flow as in Ledger's own bank sync. Ledger-shaped batches, for data that isn't Plaid's (e.g. a statement): {"type":"transactions","version":1,"account_id":<id> or "account":{…},"rows":[{"date","amount (LEDGER sign: negative = money out)","description","transaction_id"}]}, {"type":"balances","version":1,"rows":[{"account_id" or "account","month_end":"YYYY-MM-DD","balance"}]}, {"type":"positions","version":1,"account_id" or "account","as_of","rows":[{"symbol","quantity","price","market_value"}]}. Each of these three may carry "schedule": "one_time" (a catch-up; the default), "nightly" or "monthly" (the app keeps sending; Ledger shows the account as kept current by the app and reports when it falls behind). A balances batch is month-end data, so one_time or monthly only. One app keeps an account current at a time: a nightly or monthly batch for an account another app keeps current is refused with that app's name, and "take_over": true (after the member says so) sends it to the member to approve the switch. A v1 batch may also name its account the way Plaid does, "account" in place of "account_id": {"institution":"Navy Federal Credit Union","name":"DD Checking","official_name":"optional","mask":"8803","type":"depository","subtype":"checking","current_balance":1234.56,"available_balance":1200.00,"balance_as_of":"YYYY-MM-DD"} (type is Plaid's: depository, credit, loan, investment or other; for cards and loans current_balance is the amount owed, positive). Ledger recognizes it by institution + mask, and Apply creates it if the book doesn't have it, as linking the bank would. Account-free types, read from a document the member gives you: {"type":"insurance_policy","version":1,"policy":{"owner","carrier","product","policy_number","issue_date":"YYYY-MM-DD","issue_age","first_calendar_year":<the calendar year policy year 1 ends in>,"annual_premium","illustration_dividend_rate":<fraction, 0.061 = 6.1%>,"current_dividend_rate","notes","income":{"start_age","annual_amount","duration_years"}},"rows":[{"policy_year","age","death_benefit","accumulated_value","guaranteed_accumulated_value","annual_dividend","net_cash_flow"}]} is one permanent-life policy and its illustration's yearly values (every year the illustration shows; a policy with the same number in the book gets its illustration replaced unless on_match is "new"). {"type":"tax_year","version":1,"year":<1930 or later>,"source":"w2"|"1040"|"irs_transcript"|"other","w2_count","lines":{"federal","state","local","ss","medicare","additional_medicare","self_employment","niit","state_disability"}} is one tax year: from a filed return the tax owed, from W-2s the withholding until the return is filed (the lines field says where each is read); Apply replaces only the lines sent; 0 is a final $0. Applying a 1040 also marks the year Filed, which locks it and counts it in Lifetime; say so before you stage it. These numbers stay on Income Taxes and post no transactions: paycheck withholding reaches Taxes through earn_grossup. {"type":"earn_grossup","version":1,"source_name","year","document":"pay_stub"|"w2"|"other","months":[{"month":1,"gross","federal_tax","state_tax","other_tax","k401","hsa","health","other","reimbursements"}]} is one Earn source's paycheck figures for one year, from that month's stubs; a W-2 or year-to-date column goes in "total":{"through_month",...the same figures} with "member_chose_spread":true instead of months. Every figure is positive. reimbursements is an allowance or expense reimbursement paid with the check and not part of gross pay (a stub often prints it among the deductions as a negative amount): Ledger takes it out of gross and shows it on its own Earn line, so never send it as a negative deduction and never drop it. At most 5000 rows per batch.idempotency_key string, optional · Optional. Your own id for this proposal (8-128 letters, digits, . _ : -). Send the same key when you retry after a timeout and Ledger returns the first batch instead of staging a copy. Use a new key to propose again after the member discarded or undid one.
save_appSave an app to the member's LedgerWrite
Saves a link to an app the member built with their AI (a published Claude artifact, a ChatGPT canvas, a Gemini or Muse share) to the Your apps list in Ledger of Life, where it opens in its own tab or beside Ledger. Saving a link that is already there updates its name, summary and tile, so an app being revised stays one entry. Ledger keeps the link, a short name, one line about it and a small tile: an icon and color from fixed lists, or a PNG, JPEG or WebP image that Ledger re-encodes. It never copies, opens or reads the app. Accepts https links on claude.ai, claude.site, chatgpt.com, gemini.google.com, g.co, muse.ai, meta.ai and grok.com. Past 25 new apps in a day, a new one waits on the member's From your AI screen for them to save. The member gets a notice and can remove any app. Needs the ledger:propose permission. It never changes their book's figures. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Adds a link to an app the member built with their AI to their Your apps list, or updates that entry. Never changes a figure in the book. The member can remove it any time. · Needs: ledger:read + ledger:propose · Hints: readOnly false, destructive false, idempotent true
url string, required · The app's own published or shared link, https.name string, required · A short name the member will recognize, e.g. Allocation model.summary string, optional · One line on what the app shows, without amounts.icon "chart" | "pie" | "table" | "calculator" | "target" | "wallet" | "home" | "landmark" | "piggy" | "trend" | "calendar" | "sparkles", optional · The tile's icon when there is no image.color "money" | "blue" | "green" | "red" | "amber" | "violet", optional · The tile's color, from Ledger's palette.thumbnail string, optional · Optional small picture of the app: base64 PNG, JPEG or WebP (a data: URL is fine), up to 300 KB. Never SVG.idempotency_key string, optional · Optional. Your own id for this save; it matters only when the app waits on From your AI.
send_feedbackSend feedback to LedgerWrite
Send a problem report or suggestion to the Ledger of Life team on the member's behalf, e.g. a number that looks wrong, a tool that failed, or something they wish Ledger could do. The report carries what they asked, which Ledger tools were called and what came back, and what they expected. It never changes their book. Ledger of Life is a record of the member's own numbers, not a financial adviser.
Effect: Sends a problem report or suggestion to Ledger's team, in the member's name. Never changes the book. Ten a day per member. · Needs: ledger:read · Hints: readOnly false, destructive false, idempotent false
type "bug" | "enhancement" | "other", required · bug = something is wrong; enhancement = a wish.title string, required · One line, in plain words.what_happened string, required · What the member asked and what Ledger's tools returned.expected string, optional · What the member expected instead.tools_involved array of string, optional · The Ledger tools called, by name.