entity required · "category" | "category_group" | "party" | "tag" | "account" | "recurring_series" | "rule" | "feedback" | "bank_connection" | "plan" | "adjustment" | "import" | "transfer_link" | "document" | "position" | "position_event" | "investment_tax_record" | "person"- Entity type
action required · "aliases" | "remove_alias" | "add_rule" | "remove_rule" | "list" | "create" | "update" | "rename" | "merge" | "merge_cluster" | "delete" | "undo" | "preview" | "hide" | "unhide" | "sync" | "disconnect" | "add_tag" | "remove_tag" | "set_note" | "remove_note" | "propose" | "upsert" | "get" | "import" | "request_upload" | "confirm" | "reject" | "link" | "unlink" | "export" | "read_text" | "substantiate" | "reconstruct" | "tie_out" | "reconcile" | "verify" | "split_opening_balance" | "review_mark"- Action to perform. "reconcile" and "verify" are RETIRED document spellings — call "substantiate" and "tie_out" instead; the old names remain only to return that redirect.
frequency "weekly" | "biweekly" | "semimonthly" | "monthly" | "quarterly" | "semiannual" | "annual"- Recurring series create: REQUIRED cadence, even for one selected charge. Detection preserves this declared cadence.
transaction_ids string (uuid)[]- Recurring series create: 1–200 selected posted, nonignored transactions in one direction/currency, not already assigned. Name and frequency required. Use annotate set_recurring with recurring_series_id to assign to an existing series.
active boolean- For action=update on rules: true reactivates, false deactivates. On recurring_series: false marks a real bill ended (history stays linked), true explicitly affirms the series as recurring until the user ends or rejects it.
expected_amount number, 0–999999999999.99- Recurring series update: known next charge amount in the household's currency, including zero. Applies once, then clears when paid or seven days after next_date.
next_date string (date)- Recurring series update: known next charge date YYYY-MM-DD, today or later and before the following automatic occurrence. Omit to use the next inferred date.
clear_expectation boolean- Recurring series update: clear the saved next-charge amount and date, restoring the latest estimates. Cannot combine with expected_amount or next_date.
id string- Entity ID. A UUID for party/account/rule/recurring_series; the global SLUG for category (e.g. "food/coffee") and category_group (e.g. "food") — list them via admin { entity: 'category', action: 'list' }.
ids string (uuid)[]- Position_event review_mark: mark event IDs to review in batch (1–100). Mutually exclusive with id.
reviewed_date string (date)- Position_event review_mark: date the mark was reviewed (YYYY-MM-DD). Defaults to today in user timezone.
review_note string- Position_event review_mark: note explaining why the mark still holds (can also pass as 'note'). Appended to existing review note if present.
name string- Entity name (for lookup or create). entity=feedback: this is the REQUIRED title, max 200 characters — a feedback create without it is refused.
new_name string- Rename party/tag/recurring_series: new name (not name). Account rename also accepts display_name. Supply id from a list result.
display_name string- Display name (for account rename)
alias_kind "name" | "entity"- Party remove_alias: name or entity, exactly as aliases returns it.
alias_key string- Party remove_alias: exact key from aliases. Revokes this saved key durably; does not undo previous merges.
party_type "subscription" | "biller" | "bnpl" | "other"- Party type
person string- Person entity: a person's name, id, or "me"
person_kind "adult" | "dependent" | "business"- Person create/update: adult (default), dependent, or business
include_archived boolean- Person list: include archived people
merge_into_id string (uuid)- Party merge target: the existing party id to KEEP. id is the party being merged away; merge_cluster uses member_ids instead. List/search parties first; never invent IDs.
member_ids string (uuid)[]- Party IDs to merge into merge_into_id (entity=party, action=merge_cluster) — batch form of merge, for a diagnostic-clusterer cluster confirmed as one merchant.
period "this_month" | "last_month" | "this_year" | "all", default "this_month"- Period for category/party list usage n (default this_month). Party eff/auto and tag n/provenance remain lifetime counts.
search string- Substring match. Parties and rules: by name. Documents: across the metadata a filer typed (title, issuer, filename, note, provenance) AND each document's own text, so a portfolio company named on page 10 of a fund report is found. A body hit carries text_match: {page_n, pages, lines} — how many pages contain the term, the first few of them and a line of context; read_text with find reads the rest. Composes with doc_type, issuer, tax_year, start/end and account; superseded editions are skipped unless include_superseded. The response counts what body search may miss: text_queued (awaiting indexing; old pages may remain searchable during reindexing) and text_unsearchable (scans, photos — no text layer). Narrow with search_scope.
search_scope "metadata" | "text" | "all"- Document list/export: where
search looks — "metadata" (what the filer typed), "text" (the documents' own text only), or "all" (default). audit boolean- Rule list: return a duplicate/overlap/shadowed audit instead of the rule list.
include_matches boolean- Rule list: also return matches (how many transactions each listed rule's conditions match now — the same number rule preview's total gives) and last_match (the newest one's date). Counted fresh over every transaction, so pair it with search or a small limit.
limit integer, 1–500, default 50- Max results for list and document export (default 50, max 500). Paged (limit + cursor/has_more): party, rule, tag, recurring_series, position, position_event, adjustment, document. Capped by limit, no cursor: transfer_link, import, investment_tax_record. Always the full set: category, category_group, account, plan, bank_connection, person
cursor string- Pagination cursor from a prior page of the same list or document export, with the same filters (paged responses return it with has_more:true)
include_hidden boolean- Include hidden accounts in account lists and their transactions in category/party usage n (excluded by default). Party membership and lifetime eff/auto are unchanged.
include_empty boolean- Party list: also include parties that aren't the effective (displayed) party of any transaction — orphans and rule-overridden auto parties — for finding a rename-collision target or auditing fragmentation. Requires
search to stay bounded. tag string- Tag value for add_tag/remove_tag. Lowercased and hyphen-joined; reuses canon tags when possible (essential, discretionary on categories; operating, bills, emergency-fund, savings-goal, brokerage, retirement on accounts).
note string- Note text for set_note. Single note per entity; set_note replaces any existing note. Trimmed; empty/whitespace rejected.
description_pattern string- Rule condition: substring (or regex) matched against the cleaned description, then the raw bank memo as a fallback — raw-anchored, so it survives Plaid merchant/party churn. Preferred over party_pattern for consolidation/renaming.
is_regex boolean- Rule: treat description_pattern as regex
party_pattern string- Rule condition: case-insensitive substring vs the DERIVED party name. Fragile: Plaid can rename an entity-backed merchant on resync, silently breaking the rule (#1211). For consolidation/renaming prefer description_pattern (raw-anchored).
direction "inflow" | "outflow"- Rule condition: transaction direction
amount_min number- Rule condition: minimum absolute amount (household's currency), >= 0 and <= amount_max. Partial updates are checked against the stored opposite bound.
amount_max number- Rule condition: maximum absolute amount (household's currency), >= 0 and >= amount_min. Partial updates are checked against the stored opposite bound.
account_id string (uuid)- Rule condition: specific account
set_category_name string- Rule action: set category by exact name (not group name). List categories first via admin { entity: 'category', action: 'list' }.
set_category_id string- Rule action: set category by global slug (e.g. "food/coffee").
set_party_name string- Rule action: set party by name
set_party_id string (uuid)- Rule action: set party by ID
set_is_transfer boolean- Rule action: mark/unmark as transfer (true sets, false clears; when applied, overrides automatic transfer classification on future syncs).
set_is_ignored boolean- Rule action: mark as ignored
set_is_flagged boolean- Rule action: mark as flagged
set_tag_name string- Rule action: set tag by name
remove_tag_name string- Rule action: remove tag by name from matches (system/auto+rule tags only; not a user's manual tag). Mutually exclusive with set_tag_name.
set_metadata_key string- Rule action: metadata key to set on matches (advanced; set_tag_name covers the common case). Requires set_metadata_value.
set_metadata_value string- Rule action: metadata value to set on matches. Requires set_metadata_key.
preview boolean- Rule create/update: return matches and a token without writing; token required to apply. recurring_series create: preview the declaration and estimates without writing; omit preview to apply (no token). Other writes given preview:true are refused.
token string- Preview token from a prior preview (action:'preview' or preview:true). REQUIRED to apply a rule create OR update — a write without it is rejected, not silently previewed. The token binds the exact conditions AND actions previewed; changing either invalidates it.
confirm_broad boolean- Required to create/update a rule with NO description_pattern/party_pattern (it would match broadly by direction/amount/account alone, on every future sync).
confirm_duplicate boolean- Rule: create/update a rule even though one with identical conditions already exists.
preview_limit integer, 1–200, default 25- Rule action=preview ONLY: max results per page (default 25, max 200). Not used by create/update with preview:true; omit it there.
preview_cursor string- Rule action=preview ONLY: pagination cursor. Not used by create/update with preview:true.
year integer, 2000–2100- Plan year (entity=plan). Defaults to the current year for get/delete.
document object- Plan document for upsert (entity=plan). Amounts in the household's currency; category/group/party/account referenced by id; tags by name.
document.year required · integer, 2000–2100document.income object[]document.events object[]document.base required · objectdocument.guardrails object[]document.floors any[]- Deprecated; accepted and ignored. Removed in favor of forecast lowest_bal.
document.exclusions object[]reason string- Why the plan is changing — REQUIRED when upserting over an existing plan (creates a dated revision).
revision integer, 1–9007199254740991 | "original" | "diff"- For plan get: a revision number, 'original' (revision 1, the plan as written), or 'diff' (original vs latest + reason trail). Default: latest.
adjustment object- Adjustment payload for create/update (entity=adjustment). Amounts in the household's currency; category/group/funding account referenced by id; periods YYYY|YYYY-MM|YYYY-MM-DD.
adjustment.type "accrual" | "imputation" | "reclass"- accrual = period-shift (move flow from source_period to target_period); imputation = book an off-feed expense funded by an investment withdrawal; reclass = exclude/remove a flow from the series ('exclude' accepted as an alias).
adjustment.status "applied" | "pending" | "retired"- applied (default) folds into adjusted reports; pending/retired do not.
adjustment.direction "inflow" | "outflow"- Direction of the underlying flow being adjusted (inflow = income/credit, outflow = expense/debit).
adjustment.amount number- Amount in the household's currency (> 0).
adjustment.category_id string- Category this adjustment targets, by id. Determines its income/expense/transfer/investment/financing kind AND scopes reclass/imputation in the category breakdown (top_cats, grouped by:category). Or pass category_name.
adjustment.category_name string- Category this adjustment targets, by exact name (resolved to an id). Alias: category.
adjustment.group_id string- Category group this adjustment targets, by id (used when no category).
adjustment.group_name string- Category group this adjustment targets, by name (resolved to an id). Alias: group.
adjustment.source_period string- Period the flow is moving OUT of (accrual only). YYYY | YYYY-MM | YYYY-MM-DD.
adjustment.target_period string- Period the flow lands in. Required for every type.
adjustment.funding_account_id string (uuid)- Optional: the off-feed account an imputed expense was paid from. Validated if provided, but not required — the offsetting investment-withdrawal leg is booked regardless.
adjustment.note string- Why this adjustment exists — a free-text label (aliases: memo, rationale).
adjustment.tags string[]- Household transaction tags (for example a trip slug). Replaces the full set; omit to preserve, [] to remove all. Normalized like transaction tags. Applies to both the expense and funding legs; expense reports show the expense only.
adjustment.reversible boolean- Whether the entry can be reversed (default true).
status "applied" | "pending" | "retired" | "settled" | "superseded"- Filter adjustment list (applied, pending, retired) or position_event list (pending, settled, superseded) by status.
position object- Position payload for create/update (entity=position): { name, issuer, holder, vehicle?, instrument?, segment?, ticker?, k1?, currency?, status?, funding_account_id?, strike?, expiry?, terms?, note?, holder_kind?, issuer_kind?, beneficial_owner? }. Issuer, holder and vehicle are matched exactly by name within the household or created; strike/expiry are option and warrant terms; segment says which book it belongs to; terms are the typed terms with their provenance, upserted by term (remove_terms deletes one).
position.name string- What this holding is called ("Series Seed SAFE", "Fund III LP interest").
position.issuer string- The company or fund, by name. Matched EXACTLY within the household (case and punctuation folded) or created — never resolved to a party.
position.issuer_kind "company" | "fund" | "other"position.issuer_channel object- How the issuer's documents arrive — { platform?, senders? }. Set on the issuer's registry row, so every position under it shares it.
position.holder string- Who legally holds it — a person, trust, LLC, IRA or nominee, by name. A registry row, so four positions under the wrong holder is a rename, not four edits.
position.holder_kind "person" | "joint" | "trust" | "llc" | "ira" | "nominee" | "other"- joint = more than one person (JTWROS); nominee = holds for a beneficial_owner.
position.beneficial_owner string | null- For a nominee holder: who it holds for, by holder name.
position.vehicle string | null- The legal wrapper the interest is held through, by name — an AngelList syndicate SPV, a series of an LP ("PR Fund I, a series of Coelius Capital, LP"), a fund. What the K-1 and statements come from, as distinct from the company (issuer). Matched EXACTLY within the household or created, like issuer and holder; omit for a direct deal or an employment grant. null clears.
position.vehicle_channel object- How the vehicle's documents arrive — { platform?, senders? } — when they come from its administrator rather than the issuer. Needs a vehicle on the position.
position.instrument "safe" | "convertible_note" | "common_stock" | "preferred_equity" | "private_equity_fund" | "hedge_fund" | "fund_of_funds" | "limited_partnership_unit" | "warrant" | "option" | "advisor_equity" | "other"- Plaid Security.subtype names where one exists; default other.
position.strike number | null- option / warrant / advisor_equity only: the per-share exercise price in the position's currency, kept exactly as typed (sub-cent strikes are fine). Exercise cost = vested shares × strike.
position.expiry string (date) | null- option / warrant / advisor_equity only: YYYY-MM-DD the terms are forfeited — the grant's term, a post-termination exercise window, or a warrant's acceptance deadline.
position.currency string- Per position; event amounts are in this currency. Totals never cross currencies.
position.status "open" | "resolved"- resolved = exited, written off or otherwise closed; it stays in the book.
position.segment "employment" | "direct" | "fund" | "syndicate" | "other" | null- Which BOOK this belongs to — employment (a grant from an employer or an advisory role), direct (an angel cheque straight into the company), fund, syndicate (an SPV), other. Declared, never inferred, and left unset rather than defaulted: it is what makes "my startup equity" one query instead of four by instrument. null clears.
position.ticker string | null- For a holding in a LISTED issuer: the public symbol. It carries no price — marks are still recorded events and nothing here fetches a quote; this is so whoever fetches one knows what to ask for. null clears.
position.k1 "expected" | "none" | null- Does this interest send the household a K-1? Leave unset and query { tax_documents } infers it (its k1 block says why each position is or is not expected). Declare "none" for one it wrongly expects (an LLC taxed as a corporation, a foreign fund) or "expected" for one it wrongly rules out; the declaration wins both ways. null clears it back to inferred.
position.remove_terms "grant_quantity" | "strike" | "vesting" | "expiry" | "post_termination_window" | "early_exercise" | "acceptance_deadline" | "commitment" | "nav"[]- Update only: terms to DELETE — for one recorded by mistake. A term you looked for and could not find is not a removal: record it as { term, basis: "missing" } so the book keeps that fact. A term cannot be written and removed in the same call.
position.terms object[]- The instrument's typed terms WITH their provenance — [{ term, value, basis, document_id?, page?, note? }]. UPSERT by term: one row per term, so re-reading a document replaces that term rather than appending. Record a term you could not find as { term, basis: "missing" } — that is the fact worth keeping.
position.expected_documents object[]- Documents this position is declared to send — [{ kind, every, due_days, label? }]. UPSERT by (kind, every): declaring one again replaces it. query { vested_interest, include: ["documents"] } sets each beside what was filed: received, due or overdue.
position.remove_expected_documents object[]- Update only: expected documents to DELETE, by { kind, every } — one the position no longer sends.
position.funding_account_id string (uuid) | null- The account this position's capital calls are paid from (one of the household's accounts). Lets an open call notice project against that account in the forecast; leave unset when calls go out from an account the ledger cannot see.
position.intake "agent" | "user"- Who is declaring this: an agent (default) or the person directly.
position.note string | nullevent object- Event payload for create/update (entity=position_event): { position_id, kind, amount, effective_date, date_precision?, status?, settled_date?, quantity?, entry_valuation?, entry_valuation_basis?, transaction_id?, document_id?, supersedes_id?, mark_source?, mark_basis?, mark_confidence?, verbatim?, note? }. In the position's currency; kind carries the sign; entry_valuation is the post-money a contribution or conversion came in at.
event.position_id string (uuid)- The position this event belongs to.
event.kind "commitment" | "contribution" | "distribution" | "return_of_capital" | "fee" | "conversion" | "write_off" | "vest" | "exercise" | "mark"- commitment (what you owe on demand) · contribution (a capital call — pending = the notice, settled = the wire) · distribution · return_of_capital (reduces basis) · fee (an out-of-pocket wire NOT already inside a contribution — paid-in, but it never draws the commitment down, so a fee charged AGAINST the commitment is recorded as part of that call's contribution) · conversion (with instrument_from / instrument_to and the shares received as quantity; the position's own instrument is not changed by it — update the position too, and the write warns when it still reads the old form) · write_off · vest (a tranche, with quantity — one dated in the FUTURE is the schedule: the register derives vested / unvested / next_vest / exercise_cost from them and the strike, and reports unvested as UNKNOWN rather than 0 until a future tranche is on record, so record the whole schedule) · exercise (strike paid, with quantity) · mark (a valuation opinion — needs mark_source; recorded, never summed).
event.amount number- In the position's currency, >= 0. The kind carries the sign. 0 for a non-cash event (vest, conversion).
event.quantity number,null- Units/shares for vest, exercise, conversion. Not money. A vest's quantity is the GROSS tranche the schedule counts.
event.fmv_per_share number | null- kind=vest or exercise: fair market value per share on the vest or purchase date, in the position's currency, as the vest confirmation or the broker's supplemental statement prints it. What fixes an RSU / ESPP 1099-B basis. Declared, never inferred.
event.income_recognized number | null- kind=vest or exercise: the compensation income that date put on the W-2 (vest: shares × FMV; NQSO: the spread; ESPP: the discount when the broker reports it). 0 for an ISO exercise, which reports no regular income.
event.shares_delivered number | null- kind=vest or exercise: shares that reached the brokerage after shares withheld for tax (sell-to-cover). Leave quantity as the gross tranche; the basis check uses this when present.
event.status "pending" | "settled"- pending = a call NOTICE (announced, due on effective_date, not yet wired) — it goes into the forecast and past-due checks, not into paid-in. Default settled. Settled cash counts immediately: a future effective_date or settled_date warns but is still recorded (vest/exercise are exempt).
event.effective_date string (date)- YYYY-MM-DD: the record date, a notice's DUE date, or a mark's AS-OF date. The register's latest mark is by as-of; a mark dated EARLIER than the position's current latest is recorded with a warning naming the mark it sits behind (backdating a market close is legitimate), and the register flags the earlier-dated, later-recorded one as newer_recorded.
event.settled_date string (date) | null- YYYY-MM-DD: the value date the money actually moved, when it differs.
event.opening_balance boolean- kind=contribution: this row SUMMARISES cash paid in before the book started (cumulative paid-in as one row dated to a statement) — counted as paid-in, never as period activity, and not a wire to look for. Use action:"split_opening_balance" to replace it with dated calls once known.
event.held_since string (date) | null- With opening_balance: when that cash first went out (the commitment closing, the first call). The holding period starts here, not on the summary's date.
event.instrument_from "safe" | "convertible_note" | "common_stock" | "preferred_equity" | "private_equity_fund" | "hedge_fund" | "fund_of_funds" | "limited_partnership_unit" | "warrant" | "option" | "advisor_equity" | "other" | null- kind=conversion: the instrument before (e.g. safe).
event.instrument_to "safe" | "convertible_note" | "common_stock" | "preferred_equity" | "private_equity_fund" | "hedge_fund" | "fund_of_funds" | "limited_partnership_unit" | "warrant" | "option" | "advisor_equity" | "other" | null- kind=conversion: the instrument after (e.g. preferred_equity).
event.entry_valuation number | null- kind=contribution or conversion: the POST-MONEY company valuation the money came in at, in the position's currency (a pre-money cap: add the round size first). The denominator for turning a later company valuation into a mark — the book holds it, it computes nothing from it.
event.entry_valuation_basis "priced_round" | "cap" | null- With entry_valuation: priced_round (a priced round's post-money) or cap (a SAFE / note cap).
event.transaction_id string (uuid) | null- The bank transaction that settled this event (must be in this household).
event.document_id string (uuid) | null- The Paper Trail document that evidences it (must be filed in this household).
event.supersedes_id string (uuid) | null- For a settled contribution: the pending notice this wire funds. That notice is marked superseded in the same write.
event.mark_source string | null- kind=mark: whose opinion ("Fund Q2 2026 capital account statement", "409A", "secondary bid"). REQUIRED for a mark.
event.mark_basis string | null- kind=mark: on what basis (NAV, last round, 409A, comparable…).
event.mark_confidence "statement" | "priced_round" | "transaction" | "estimate" | "unconfirmed" | null- kind=mark: statement (statement from the fund/issuer) · priced_round (priced round) · transaction (secondary or arms-length deal) · estimate (derived estimate or term sheet) · unconfirmed (unconfirmed by owner). Unset reads as undeclared, not as firm. Estimates and unconfirmed marks are flagged as soft.
event.reviewed_date string (date) | null- kind=mark: the date this mark was reviewed and verified still current. Staleness uses max(as_of, reviewed_date).
event.review_note string | null- kind=mark: review note recording why the mark still holds.
event.verbatim string | null- The statement's own line for this event, kept as the audit trail.
event.intake "agent" | "user"event.note string | nullpositions object[]- Position create: a BATCH — one full position payload per entry (a portfolio's worth of syndicate rows in one call). ALL-OR-NOTHING: every entry is validated and every funding account checked before anything is written; a refusal names the entry by index. Issuer / holder / vehicle names repeated across entries resolve to one registry row. Answers with terse rows { id, name, issuer, issuer_id, vehicle?, vehicle_id?, instrument, ccy }.
events object[]- Event create: a BATCH — one entry per event, e.g. a statement's whole activity. ALL-OR-NOTHING: every reference is validated and statement_check (if given) must tie before anything is written. A top-level position_id is the default for entries that omit their own. Answers with terse rows { id, position_id, kind, status, amt, dt } — the full row is on get/list.
calls object[]- Position_event split_opening_balance: the dated settled contributions replacing the opening-balance event — [{ effective_date, amount, document_id?, note? }].
statement_check object- Event create (batch): the capital account statement's six printed figures, in the position's currency — { beginning, contributions, distributions, fees, change_in_unrealized, ending }. The write is refused unless beginning + contributions − distributions − fees ± change_in_unrealized = ending EXACTLY; all six are required, none is derived.
statement_check.beginning required · numberstatement_check.contributions required · numberstatement_check.distributions required · numberstatement_check.fees required · numberstatement_check.change_in_unrealized required · numberstatement_check.ending required · numberstatement_check.other_changes object[]- Further printed lines the six figures do not name (net operating income, realized gain, carried interest accrued…), each signed as printed. They feed the identity under their own labels instead of being lumped into change_in_unrealized.
statement_check.scope "itd" | "period" | "arithmetic"- Also compare the statement WITH THE BOOK: itd = contributions and distributions are inception-to-date, compared to the position's settled events after this batch; period = they cover start..end, compared to the events dated inside it; arithmetic = the identity only, book deliberately not compared. Omitted: a statement whose beginning is 0 covers the position from inception and is compared as itd; otherwise only the arithmetic is checked, and the response says which.
statement_check.start string (date)- scope=period: first day of the statement period.
statement_check.end string (date)- scope=period: last day of the statement period.
investment_tax_record object- Investment tax record payload for create (entity=investment_tax_record): what a filed brokerage 1099 PRINTS — { document_id, form, tax_year?, issuer?, account_ref?, account_id?, holder?, holder_kind?, supersedes_id?, dividends?, interest?, sales?, sale_totals?, totals_printed?, market_discount_convention?, retirement?, note? }, in dollars. Refused unless the form's own arithmetic ties to the cent; dry_run:true returns the verdict without writing.
investment_tax_record.document_id string (uuid)- The filed Paper Trail document this is read from (doc_type tax_form). One record per document and account_ref: recording the same pair again REPLACES it.
investment_tax_record.form "consolidated_1099" | "1099_b" | "1099_div" | "1099_int" | "1099_da" | "1099_r"- What the document is: consolidated_1099 (one statement holding DIV, INT and B), or a single 1099_b / 1099_div / 1099_int / 1099_da / 1099_r.
investment_tax_record.tax_year integer, 1990–2100- Defaults to the document's tax_year.
investment_tax_record.issuer string- The payer as printed ("Apex Clearing"). Defaults to the document's issuer.
investment_tax_record.account_ref string- The account number as the form prints it ("…6925"). Needed only when one PDF prints two accounts — it is half of the record's key.
investment_tax_record.account_id string (uuid) | null- The household's linked account this form reports, when one is linked — what lets dividends and interest be tied to the cash that landed.
investment_tax_record.holder string- Whose return this belongs on, by an existing Vested Interest holder's name (person, joint, trust, IRA…). Created only when holder_kind is given too.
investment_tax_record.holder_kind "person" | "joint" | "trust" | "llc" | "ira" | "nominee" | "other"- With holder: create the holder when no holder has that name.
investment_tax_record.currency "USD"- IRS forms print US dollars; USD is the only value.
investment_tax_record.supersedes_id string (uuid)- A corrected form: the record (from another document) this one replaces. That record is marked superseded in the same write.
investment_tax_record.dividends object- The 1099-DIV boxes.
investment_tax_record.interest object- The 1099-INT boxes.
investment_tax_record.sales object[]- The 1099-B / 1099-DA summary: one row per Form 8949 category the form prints (zero rows may be left out). Each must tie: proceeds − basis + wash sale (± market discount) = gain, to the cent.
investment_tax_record.sale_totals object- The form's printed "Total Short-term" / "Total Long-term" / "Total Undetermined-term" lines. REQUIRED for every term that has rows — the categories must sum to them column by column, which is what catches a dropped or doubled row.
investment_tax_record.totals_printed boolean- false ONLY when the form prints no term totals at all (a bank's one-line 1099-B). The record keeps it and the report flags it.
investment_tax_record.equity_sales object[]- The employer's stock rows from the 1099-B detail pages (RSU, ESPP, option shares). Not part of the arithmetic gate — each must sit inside a sales row of the same category — but what lets query { investment_tax } flag a basis the broker left at $0 or understated, from the vest and exercise records in Vested Interest.
investment_tax_record.market_discount_convention "added" | "subtracted" | "excluded"- Required when any sale row has market discount: does the form's net gain add it, subtract it, or exclude it? One answer for the whole form.
investment_tax_record.retirement object- The 1099-R boxes (form 1099_r only).
investment_tax_record.intake "agent" | "user"investment_tax_record.note stringposition_id string (uuid)- Position id: filters position_event list; the default position for a create batch.
position_ids string (uuid)[]- Position_event list: filter by multiple position ids.
include_resolved boolean- Position list: include resolved (exited / written-off) positions, excluded by default.
pending_only boolean- Position_event list: only open call notices (status pending).
kind string | string[]- Position_event list: filter by event kind (one kind or a list, e.g. ['contribution', 'distribution']). Valid kinds: commitment, contribution, distribution, return_of_capital, fee, conversion, write_off, vest, exercise, mark.
cash_only boolean- Position_event list: filter for only events that moved cash (cash-moving kinds with status settled; implies status:"settled").
compact boolean- Position_event list: drop note, verbatim and mark_basis to shrink payload size.
segment "employment" | "direct" | "fund" | "syndicate" | "other" | "undeclared" | null- Position_event list: filter by position segment (employment, direct, fund, syndicate, other, undeclared).
currency string- Position_event list: filter by position currency (3-letter ISO code, e.g. USD).
transfer_link_id string (uuid)- Transfer link ID (for confirm/reject; from action=list).
outflow_txn_id string (uuid)- Outflow leg transaction ID (for action=link).
inflow_txn_id string (uuid)- Inflow leg transaction ID (for action=link).
link_status "suggested" | "confirmed" | "rejected"- Filter transfer-link list by status (default: all).
type "bug" | "feature" | "ux"- Feedback type (for feedback entity)
description string- Feedback description — the details behind the title, max 2000 characters.
tool "query" | "annotate" | "admin"- Which tool triggered this feedback
context string- JSON context: what the agent was doing
csv_content string- Raw statement text — an OFX/QFX/QBO file, or an Apple Card / Rocket Money / Monarch / Copilot Money / Wells Fargo CSV; the format is auto-detected from the content.
file_content is the same field under a name that doesn't say CSV. Small files only; for anything larger use request_upload + upload_id so the bytes don't go through context. file_content string- Alias for csv_content, for non-CSV imports (OFX/QFX/QBO). Pass exactly one of file_content, csv_content or upload_id.
upload_id string- Import: reference to a file staged via request_upload + the returned PUT URL (keeps bytes out of context). Provide exactly one of csv_content or upload_id. Document: same staging flow; a PUT of already-filed bytes returns already_filed:true with the EXISTING document's id as upload_id, and create with that id updates the document's metadata in place — the sanctioned correction path for a mis-typed period or title.
filename string- request_upload: original filename, the only required file metadata. Import extensions pick the transport content type (.ofx/.qfx/.qbo vs .csv); documents use a binary transport type and recognize PDF/JPEG/PNG bytes on receipt. It labels the stored file.
content_length integer, 0–9007199254740991- request_upload: optional byte size hint.
dry_run boolean- Import: validate + report (rows, duplicates, sample mapped rows) without writing anything. Also adjustment create, document reconstruct and investment_tax_record create (the gate's verdict, nothing written). Any other write given dry_run:true is refused and writes nothing.
account_map object- Import (Monarch, Copilot Money): map an account string, exactly as the import preview lists it (e.g. Monarch "Savings" or "X1 Credit Card (...5316)", Copilot "Everyday Checking ...4821"), to an existing account id. The only way to land a maskless Monarch account on a specific real account (dead-feed backfills), or to pin an account whose name and number match none of yours.
account string- Import: target account id or exact name for SINGLE-account formats. Optional for Apple Card (defaults to its canonical account) and for a single-statement OFX (which names its own institution); REQUIRED for Wells Fargo because its export omits account identity. Connected targets require allow_connected. Rejected for Rocket Money and for a multi-statement OFX, both of which resolve accounts from the file.
allow_connected boolean- Import: allow importing into accounts that are also connected via Plaid, to backfill history. OFF by default. When on, rows overlapping the bank's synced window are de-duplicated while CSV-only history is retained. Applies to Apple Card overrides, Wells Fargo targets, and Rocket Money connected accounts.
doc_type "statement" | "receipt" | "invoice" | "tax_form" | "policy" | "contract" | "disclosure" | "notice" | "other"- Document: what kind of document this is. DECLARED, never inferred — there is no classifier, so this is whatever the filer says it is. Also filters list.
title string- Document: a human title ("Chase statement, March 2026").
issuer string- Document: who issued it, as free text ("Chase", "Blue Cross"). NOT resolved to a party — issuer-to-party matching is deliberately not attempted. Also filters list (substring).
period_start string (date)- Document: first day the document covers (YYYY-MM-DD). A single-dated document (a receipt) sets period_start and period_end to the same day. For a statement PDF, PREFER OMITTING both: the billing cycle is read off the document itself (period_source:"extracted" in the response). A typed (or already-stored) period always wins, and if it disagrees with the document's own cycle the response says so via period_extracted/period_note.
period_end string (date)- Document: last day the document covers (YYYY-MM-DD).
tax_year integer, 1900–2100- Document: the tax year this belongs to. Also filters list.
intake "agent" | "user"- Document: how it arrived. Defaults to "agent"; pass "user" when a person handed it over directly.
supersedes_id string (uuid)- Document create: the id of the document this one replaces (a corrected 1099, a re-issued statement). The old document is marked superseded and its links move to the new one.
mime_type string- Document create: content type of the original, if the upload did not declare one. Metadata only — it is never echoed as a response header.
link_transaction_ids string (uuid)[]- Document: transaction ids this document is evidence for. Explicit linkage — nothing is inferred.
provenance string- Document: where the filer got it — a Gmail thread id, a Google Drive file id, a portal URL. Free text, recorded as given and never interpreted; searchable as metadata. Inherited by every entry of a batch, like the other document fields.
link_account_ids string (uuid)[]- Document: account ids this document belongs to (a statement's account). Explicit linkage — nothing is inferred.
link_position_ids string (uuid)[]- Document: Vested Interest position ids this document is evidence for — a K-1, or a consolidated K-1 package naming every position it covers, which is what marks those K-1s received in query { tax_documents }. Also filters list/export. Explicit linkage — nothing is inferred.
link_tax_forms object[]- Document: the query { tax_documents } expected rows this document answers, as { form, issuer } copied from the row (a HomePay packet answering four childcare statements names all four). Marks them received there with confirmed: true — the manual confirm for a form whose title cannot name it, or an issuer the match missed. Explicit linkage — nothing is inferred.
link_k1_status object[]- Document link/unlink: a K-1 package's word on one position's K-1 for ONE tax year, as [{ position_id, tax_year, status: "not_issuing" | "expected", page? }] — the page of this document that says so. not_issuing marks that year's query { tax_documents } k1 row not_issuing (never received, and never the position's permanent k1 policy); expected keeps the row open whatever the package's summary table reads. tax_year must be the document's own; one status per position and year (linking again replaces it). Unlink with [{ position_id, tax_year }]. Explicit linkage — nothing is inferred.
section string- Document reconstruct: which account section of a combined statement to load, by the issuer's printed account number. Needed only when the ledger account has no mask to match on against a statement that does print account numbers (Venmo and PayPal are maskless by construction). Not needed for Apple Card: its statements print no account number at all, and the one verified section of such a statement is picked for a maskless account automatically.
batch_id string- Import batch id to undo (entity=import, action=undo). List batches via admin { entity: 'import', action: 'list' }.
force boolean- Document reconstruct: write even though the statement's cycle already holds visible rows for the account. UNSAFE — those rows will not reliably dedup against a statement's own descriptors, so this inserts duplicates; the response carries a batch_id for
undo-import --batch-id to roll back. On import undo: override user-work guard to back out the batch even if its rows carry manual edits. files string[]- Document request_upload: mint one PUT slot per filename in a single call, instead of one call per file. The response hoists the shared half (method, headers, expiry, limits) and lists {filename, upload_url} per file, plus one curl_template: replace <LOCAL_PATH> and <UPLOAD_URL> for each slot. Then file them all with ONE create + documents:[...].
documents object[]- Document create: file a BATCH — one entry per staged upload, each {upload_id, ...metadata}. The top-level document fields (issuer, tax_year, doc_type, …) are DEFAULTS every entry inherits and may override, which is what a single issuer's quarter or a single fund's year actually looks like; supersedes_id is the exception and is never inherited, since it names one specific predecessor. Filing is PER DOCUMENT: a bad entry is reported in errors with its index and does not stop the rest, and re-sending is safe because filing the same bytes twice updates that document rather than duplicating it.
include_superseded boolean- Document list: include documents that a newer version replaced (excluded by default).
text_status "queued" | "indexed" | "partial" | "no_text" | "not_text" | "unreadable" | "no_bytes" | "corrupt" | "failed"- Document list/export ONLY: filter text-index state. queued means awaiting indexing, including reindexing with old searchable pages. Rows show filed_age_days (whole elapsed days since filing, NOT time in the queue), omitted when filing time is unknown.
from_page integer, 1–40- Document read_text: first page to read, 1-based (default 1). Narrowing the range genuinely skips the work, so it is the right answer to truncated:true.
to_page integer, 1–40- Document read_text: last page to read, 1-based and inclusive (default: the whole document, capped at 40 pages).
max_chars integer, 500–60000- Document read_text: character budget for the returned text (default 50,000, at most 60,000). The response reports truncated:true when it bit — narrow the page range rather than raising this.
find string- Document read_text: a term to look for (case-insensitive substring). The response then holds ONLY the pages containing it — match_pages, match_n and the matching lines (up to 50) beside them, match_n:0 when nothing matched — so one sentence can be checked without reading the whole document. Composes with from_page/to_page.
with_urls boolean- Document export: also mint a short-lived download_url per document. OFF by default — each URL is a live bearer token for the bytes, and a whole-archive payload of them lands verbatim in the conversation transcript. Use
get for one document, or the export-documents CLI for a real offline archive. match_trace boolean- Document tie_out ONLY: inspect bounded match references for independently imported rows and Plaid separately. No amounts/memos returned or stored. limit caps total trace rows (default 50, max 500); total/truncated report omitted rows. References reflect this observation, not a frozen replay.
trace_offset integer, 0–80000- Document tie_out with match_trace:true: skip this many trace rows (default 0). Follow nextOffset; compare source/input and ledger fingerprints between calls because results are live, not a snapshot.
with_download boolean- Document/import get ONLY: opt in to a download object for one stored original (GET URL, headers, expiry, safe filename/content type, exact byte_count and sha256). A host downloads and verifies it to a caller-chosen local path; never put bytes/base64 into context. Import id is the native source id (the upload_id from staging). URLs expire after five minutes; request again for the same id after expiry.
recorded_since string (date-time)- Position_event list ONLY: inclusive recorded-time cutoff (ISO timestamp with timezone, at most milliseconds), regardless of effective date. Pages sort by recorded time, newest first. Keep filters when following cursor; finish all pages before saving terminal as_of for the next poll. Deduplicate ids replayed at the inclusive boundary.
start string (date)- Document list/substantiate or position_event list: start of the date range (YYYY-MM-DD, inclusive). Documents match by period overlap; a document with no period_start is not date-searchable.
end string (date)- Document list/substantiate or position_event list: end of the date range (YYYY-MM-DD, inclusive).