Skip to main content
Glama

List missing invoices

well_list_missing_invoices
Read-only

List the supplier invoices a past period is still missing — the settled spend whose invoice has not been collected, one row per counterparty, exactly as the Well app's expense-invoices card shows them. Use it for "which invoices am I missing for ?" and as the input to fetching them. It does NOT list the connection routes a provider offers; for "which connectors, extension, mailbox or drive can bring in this provider's invoices" call well_list_connectors with counterparty_ids copied from these rows.

Name the period ONE way: { calendar_year, calendar_month } (the calendar month, e.g. June 2026 → 2026, 6), { fiscal_year, fiscal_period }, or periods: [{ calendar_year, calendar_month }, …] for SEVERAL months in one call (1-12), or name NO period at all to use the months the user selected on the period card in this conversation (well_list_periods → the user clicks → well_switch_workspace records them). With no period named and no months selected, the call refuses and tells you to run the period step first. Every month must have ended: a current or future month is refused, and so is the adjustment period (13). Duplicate months are refused.

COST: there is no batch endpoint, so each named month is a separate read of that month's spend. Ask for the months the user actually named, not a whole year "to be safe".

Returns rows, ONE per counterparty for the whole call, never one per month. Each row carries name, tx_count and base_total_amount in base_currency SUMMED over the months it covers, its own months array naming those months (each with that month's tx_count, base_total_amount, proof_task_id, acquisition_status and refusal_reason), and the route fields mode, available_modes, suggested_action, matched_provider_name and matched_connector_service_id, which the provider match resolves once per counterparty. NEVER list a counterparty once per month and never present its months as separate gaps: it is one supplier to chase, and one collection covers every month behind it. Name the months a row spans from its months array. The envelope's own months carries each month's totals (rows are NOT repeated there), periods_covered names the months read, and transaction_count, group_count and dropped_groups are totals across every month read. row_count counts the DISTINCT counterparties, so it is never the sum of the months' own row_count. dropped_groups counts the GROUPS that produced no row — party-less bank operations, unresolved counterparties, unnamed companies — never transactions, and bank_internal and unknown hold one group per month whatever they contain, so quote neither as a quantity of operations. unknown and unnamed_company ARE categorized expense spend still missing a supplier invoice, so an empty rows over a non-zero count is not a complete period; bank_internal alone is, since no supplier can invoice a party-less operation. The single-month fields calendar_year, calendar_month, fiscal_year, fiscal_period and period_label appear ONLY when the call named exactly one month.

totals_by_currency is the money still missing an invoice, ONE set per currency in the lines' own currency: gross, the copies and own_company movements it holds, and net. The rows never hold a copy or a movement between the user's own accounts, and party-less bank operations sit in no figure, so net is the money of the lines behind rows plus the unknown and unnamed_company groups, which produce no row. possible_duplicates holds the money of the bank lines that are half of a pair Well cannot tell apart (two lines of the same amount to the same supplier on the same day): the second line of such a pair is left out of net until the person says both are real payments, so net counts that money once. The figures are read apart from the rows, so a cut list (candidates_truncated) still carries the full figures. Quote net as the gap, in the currency it carries, and quote gross, copies and own_company only as they come. Every amount here and in rows is in major units of its currency, as a person writes it: a net of 52300 in USD is 52 300 $, never 523,00 $. Never divide, multiply or otherwise scale one. NEVER add, subtract, round, halve or convert a figure, and never merge two currencies into one number. own_company is money that moved between the user's own accounts: name its amount in one line as left out of the gap. copies is bookkeeping: never name it to the person. totals_by_currency: null means the figures could not be read: quote no amount, and never present it as zero.

possible_duplicate_pairs lists the pairs of bank lines Well cannot tell apart: two lines of the same amount to the same supplier on the same day, with no invoice behind either. The SECOND line of each pair is held out of net (it sits in possible_duplicates), so the total counts that money once, and the row that holds it carries possible_duplicate: true. Show one line per pair and ask the person once: are both lines real payments (keep) or does the second one repeat the first (drop)? Record each answer on its own with well_upsert_preference: key missing_invoice_duplicate_verdicts, scope workspace, the pair's namespace as namespace, value { "decision": "keep" | "drop" }. A keep puts the second line back in the total, a drop keeps it out, and either way the pair is never asked again. Never decide the answer yourself, never leave a pair out of the total in silence, and never add the held amount back to net by hand: quote the figures as they come.

CURRENCY: base_amount and base_total_amount are in base_currency, the workspace base currency, which each row, month and transaction carries beside them. It can differ from the currency the transactions were paid in and from the currency of the person's language. Write every base figure with the symbol or code of its base_currency (USD → $, EUR → €, GBP → £; another code as the code), and write a transaction's amount and a totals_by_currency figure with their own currency. A reply in French for a USD workspace still writes a base_total_amount of 120.4 as 120,40 $, never 120,40 €. Never relabel or convert a base figure into another currency: to state a figure in the currency the money was paid in, quote the transactions' own amount and currency.

Pass the limits of the ask as arguments and render nothing beyond them. row_limit is the count the person named (0 for "just the total": no row comes back and one line answers), order: "amount" puts the biggest gap first for "the biggest", and no_action: true says the person wants nothing fetched or started, so offer no fetch. listed_in_reply: true says that your own reply lists the rows and says what starts, so the phone draws no list and no fetch offer under it. The result echoes the four values, and row_count still counts every counterparty found while rows_omitted counts the rows the limit left out. rows_omitted_total is the money of those left-out rows in base_currency, summed by Well: quote it as it comes on the line that counts the other suppliers, and give the count alone when it is null. unattributed_total is the money of the spend with no named supplier (the unknown and unnamed_company groups), summed by Well: quote it as it comes on its own line after that one, so the parts add up to the net when totals_by_currency holds one set in base_currency, and give no amount for those groups when it is null.

Every row also carries transactions — the counterparty's own lines behind the row, each with date, description (the bank's remittance text), category, amount, currency and base_amount. amount is signed and stays in the transaction's own currency, so never add those together across a row; base_amount is the same line in base_currency, and the magnitudes of those DO add up to base_total_amount, unless the row carries possible_duplicate: true: a held line stays in transactions while the row's figure leaves it out. The list is capped at 25 per row and transactions_omitted says how many the cap left out — quote that number instead of implying the list is complete.

mode is the ONE route the card suggests for that row: agent (a browser agent can collect it from the supplier portal), connect (connect the named service and Well fetches it), upload (the user supplies the file). available_modes lists every route the row offers instead of only the suggested one — agent and upload on every row, plus connect when the catalog holds a connector for the matched provider, so 2 or 3 entries. Present mode as the suggestion and available_modes as the choice. available_routes is the order to look for the invoice in, mail_search first when the caller's own Gmail is connected: try the routes in that order and stop at the first find, so one invoice is found once.

Only CATEGORIZED expense transactions are considered — uncategorized spend is not listed, so poor categorization coverage under-reports the gaps; disclose the hints.

This tool reads the user's data and changes none of it. It does not mint tasks, start a close, connect anything, or fetch any invoice.

Call this directly — no workspace call is needed first (workspace is resolved from the caller's authorized token, same as every other well_* tool).

Input Schema

NameRequiredDescriptionDefault
orderNo`amount` puts the biggest gap first (by `base_total_amount`, rows without a figure last). Pass it for "the biggest", "the largest", "the most expensive". Omit it for the default order.
periodsNoSeveral calendar months in one call, 1-12. Each month costs one separate read, so name only the months you need. Duplicates are refused.
no_actionNotrue when the person asked for nothing to be fetched or started ("ne récupère rien", "just tell me", "don't fetch anything"). The reply then offers no fetch and shows no action link. Omit it otherwise.
row_limitNoHow many rows the person asked for, 1-15. Pass it when the ask names a count ("the 3 biggest", "the top 5"). Pass 0 when the ask is for the total alone ("just the total", "juste le cumul"): the result then carries no row and one line is enough. Omit it when the ask names no count.
fiscal_yearNoFiscal year (the calendar year the workspace's fiscal year STARTED in).
workspace_idNoTarget workspace. This read reports one workspace's own data. Omit it and the token's primary workspace answers, which may not be the one you mean; the result names the workspace that did.
calendar_yearNoCalendar year, e.g. 2026.
fiscal_periodNoFiscal period, 1-12. The adjustment period (13) is refused: it has no calendar month.
calendar_monthNoCalendar month, 1 = January … 12 = December.
conversation_idNoThe conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation.
listed_in_replyNotrue when your own reply lists these rows and says what starts and what waits, as the WhatsApp gap recap of a skill does. The phone then draws no list and no fetch offer under your reply. It says nothing about what the person asked: pass `no_action` for that. Omit it otherwise.
workspace_scopeNoRestrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace.

Output Schema

NameRequiredDescriptionDefault
rowsYesThe card's rows, ONE per counterparty for the whole call, in the order the oldest month listed them, each naming the months it covers in `months`. A counterparty owing an invoice in several of the months read is one row, never one per month.
errorNo
hintsNo
orderNoThe `order` the rows are in, echoed.
monthsNoPer-month totals, oldest first.
successYes
next_stepNoWhat to do with the card this result renders. Added by the dispatcher when the card asks for a click.
no_actionNoThe `no_action` the call was made with, echoed.
row_countNoThe DISTINCT counterparties the call found, before any `row_limit` cut `rows`. Never the sum of the months' own `row_count`.
row_limitNoThe `row_limit` the call was made with, echoed; null when the ask named none.
fiscal_yearNoPresent only when the call named exactly one month.
group_countNoGroups the reads returned before the card's projection.
period_labelNoHuman-readable label of the period, e.g. "June 2026". Present only when the call named one month.
rows_omittedNoRows the `row_limit` left out of `rows`. Zero when no limit cut the list.
workspace_idNo
base_currencyNoThe workspace base currency (ISO 4217) of every `base_amount` and `base_total_amount` in the result. Each row, month and transaction repeats it beside its own base figures.
calendar_yearNoPresent only when the call named exactly one month.
fiscal_periodNoPresent only when the call named exactly one month.
calendar_monthNoPresent only when the call named exactly one month.
dropped_groupsNo
conversation_idNoThe conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation.
listed_in_replyNoThe `listed_in_reply` the call was made with, echoed.
newly_connectedNoTools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: "<name> is connected.". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later.
periods_coveredNoThe months the result covers, oldest first.
periods_requestedNoHow many calendar months the call named.
transaction_countNoEvery transaction missing its invoice, across all groups and all months.
resolved_workspaceNoThe workspace that answered, when the caller named none and the token authorizes several.
rows_omitted_totalNoThe money of the rows the `row_limit` left out, summed by Well over those rows' `base_total_amount`: the amount of the line that counts the other suppliers. It covers the same suppliers `rows_omitted` counts, never the `unknown` or `unnamed_company` groups. Null when no row was left out, when a left-out row has no figure, or when `candidates_truncated` is true: then give the count of the other suppliers alone, with no amount.
totals_by_currencyNoThe money still missing an invoice, ONE set per currency in the lines' own currency, in major units (not cents). Quote `net` for the gap and never add, round, halve or convert any figure yourself. `copies` and `own_company` are what `gross` holds that is not a gap: name the `own_company` amount in one line as left out, and never name `copies` to the person. Two currencies are two figures: never merge them. Null when the figures could not be read: then quote no amount at all, and never read null as zero.
unattributed_totalNoThe money of the `unknown` and `unnamed_company` groups, summed by Well over their `base_total_amount`, in `base_currency`: the amount of the line for spend with no named supplier. A held possible duplicate line that no row holds leaves this sum, as it leaves the `net`. These are the groups the card cannot key or name: a group with no counterparty, a company group with no name, and a named company group with neither a proof task nor a company id. The `net` of `totals_by_currency` holds it, and no row and no `rows_omitted_total` does, so the rows, `rows_omitted_total` and this amount add up to the `net` when `totals_by_currency` holds one set and its currency is `base_currency`. Null when no such group, when one has no figure, when a held possible duplicate line falls outside the read's sample, or when `candidates_truncated` is true: then give no amount for those groups.
candidates_truncatedNoTrue when a month's read hit its line cap, so `rows`, `row_count` and `transaction_count` miss lines. `totals_by_currency` is read apart and still covers every line. Say the list is cut when this is true. With `order` set to `amount`, the rank then covers only the lines read: call the rows the biggest of those lines, never the biggest of the period.
conversation_id_noteNoPresent only when the server opened a fresh lane, stating that no choice recorded earlier was read.
conversation_id_sourceNoWhere the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened.
totals_unreadable_countNoLines with no readable amount. They sit in no figure of `totals_by_currency`. Null with it.
possible_duplicate_pairsNoThe pairs of bank lines Well cannot tell apart: two lines of the same amount to the same supplier on the same day, with no invoice behind either. The SECOND line of each pair is held out of `net` and sits in `possible_duplicates`, so the total counts the money once. Ask the person for each pair whether both lines are real payments (`keep`) or the second one repeats the first (`drop`), and record each answer with `well_upsert_preference` under the key `missing_invoice_duplicate_verdicts`, `scope: "workspace"` and the `namespace` of the pair, value `{ "decision": "keep" | "drop" }`: a `keep` puts the line back in the total, a `drop` keeps it out, and either way the pair is never asked again. Empty when the read found no such pair.
possible_duplicates_unavailableNoTrue when the possible-duplicate check could not run, or its pair list was cut at its cap: some pairs may be missing from `totals_by_currency` and `possible_duplicate_pairs`. Say in one plain line that possible duplicates could not be checked, then quote the figures as they come.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedOutput schema / properties / possible_duplicate_pairs
      Added value: +{
      +  "description": "The pairs of bank lines Well cannot tell apart: two lines of the same amount to the same supplier on the same day, with no invoice behind either. The SECOND line of each pair is held out of `net` and sits in `possible_duplicates`, so the total counts the money once. Ask the person for each pair whether both lines are real payments (`keep`) or the second one repeats the first (`drop`), and record each answer with `well_upsert_preference` under the key `missing_invoice_duplicate_verdicts`, `scope: \"workspace\"` and the `namespace` of the pair, value `{ \"decision\": \"keep\" | \"drop\" }`: a `keep` puts the line back in the total, a `drop` keeps it out, and either way the pair is never asked again. Empty when the read found no such pair.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amount": {
      +        "description": "The magnitude of ONE of the two lines, in `currency`.",
      +        "type": "number"
      +      },
      +      "company_id": {
      +        "description": "The supplier both lines paid.",
      +        "type": "string"
      +      },
      +      "company_name": {
      +        "description": "The supplier's name, when the gap could resolve one.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "description": "The currency of the two lines; null when the bank line carries none.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "first_day": {
      +        "description": "The day the first line posted on, `YYYY-MM-DD`.",
      +        "type": "string"
      +      },
      +      "movement_ids": {
      +        "description": "The two lines of the pair, earliest first. The second one is the line held out of the total.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "namespace": {
      +        "description": "The namespace the answer about this pair is saved under: pass it as `namespace` to `well_upsert_preference`, with `scope: \"workspace\"`, so the same pair is never asked again.",
      +        "type": "string"
      +      },
      +      "second_day": {
      +        "description": "The day the second line posted on, `YYYY-MM-DD`.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "namespace",
      +      "company_id",
      +      "company_name",
      +      "amount",
      +      "currency",
      +      "first_day",
      +      "second_day",
      +      "movement_ids"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / possible_duplicates_unavailable
      Added value: +{
      +  "description": "True when the possible-duplicate check could not run, or its pair list was cut at its cap: some pairs may be missing from `totals_by_currency` and `possible_duplicate_pairs`. Say in one plain line that possible duplicates could not be checked, then quote the figures as they come.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / rows / items / properties / base_total_amount / description
      Previous value: -"Sum in base_currency, in major units (not cents), across every month in `months`; null when an FX rate was missing for any transaction of any of them."New value: +"Sum in base_currency, in major units (not cents), across every month in `months`, without a line held out as a possible duplicate; null when an FX rate was missing for any transaction of any of them, or when a held line falls outside the row's `transactions` sample, so its amount is unknown."
    • changedOutput schema / properties / rows / items / properties / months / items / properties / base_total_amount / description
      Previous value: -"This month's sum in `base_currency`, in major units (not cents); null when an FX rate was missing for any of its transactions."New value: +"This month's sum in `base_currency`, in major units (not cents), without a line held out as a possible duplicate; null when an FX rate was missing for any of its transactions, or when a held line falls outside the row's `transactions` sample, so its amount is unknown."
    • addedOutput schema / properties / rows / items / properties / possible_duplicate
      Added value: +{
      +  "description": "True when one of this counterparty's lines is half of a pair of bank lines Well cannot tell apart. The second line of the pair is held out of the total until the person decides, and the pair is listed on its own line.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / rows / items / properties / transactions / items / properties / base_amount / description
      Previous value: -"The same amount converted to `base_currency`, in major units (not cents), still signed. Sum the magnitudes of these to reach `base_total_amount`; null when no FX rate covered the date."New value: +"The same amount converted to `base_currency`, in major units (not cents), still signed. Sum the magnitudes of these to reach `base_total_amount`, leaving out a line held out as a possible duplicate when the row carries `possible_duplicate: true`; null when no FX rate covered the date."
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "domain_resolution",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "base_currency",
      -  "mode",
      -  "available_modes",
      -  "available_routes",
      -  "suggested_action",
      -  "portal_login",
      -  "starts_in_chrome",
      -  "matched_provider_name",
      -  "matched_provider_url",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "base_currency",
      +  "mode",
      +  "available_modes",
      +  "available_routes",
      +  "suggested_action",
      +  "portal_login",
      +  "starts_in_chrome",
      +  "matched_provider_name",
      +  "matched_provider_url",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id",
      +  "possible_duplicate"
      +]
    • changedOutput schema / properties / totals_by_currency / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "copies": {
      -          "description": "The part of `gross` that repeats a payment already counted through another connection of the same account.",
      -          "type": "number"
      -        },
      -        "currency": {
      -          "description": "The one currency every figure of this set is in. Null for lines that carry no currency.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "gross": {
      -          "description": "Every line in this currency, copies and own-account movements included.",
      -          "type": "number"
      -        },
      -        "net": {
      -          "description": "`gross` minus `copies` minus `own_company`. This is the figure to quote.",
      -          "type": "number"
      -        },
      -        "own_company": {
      -          "description": "The part of `gross` that moved between the workspace's own accounts, so it is not spend.",
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "currency",
      -        "gross",
      -        "copies",
      -        "own_company",
      -        "net"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "copies": {
      +          "description": "The part of `gross` that repeats a payment already counted through another connection of the same account.",
      +          "type": "number"
      +        },
      +        "currency": {
      +          "description": "The one currency every figure of this set is in. Null for lines that carry no currency.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "gross": {
      +          "description": "Every line in this currency, copies and own-account movements included.",
      +          "type": "number"
      +        },
      +        "net": {
      +          "description": "`gross` minus `copies` minus `own_company` minus `possible_duplicates`. This is the figure to quote.",
      +          "type": "number"
      +        },
      +        "own_company": {
      +          "description": "The part of `gross` that moved between the workspace's own accounts, so it is not spend.",
      +          "type": "number"
      +        },
      +        "possible_duplicates": {
      +          "description": "The part of `gross` that sits on a bank line Well cannot tell apart from another line of the same amount to the same supplier on the same day. It is kept out of `net` until the person says the line is a real payment.",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "currency",
      +        "gross",
      +        "copies",
      +        "own_company",
      +        "possible_duplicates",
      +        "net"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / unattributed_total / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "amount": {
      -        "description": "The sum of the `unknown` and `unnamed_company` groups' `base_total_amount`, in major units.",
      -        "type": "number"
      -      },
      -      "currency": {
      -        "description": "The workspace base currency, the same as `base_currency`.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "amount",
      -      "currency"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amount": {
      +        "description": "The sum of the `unknown` and `unnamed_company` groups' `base_total_amount`, less a held possible duplicate line no row holds, in major units.",
      +        "type": "number"
      +      },
      +      "currency": {
      +        "description": "The workspace base currency, the same as `base_currency`.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "amount",
      +      "currency"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / unattributed_total / description
      Previous value: -"The money of the `unknown` and `unnamed_company` groups, summed by Well over their `base_total_amount`, in `base_currency`: the amount of the line for spend with no named supplier. These are the groups the card cannot key or name: a group with no counterparty, a company group with no name, and a named company group with neither a proof task nor a company id. The `net` of `totals_by_currency` holds it, and no row and no `rows_omitted_total` does, so the rows, `rows_omitted_total` and this amount add up to the `net` when `totals_by_currency` holds one set and its currency is `base_currency`. Null when no such group, when one has no figure, or when `candidates_truncated` is true: then give no amount for those groups."New value: +"The money of the `unknown` and `unnamed_company` groups, summed by Well over their `base_total_amount`, in `base_currency`: the amount of the line for spend with no named supplier. A held possible duplicate line that no row holds leaves this sum, as it leaves the `net`. These are the groups the card cannot key or name: a group with no counterparty, a company group with no name, and a named company group with neither a proof task nor a company id. The `net` of `totals_by_currency` holds it, and no row and no `rows_omitted_total` does, so the rows, `rows_omitted_total` and this amount add up to the `net` when `totals_by_currency` holds one set and its currency is `base_currency`. Null when no such group, when one has no figure, when a held possible duplicate line falls outside the read's sample, or when `candidates_truncated` is true: then give no amount for those groups."
  2. Changed4 schema fields changed
    • addedInput schema / properties / listed_in_reply
      Added value: +{
      +  "description": "true when your own reply lists these rows and says what starts and what waits, as the WhatsApp gap recap of a skill does. The phone then draws no list and no fetch offer under your reply. It says nothing about what the person asked: pass `no_action` for that. Omit it otherwise.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / listed_in_reply
      Added value: +{
      +  "description": "The `listed_in_reply` the call was made with, echoed.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / rows / items / properties / available_routes / description
      Previous value: -"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_browser_task with `browser.goal_kind: portal_fetch`) on WhatsApp when the provider has a portal address and the person's Chrome does not take the collect, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. On WhatsApp a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: its portal is that row's lead, and `portal_login` says whether its fetch starts at once (`saved`) or waits for the vault link (`missing`). A row with `starts_in_chrome` true holds no `cloud_portal_fetch`: its portal starts in the person's Chrome."New value: +"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_browser_task with `browser.goal_kind: portal_fetch`) for a person asking on WhatsApp or from an assistant they signed in to Well with, when the provider has a portal address and the person's Chrome does not take the collect, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. On WhatsApp a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: its portal is that row's lead, and `portal_login` says whether its fetch starts at once (`saved`) or waits for the vault link (`missing`). A row with `starts_in_chrome` true holds no `cloud_portal_fetch`: its portal starts in the person's Chrome."
    • changedOutput schema / properties / rows / items / properties / portal_login / description
      Previous value: -"Set on a row that holds `cloud_portal_fetch`: `saved` when the caller keeps a login for the supplier's portal in their vault, so the portal fetch can start at once; `missing` when no saved login matches it, so on an ask with no pick the caller first gets the vault link for `matched_provider_url` (well_get_login_page_link), and on a pick the portal fetch starts and its task asks for the login. Null on every other row, when the caller's logins could not be read, and when several saved logins match the portal: a vault link cannot settle which one the fetch signs in with, so that row starts only on a pick."New value: +"Set on a row that holds `cloud_portal_fetch`: `saved` when the caller keeps a login for the supplier's portal in their vault, so the portal fetch can start at once; `missing` when no saved login matches it, so on a WhatsApp ask with no pick the caller first gets the vault link for `matched_provider_url` (well_get_login_page_link), on a WhatsApp pick the portal fetch starts and its task asks for the login, and an assistant caller gets `login_link` from the started fetch. Null on every other row, when the caller's logins could not be read, and when several saved logins match the portal: a vault link cannot settle which one the fetch signs in with, so that row starts only on a pick."
  3. Changed4 schema fields changed
    • changedOutput schema / properties / rows / items / properties / available_routes / description
      Previous value: -"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_browser_task with `browser.goal_kind: portal_fetch`) on WhatsApp when the provider has a portal address, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. A supplier's portal goes through the extension by default. When the person's own message explicitly asks for a background task (« en tâche de fond », « in the background »), a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: offer it as that row's lead, with no computer needed, and start it only on the person's pick."New value: +"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_browser_task with `browser.goal_kind: portal_fetch`) on WhatsApp when the provider has a portal address and the person's Chrome does not take the collect, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. On WhatsApp a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: its portal is that row's lead, and `portal_login` says whether its fetch starts at once (`saved`) or waits for the vault link (`missing`). A row with `starts_in_chrome` true holds no `cloud_portal_fetch`: its portal starts in the person's Chrome."
    • addedOutput schema / properties / rows / items / properties / portal_login
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "saved",
      +        "missing"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set on a row that holds `cloud_portal_fetch`: `saved` when the caller keeps a login for the supplier's portal in their vault, so the portal fetch can start at once; `missing` when no saved login matches it, so on an ask with no pick the caller first gets the vault link for `matched_provider_url` (well_get_login_page_link), and on a pick the portal fetch starts and its task asks for the login. Null on every other row, when the caller's logins could not be read, and when several saved logins match the portal: a vault link cannot settle which one the fetch signs in with, so that row starts only on a pick."
      +}
    • addedOutput schema / properties / rows / items / properties / starts_in_chrome
      Added value: +{
      +  "description": "True on WhatsApp when the row holds `chrome_extension_fetch` and the person's Chrome is open with a Well extension that takes the collect now: the portal fetch starts there at once, with no vault link and no limit on the number of portals. False on every other row.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "domain_resolution",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "base_currency",
      -  "mode",
      -  "available_modes",
      -  "available_routes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_url",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "base_currency",
      +  "mode",
      +  "available_modes",
      +  "available_routes",
      +  "suggested_action",
      +  "portal_login",
      +  "starts_in_chrome",
      +  "matched_provider_name",
      +  "matched_provider_url",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  4. Changed1 schema field changed
    • changedOutput schema / properties / rows / items / properties / available_routes / description
      Previous value: -"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_task with `browser.goal_kind: portal_fetch`) on WhatsApp when the provider has a portal address, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. A supplier's portal goes through the extension by default. When the person's own message explicitly asks for a background task (« en tâche de fond », « in the background »), a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: offer it as that row's lead, with no computer needed, and start it only on the person's pick."New value: +"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_browser_task with `browser.goal_kind: portal_fetch`) on WhatsApp when the provider has a portal address, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. A supplier's portal goes through the extension by default. When the person's own message explicitly asks for a background task (« en tâche de fond », « in the background »), a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: offer it as that row's lead, with no computer needed, and start it only on the person's pick."
  5. Changed35 schema fields changed
    • removedOutput schema / properties / resolved_workspace / properties / name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / resolved_workspace / properties / name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / base_total_amount / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / base_total_amount / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / company_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / company_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / logo_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / logo_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / matched_connector_service_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / matched_connector_service_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / matched_provider_name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / matched_provider_name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / matched_provider_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / matched_provider_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / months / items / properties / base_total_amount / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / months / items / properties / base_total_amount / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / months / items / properties / proof_task_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / months / items / properties / proof_task_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / transactions / items / properties / amount / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / amount / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / transactions / items / properties / base_amount / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / base_amount / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / transactions / items / properties / category / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / category / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / transactions / items / properties / category_key / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / category_key / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / category_source
      Added value: +{
      +  "description": "Who set THIS transaction's category: user, rule, connector or classifier. Null when none is recorded.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / rows / items / properties / transactions / items / properties / currency / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / currency / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / transactions / items / properties / date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / rows / items / properties / transactions / items / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / rows / items / properties / transactions / items / required
      Previous value: -[
      -  "id",
      -  "date",
      -  "description",
      -  "category",
      -  "category_key",
      -  "amount",
      -  "currency",
      -  "base_amount",
      -  "base_currency"
      -]New value: +[
      +  "id",
      +  "date",
      +  "description",
      +  "category",
      +  "category_key",
      +  "category_source",
      +  "amount",
      +  "currency",
      +  "base_amount",
      +  "base_currency"
      +]
    • changedOutput schema / properties / totals_by_currency / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "copies": {
      -          "description": "The part of `gross` that repeats a payment already counted through another connection of the same account.",
      -          "type": "number"
      -        },
      -        "currency": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "The one currency every figure of this set is in. Null for lines that carry no currency."
      -        },
      -        "gross": {
      -          "description": "Every line in this currency, copies and own-account movements included.",
      -          "type": "number"
      -        },
      -        "net": {
      -          "description": "`gross` minus `copies` minus `own_company`. This is the figure to quote.",
      -          "type": "number"
      -        },
      -        "own_company": {
      -          "description": "The part of `gross` that moved between the workspace's own accounts, so it is not spend.",
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "currency",
      -        "gross",
      -        "copies",
      -        "own_company",
      -        "net"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "copies": {
      +          "description": "The part of `gross` that repeats a payment already counted through another connection of the same account.",
      +          "type": "number"
      +        },
      +        "currency": {
      +          "description": "The one currency every figure of this set is in. Null for lines that carry no currency.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "gross": {
      +          "description": "Every line in this currency, copies and own-account movements included.",
      +          "type": "number"
      +        },
      +        "net": {
      +          "description": "`gross` minus `copies` minus `own_company`. This is the figure to quote.",
      +          "type": "number"
      +        },
      +        "own_company": {
      +          "description": "The part of `gross` that moved between the workspace's own accounts, so it is not spend.",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "currency",
      +        "gross",
      +        "copies",
      +        "own_company",
      +        "net"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  6. Changed1 schema field changed
    • addedOutput schema / properties / unattributed_total
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "amount": {
      +          "description": "The sum of the `unknown` and `unnamed_company` groups' `base_total_amount`, in major units.",
      +          "type": "number"
      +        },
      +        "currency": {
      +          "description": "The workspace base currency, the same as `base_currency`.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "amount",
      +        "currency"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The money of the `unknown` and `unnamed_company` groups, summed by Well over their `base_total_amount`, in `base_currency`: the amount of the line for spend with no named supplier. These are the groups the card cannot key or name: a group with no counterparty, a company group with no name, and a named company group with neither a proof task nor a company id. The `net` of `totals_by_currency` holds it, and no row and no `rows_omitted_total` does, so the rows, `rows_omitted_total` and this amount add up to the `net` when `totals_by_currency` holds one set and its currency is `base_currency`. Null when no such group, when one has no figure, or when `candidates_truncated` is true: then give no amount for those groups."
      +}
  7. Changed2 schema fields changed
    • changedOutput schema / properties / rows / items / properties / available_routes / description
      Previous value: -"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_portal_fetch) on WhatsApp when the provider has a portal address, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. A supplier's portal goes through the extension by default. When the person's own message explicitly asks for a background task (« en tâche de fond », « in the background »), a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: offer it as that row's lead, with no computer needed, and start it only on the person's pick."New value: +"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_task with `browser.goal_kind: portal_fetch`) on WhatsApp when the provider has a portal address, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. A supplier's portal goes through the extension by default. When the person's own message explicitly asks for a background task (« en tâche de fond », « in the background »), a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: offer it as that row's lead, with no computer needed, and start it only on the person's pick."
    • addedOutput schema / properties / rows_omitted_total
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "amount": {
      +          "description": "The sum of the left-out rows' `base_total_amount`, in major units.",
      +          "type": "number"
      +        },
      +        "currency": {
      +          "description": "The workspace base currency, the same as `base_currency`.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "amount",
      +        "currency"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The money of the rows the `row_limit` left out, summed by Well over those rows' `base_total_amount`: the amount of the line that counts the other suppliers. It covers the same suppliers `rows_omitted` counts, never the `unknown` or `unnamed_company` groups. Null when no row was left out, when a left-out row has no figure, or when `candidates_truncated` is true: then give the count of the other suppliers alone, with no amount."
      +}
  8. Changed2 schema fields changed
    • changedOutput schema / properties / rows / items / properties / available_routes / description
      Previous value: -"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it."New value: +"Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `cloud_portal_fetch` (Well's cloud browser signs in to the portal with the person's saved login and fetches in the background, well_create_portal_fetch) on WhatsApp when the provider has a portal address, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it. A supplier's portal goes through the extension by default. When the person's own message explicitly asks for a background task (« en tâche de fond », « in the background »), a row that holds `cloud_portal_fetch` takes it in place of `chrome_extension_fetch`: offer it as that row's lead, with no computer needed, and start it only on the person's pick."
    • changedOutput schema / properties / rows / items / properties / available_routes / items / enum
      Previous value: -[
      -  "mail_search",
      -  "chrome_extension_fetch",
      -  "connect_provider",
      -  "manual_upload"
      -]New value: +[
      +  "mail_search",
      +  "chrome_extension_fetch",
      +  "cloud_portal_fetch",
      +  "connect_provider",
      +  "manual_upload"
      +]
  9. Changed8 schema fields changed
    • addedOutput schema / properties / base_currency / description
      Added value: +"The workspace base currency (ISO 4217) of every `base_amount` and `base_total_amount` in the result. Each row, month and transaction repeats it beside its own base figures."
    • changedOutput schema / properties / newly_connected / description
      Previous value: -"Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. Start the reply with one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later."New value: +"Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later."
    • addedOutput schema / properties / rows / items / properties / base_currency
      Added value: +{
      +  "description": "The ISO 4217 code every base amount of this row is in: the workspace base currency, never the transaction's own currency.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / rows / items / properties / months / items / properties / base_currency
      Added value: +{
      +  "description": "The ISO 4217 code every base amount of this month is in: the workspace base currency, never the transaction's own currency.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / rows / items / properties / months / items / required
      Previous value: -[
      -  "calendar_year",
      -  "calendar_month",
      -  "period_label",
      -  "tx_count",
      -  "base_total_amount",
      -  "proof_task_id",
      -  "acquisition_status",
      -  "refusal_reason"
      -]New value: +[
      +  "calendar_year",
      +  "calendar_month",
      +  "period_label",
      +  "tx_count",
      +  "base_total_amount",
      +  "base_currency",
      +  "proof_task_id",
      +  "acquisition_status",
      +  "refusal_reason"
      +]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / base_currency
      Added value: +{
      +  "description": "The ISO 4217 code every base amount of this transaction is in: the workspace base currency, never the transaction's own currency.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / rows / items / properties / transactions / items / required
      Previous value: -[
      -  "id",
      -  "date",
      -  "description",
      -  "category",
      -  "category_key",
      -  "amount",
      -  "currency",
      -  "base_amount"
      -]New value: +[
      +  "id",
      +  "date",
      +  "description",
      +  "category",
      +  "category_key",
      +  "amount",
      +  "currency",
      +  "base_amount",
      +  "base_currency"
      +]
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "domain_resolution",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "available_routes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_url",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "base_currency",
      +  "mode",
      +  "available_modes",
      +  "available_routes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_url",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  10. Changed8 schema fields changed
    • addedInput schema / properties / workspace_scope
      Added value: +{
      +  "description": "Restrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace.",
      +  "enum": [
      +    "family"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / rows / items / properties / available_routes
      Added value: +{
      +  "description": "Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it.",
      +  "items": {
      +    "enum": [
      +      "mail_search",
      +      "chrome_extension_fetch",
      +      "connect_provider",
      +      "manual_upload"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / rows / items / properties / base_total_amount / description
      Previous value: -"Sum in base_currency across every month in `months`; null when an FX rate was missing for any transaction of any of them."New value: +"Sum in base_currency, in major units (not cents), across every month in `months`; null when an FX rate was missing for any transaction of any of them."
    • changedOutput schema / properties / rows / items / properties / months / items / properties / base_total_amount / description
      Previous value: -"This month's sum in `base_currency`; null when an FX rate was missing for any of its transactions."New value: +"This month's sum in `base_currency`, in major units (not cents); null when an FX rate was missing for any of its transactions."
    • changedOutput schema / properties / rows / items / properties / transactions / items / properties / amount / description
      Previous value: -"Signed amount in `currency` — negative when the money leaves the account."New value: +"Signed amount in `currency`, in major units (not cents) — negative when the money leaves the account."
    • changedOutput schema / properties / rows / items / properties / transactions / items / properties / base_amount / description
      Previous value: -"The same amount converted to `base_currency`, still signed. Sum the magnitudes of these to reach `base_total_amount`; null when no FX rate covered the date."New value: +"The same amount converted to `base_currency`, in major units (not cents), still signed. Sum the magnitudes of these to reach `base_total_amount`; null when no FX rate covered the date."
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "domain_resolution",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_url",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "available_routes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_url",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
    • changedOutput schema / properties / totals_by_currency / description
      Previous value: -"The money still missing an invoice, ONE set per currency in the lines' own currency. Quote `net` for the gap and never add, round, halve or convert any figure yourself. `copies` and `own_company` are what `gross` holds that is not a gap: name the `own_company` amount in one line as left out, and never name `copies` to the person. Two currencies are two figures: never merge them. Null when the figures could not be read: then quote no amount at all, and never read null as zero."New value: +"The money still missing an invoice, ONE set per currency in the lines' own currency, in major units (not cents). Quote `net` for the gap and never add, round, halve or convert any figure yourself. `copies` and `own_company` are what `gross` holds that is not a gap: name the `own_company` amount in one line as left out, and never name `copies` to the person. Two currencies are two figures: never merge them. Null when the figures could not be read: then quote no amount at all, and never read null as zero."
  11. Changed1 schema field changed
    • addedOutput schema / properties / newly_connected
      Added value: +{
      +  "description": "Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. Start the reply with one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "type": "string"
      +      },
      +      "service_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "service_id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  12. Changed11 schema fields changed
    • addedInput schema / properties / no_action
      Added value: +{
      +  "description": "true when the person asked for nothing to be fetched or started (\"ne récupère rien\", \"just tell me\", \"don't fetch anything\"). The reply then offers no fetch and shows no action link. Omit it otherwise.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / order
      Added value: +{
      +  "description": "`amount` puts the biggest gap first (by `base_total_amount`, rows without a figure last). Pass it for \"the biggest\", \"the largest\", \"the most expensive\". Omit it for the default order.",
      +  "enum": [
      +    "default",
      +    "amount"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / row_limit
      Added value: +{
      +  "description": "How many rows the person asked for, 1-15. Pass it when the ask names a count (\"the 3 biggest\", \"the top 5\"). Pass 0 when the ask is for the total alone (\"just the total\", \"juste le cumul\"): the result then carries no row and one line is enough. Omit it when the ask names no count.",
      +  "maximum": 15,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / candidates_truncated
      Added value: +{
      +  "description": "True when a month's read hit its line cap, so `rows`, `row_count` and `transaction_count` miss lines. `totals_by_currency` is read apart and still covers every line. Say the list is cut when this is true. With `order` set to `amount`, the rank then covers only the lines read: call the rows the biggest of those lines, never the biggest of the period.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / no_action
      Added value: +{
      +  "description": "The `no_action` the call was made with, echoed.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / order
      Added value: +{
      +  "description": "The `order` the rows are in, echoed.",
      +  "enum": [
      +    "default",
      +    "amount"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / row_count / description
      Previous value: -"Rows in `rows`, which is the DISTINCT counterparties the call found. Never the sum of the months' own `row_count`."New value: +"The DISTINCT counterparties the call found, before any `row_limit` cut `rows`. Never the sum of the months' own `row_count`."
    • addedOutput schema / properties / row_limit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The `row_limit` the call was made with, echoed; null when the ask named none."
      +}
    • addedOutput schema / properties / rows_omitted
      Added value: +{
      +  "description": "Rows the `row_limit` left out of `rows`. Zero when no limit cut the list.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / totals_by_currency
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "copies": {
      +            "description": "The part of `gross` that repeats a payment already counted through another connection of the same account.",
      +            "type": "number"
      +          },
      +          "currency": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The one currency every figure of this set is in. Null for lines that carry no currency."
      +          },
      +          "gross": {
      +            "description": "Every line in this currency, copies and own-account movements included.",
      +            "type": "number"
      +          },
      +          "net": {
      +            "description": "`gross` minus `copies` minus `own_company`. This is the figure to quote.",
      +            "type": "number"
      +          },
      +          "own_company": {
      +            "description": "The part of `gross` that moved between the workspace's own accounts, so it is not spend.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "currency",
      +          "gross",
      +          "copies",
      +          "own_company",
      +          "net"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The money still missing an invoice, ONE set per currency in the lines' own currency. Quote `net` for the gap and never add, round, halve or convert any figure yourself. `copies` and `own_company` are what `gross` holds that is not a gap: name the `own_company` amount in one line as left out, and never name `copies` to the person. Two currencies are two figures: never merge them. Null when the figures could not be read: then quote no amount at all, and never read null as zero."
      +}
    • addedOutput schema / properties / totals_unreadable_count
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Lines with no readable amount. They sit in no figure of `totals_by_currency`. Null with it."
      +}
  13. Changed4 schema fields changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id_note
      Added value: +{
      +  "description": "Present only when the server opened a fresh lane, stating that no choice recorded earlier was read.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id_source
      Added value: +{
      +  "description": "Where the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened.",
      +  "enum": [
      +    "host_meta",
      +    "argument",
      +    "minted"
      +  ],
      +  "type": "string"
      +}
  14. Changed2 schema fields changed
    • changedOutput schema / properties / rows / items / properties / mode / description
      Previous value: -"How the app's card offers to obtain the invoice: agent (a browser agent runs the supplier portal — a published blueprint exists), connect (connect matched_connector_service_id and Well fetches it), upload (the user supplies the file). Already downgraded from suggested_action when the automated route cannot be honoured."New value: +"How the app's card offers to obtain the invoice: agent (a browser agent runs the supplier portal — the provider carries a blueprint OR a real portal URL the agent runs against), connect (connect matched_connector_service_id and Well fetches it), upload (the user supplies the file). Decided from the provider facts: connect wins when a connector matched, else agent when it can run, else upload."
    • changedOutput schema / properties / rows / items / properties / suggested_action / description
      Previous value: -"The backend's raw routing decision, before the downgrade rules."New value: +"The backend's routing decision for the row. `chrome_extension_fetch` when the matched provider can run the browser agent (a blueprint or a real portal URL), `connect_provider` when a connector matched, else `manual_upload`. `mode` is the same decision in the card's vocabulary."
  15. Changed1 schema field changed
    • addedOutput schema / properties / next_step
      Added value: +{
      +  "description": "What to do with the card this result renders. Added by the dispatcher when the card asks for a click.",
      +  "type": "string"
      +}
  16. Changed2 schema fields changed
    • addedOutput schema / properties / rows / items / properties / matched_provider_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "domain_resolution",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_url",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  17. Changed1 schema field changed
    • changedOutput schema / properties / rows / items / properties / logo_url / description
      Previous value: -"The counterparty's mark, resolved in that order: the matched provider's stored logo, else the counterparty company's own stored logo — the one company enrichment resolved from that company's domain — else the mark derived from the matched portal's host. Null when the row matched no portal and its company carries no logo, and the card then draws initials."New value: +"The counterparty's mark: the matched provider's stored logo, else the counterparty company's own stored logo — the one company enrichment resolved from that company's domain. Null when the row matched no provider and its company carries no stored logo. A null here does not mean the card draws initials: the widget is additionally offered a mark derived from the company's own host, which this field never carries."
  18. Changed2 schema fields changed
    • addedOutput schema / properties / rows / items / properties / domain_resolution
      Added value: +{
      +  "description": "The counterparty company's own domain-discovery state: 'resolved' when it already carries a domain (any source); 'pending' when a web-evidence resolve is durably enqueued and still open; 'none' when no domain is known and nothing is in flight.",
      +  "enum": [
      +    "resolved",
      +    "pending",
      +    "none"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  19. Changed15 schema fields changed
    • addedOutput schema / properties / months / items / properties / row_count / description
      Added value: +"Counterparties THIS month is missing an invoice from. A counterparty owing an invoice in several months counts in each of them, so these do not sum to the envelope's `row_count`, which counts each counterparty once."
    • addedOutput schema / properties / row_count / description
      Added value: +"Rows in `rows`, which is the DISTINCT counterparties the call found. Never the sum of the months' own `row_count`."
    • changedOutput schema / properties / rows / description
      Previous value: -"The card's rows — one per counterparty per month, oldest month first, each tagged with its month."New value: +"The card's rows, ONE per counterparty for the whole call, in the order the oldest month listed them, each naming the months it covers in `months`. A counterparty owing an invoice in several of the months read is one row, never one per month."
    • removedOutput schema / properties / rows / items / properties / acquisition_status
      Removed value: -{
      -  "enum": [
      -    "waiting",
      -    "processing",
      -    "mapped",
      -    "refused"
      -  ],
      -  "type": "string"
      -}
    • changedOutput schema / properties / rows / items / properties / base_total_amount / description
      Previous value: -"Sum in base_currency; null when an FX rate was missing for any transaction."New value: +"Sum in base_currency across every month in `months`; null when an FX rate was missing for any transaction of any of them."
    • removedOutput schema / properties / rows / items / properties / calendar_month
      Removed value: -{
      -  "maximum": 9007199254740991,
      -  "minimum": -9007199254740991,
      -  "type": "integer"
      -}
    • removedOutput schema / properties / rows / items / properties / calendar_year
      Removed value: -{
      -  "maximum": 9007199254740991,
      -  "minimum": -9007199254740991,
      -  "type": "integer"
      -}
    • changedOutput schema / properties / rows / items / properties / id / description
      Previous value: -"Stable row key: the proof task id when one exists, else the counterparty company id."New value: +"Stable row key: the counterparty company id, or the proof task id of a gap that resolved no company. One key per counterparty for the whole call, so it never repeats across the months the row covers."
    • addedOutput schema / properties / rows / items / properties / months
      Added value: +{
      +  "description": "The months of the call this counterparty is missing an invoice in, oldest first: one entry, or several when the same counterparty owes an invoice in more than one of them. The envelope's `periods_covered` names every month READ; this names the months THIS row covers.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "acquisition_status": {
      +        "enum": [
      +          "waiting",
      +          "processing",
      +          "mapped",
      +          "refused"
      +        ],
      +        "type": "string"
      +      },
      +      "base_total_amount": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "This month's sum in `base_currency`; null when an FX rate was missing for any of its transactions."
      +      },
      +      "calendar_month": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "calendar_year": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "period_label": {
      +        "description": "The month this row belongs to, e.g. \"June 2026\".",
      +        "type": "string"
      +      },
      +      "proof_task_id": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The close-proof task bound to this month's gap; null until one is minted."
      +      },
      +      "refusal_reason": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "noop_not_proof",
      +              "noop_no_gap_match",
      +              "noop_ambiguous_gaps",
      +              "noop_task_unavailable",
      +              "warn_bridge_error"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Populated only when THIS month's acquisition_status is refused."
      +      },
      +      "tx_count": {
      +        "description": "Transactions this counterparty is missing an invoice for in THIS month alone.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "calendar_year",
      +      "calendar_month",
      +      "period_label",
      +      "tx_count",
      +      "base_total_amount",
      +      "proof_task_id",
      +      "acquisition_status",
      +      "refusal_reason"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / rows / items / properties / period_label
      Removed value: -{
      -  "description": "The month this row belongs to, e.g. \"June 2026\".",
      -  "type": "string"
      -}
    • removedOutput schema / properties / rows / items / properties / proof_task_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "The close-proof task bound to this gap; null until one is minted."
      -}
    • removedOutput schema / properties / rows / items / properties / refusal_reason
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "noop_not_proof",
      -        "noop_no_gap_match",
      -        "noop_ambiguous_gaps",
      -        "noop_task_unavailable",
      -        "warn_bridge_error"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "Populated only when acquisition_status is refused."
      -}
    • changedOutput schema / properties / rows / items / properties / transactions / description
      Previous value: -"The row's own transactions, in ledger order, at most 25 — the same bounded sample the app's card lists under the counterparty."New value: +"The row's own transactions, oldest month first, at most 25 for the WHOLE row: the same bounded sample the app's card lists under the counterparty. A row spanning months carries one sample across them, not one per month."
    • addedOutput schema / properties / rows / items / properties / tx_count / description
      Added value: +"Transactions missing an invoice, summed across every month in `months`."
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "calendar_year",
      -  "calendar_month",
      -  "period_label",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id",
      -  "proof_task_id",
      -  "acquisition_status",
      -  "refusal_reason"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  20. Changed2 schema fields changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Target workspace. Omit to use the only authorized workspace, or (for read tools) to query all authorized workspaces grouped by workspace. Required for write tools when the token authorizes more than one workspace."New value: +"Target workspace. This read reports one workspace's own data. Omit it and the token's primary workspace answers, which may not be the one you mean; the result names the workspace that did."
    • addedOutput schema / properties / resolved_workspace
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The workspace that answered, when the caller named none and the token authorizes several.",
      +  "properties": {
      +    "name": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "workspace_id": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "workspace_id",
      +    "name"
      +  ],
      +  "type": "object"
      +}
  21. Changed11 schema fields changed
    • changedOutput schema / properties / dropped_groups / properties / bank_internal / description
      Previous value: -"Party-less bank operations — nothing to collect."New value: +"GROUPS of party-less bank operations — nothing to collect. One group per month that held any, NOT a count of operations: never quote this number as a quantity of bank operations."
    • changedOutput schema / properties / dropped_groups / properties / unknown / description
      Previous value: -"Spend with no resolved counterparty."New value: +"GROUPS of spend with no resolved counterparty. One group per month that held any, NOT a count of transactions or of counterparties."
    • changedOutput schema / properties / dropped_groups / properties / unnamed_company / description
      Previous value: -"Counterparties the card cannot render (no name or no key)."New value: +"GROUPS the card cannot render (no name or no key) — one per company, NOT a count of transactions."
    • changedOutput schema / properties / months / items / properties / dropped_groups / properties / bank_internal / description
      Previous value: -"Party-less bank operations — nothing to collect."New value: +"GROUPS of party-less bank operations — nothing to collect. One group per month that held any, NOT a count of operations: never quote this number as a quantity of bank operations."
    • changedOutput schema / properties / months / items / properties / dropped_groups / properties / unknown / description
      Previous value: -"Spend with no resolved counterparty."New value: +"GROUPS of spend with no resolved counterparty. One group per month that held any, NOT a count of transactions or of counterparties."
    • changedOutput schema / properties / months / items / properties / dropped_groups / properties / unnamed_company / description
      Previous value: -"Counterparties the card cannot render (no name or no key)."New value: +"GROUPS the card cannot render (no name or no key) — one per company, NOT a count of transactions."
    • addedOutput schema / properties / rows / items / properties / available_modes
      Added value: +{
      +  "description": "Every collection method this counterparty offers, agent first and upload last — 2 or 3 entries, never one. `agent` and `upload` stand for every row; `connect` joins them only when the catalog holds a connector for the matched provider, which is exactly what a non-null matched_connector_service_id reports. `mode` names the ONE route the card suggests, this names all the routes the user may pick.",
      +  "items": {
      +    "enum": [
      +      "agent",
      +      "connect",
      +      "upload"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / rows / items / properties / logo_url / description
      Previous value: -"The matched provider's logo; null when unmatched."New value: +"The counterparty's mark, resolved in that order: the matched provider's stored logo, else the counterparty company's own stored logo — the one company enrichment resolved from that company's domain — else the mark derived from the matched portal's host. Null when the row matched no portal and its company carries no logo, and the card then draws initials."
    • addedOutput schema / properties / rows / items / properties / transactions
      Added value: +{
      +  "description": "The row's own transactions, in ledger order, at most 25 — the same bounded sample the app's card lists under the counterparty.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amount": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Signed amount in `currency` — negative when the money leaves the account."
      +      },
      +      "base_amount": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The same amount converted to `base_currency`, still signed. Sum the magnitudes of these to reach `base_total_amount`; null when no FX rate covered the date."
      +      },
      +      "category": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Display label of THIS transaction's management category, not the group's. Null when uncategorized."
      +      },
      +      "category_key": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Stable taxonomy key of the same category — branch on this, never on the label. Null when off-catalog."
      +      },
      +      "currency": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "date": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The day the transaction posts under (YYYY-MM-DD); null when it carries no date."
      +      },
      +      "description": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The bank's remittance text — what distinguishes one line from the next. Null when the row carries none."
      +      },
      +      "id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "date",
      +      "description",
      +      "category",
      +      "category_key",
      +      "amount",
      +      "currency",
      +      "base_amount"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / rows / items / properties / transactions_omitted
      Added value: +{
      +  "description": "How many of the row's transactions the cap left out: `tx_count` minus the listed ones.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "calendar_year",
      -  "calendar_month",
      -  "period_label",
      -  "tx_count",
      -  "base_total_amount",
      -  "mode",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id",
      -  "proof_task_id",
      -  "acquisition_status",
      -  "refusal_reason"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "calendar_year",
      +  "calendar_month",
      +  "period_label",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id",
      +  "proof_task_id",
      +  "acquisition_status",
      +  "refusal_reason"
      +]
  22. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint/openWorldHint=false/destructiveHint=false, and the description adds real behavior on top: no batch endpoint so each month is a separate read, `totals_by_currency: null` means figures are unreadable (never zero), `candidates_truncated` still carries full figures, and the explicit statement that it mints no tasks, starts no close, connects nothing and fetches nothing. It also discloses the per-row 25-transaction cap and `transactions_omitted`.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is correctly front-loaded, but the body runs to roughly a thousand words across a dozen paragraphs, and large stretches (rows/months shapes, `dropped_groups` semantics, `possible_duplicate_pairs` framing, currency-symbol rendering rules) restate an output schema that already exists. Many sentences are agent-facing rendering and quoting policy ("NEVER add, subtract, round, halve or convert", "never name `copies` to the person") rather than tool selection or invocation facts, so they do not earn their place here.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter read tool with an output schema, nothing material is missing: period forms, refusal rules, per-month cost, truncation flags, the `unknown`/`unnamed_company` coverage caveat, categorization-coverage disclosure, and the base-currency vs transaction-currency distinction are all covered. The description errs on the side of over-completeness rather than gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema carries the field-level definitions; the description still adds non-schema constraints, notably that the period must be named ONE way (mutually exclusive calendar/fiscal/periods forms), that `row_limit: 0` means "just the total" with no rows returned, and how `no_action` vs `listed_in_reply` differ. It stops short of adding anything for `workspace_scope` or `conversation_id` beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource ("List the supplier invoices a past period is still missing — the settled spend whose invoice has not been collected, one row per counterparty") and anchors the shape to the Well expense-invoices card. It explicitly separates itself from `well_list_connectors` (routes, not gaps) and from `well_list_periods`, so an agent can pick it out without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names the triggering question ("which invoices am I missing for <month>?"), the downstream use (input to fetching), and an explicit non-use with the alternative tool to call instead. It also states the refusal conditions (no period named and none selected, current/future month, period 13, duplicates) and the cost rule ("Ask for the months the user actually named, not a whole year 'to be safe'"), which is stronger than typical when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources