account_groups_create
ChatGPTPOST /companies/{companyId}/account_groups
account_groups_delete
ChatGPTDELETE /companies/{companyId}/account_groups/{accountGroupId}
account_groups_get
ChatGPTGET /companies/{companyId}/account_groups/{accountGroupId}
account_groups_list
ChatGPTGET /companies/{companyId}/account_groups
account_groups_merge
ChatGPTPOST /companies/{companyId}/account_groups/merge
account_groups_reorder
ChatGPTPUT /companies/{companyId}/account_groups/reorder
account_groups_update
ChatGPTPUT /companies/{companyId}/account_groups/{accountGroupId}
accounts_archive
ChatGPTArchive an account. It drops out of the app's account lists and pickers while its transactions and history stay intact, which is the right move for a closed bank account. Reversible with /unarchive.
accounts_balances
ChatGPTGET /companies/{companyId}/accounts/balances
accounts_change_group
ChatGPTMove one account into a different account group, or send accountGroupId: null to take it out of every group. Grouping is presentational and does not affect balances. Use /accounts/reorder when you also need to set the position inside the target group. Fails with 404 if the account or the group does not exist.
accounts_create
ChatGPTPOST /companies/{companyId}/accounts
accounts_daily_balance
ChatGPTGET /companies/{companyId}/accounts/daily_balance
accounts_delete
ChatGPTDELETE /companies/{companyId}/accounts/{accountId}
accounts_delete_preview
ChatGPTPreview what deleting an account would do to transfers in other accounts, without changing anything. Deleting an account removes its transactions, and a transfer in another account whose counterpart sat on it loses its link and shows as open again. That holds for direct links and for transfers routed through a transit account, whose transit bookings are removed as well. A counter transaction SaaSFlow created automatically for one of this account's transfers is deleted instead. Call this before DELETE /accounts/{accountId} to tell the user which accounts are affected.
accounts_get
ChatGPTGET /companies/{companyId}/accounts/{accountId}
accounts_initial_balance
ChatGPTGet the account's initial-balance seed, the synthetic transaction that carries whatever the account held before its first imported transaction. Returns { transaction: null } when no seed exists, which is the usual reason a running balance looks right in shape but wrong by a constant amount.
accounts_list
ChatGPTGET /companies/{companyId}/accounts
accounts_remove_history
ChatGPTPOST /companies/{companyId}/accounts/{accountId}/remove_history
accounts_remove_history_bulk
ChatGPTPermanently delete transactions before beforeDate on the listed accounts and set the company data start date, so reporting begins from a clean, fully covered period. Each collapsed account gets an initial-balance seed so its running balance still ends up right; supply initialBalances for accounts with no existing seed, such as CSV wallets whose uploads started late, otherwise the seed is derived from the recorded sum. Pass an empty accountIds to only move the data start date. Accounts left with no transactions are archived and returned in archivedAccountIds. Transit accounts are refused with 422. This cannot be undone, so preview first.
accounts_remove_history_preview
ChatGPTPreview what cutting off history before a date would do, without changing anything. Returns per-account transaction counts and date ranges, plus suggestedDate: the earliest date from which every account has data, which is the point where the books stop having gaps. Loan accounts are ignored when computing it, since their data only spans payout to final repayment and a late loan is not a coverage gap. Only accounts with transactions are listed, and transit accounts are left out. Always run this before remove_history.
accounts_reorder
ChatGPTReorder accounts inside one group, and move them into it in the same call. Every id in accountIds is assigned to accountGroupId (null for the ungrouped list) and given an order matching its position, so send the full contents of the target group rather than just the account that moved. Fails with 404 if the group does not exist.
accounts_set_archive
ChatGPTPUT /companies/{companyId}/accounts/{accountId}/archive
accounts_set_change_group
ChatGPTPUT /companies/{companyId}/accounts/{accountId}/change_group
accounts_set_initial_balance
ChatGPTSet or correct the account's opening balance, creating the seed transaction if there is none. value is the balance on date in the account's default currency, not a delta. The date has to fall strictly before every other transaction on the account: otherwise you get 422 with initial_balance_not_first and the earliestDate to go before. Accounts managed by an integration that does not allow hand-set balances are refused with integration_managed.
accounts_set_switch_to_manual
ChatGPTPUT /companies/{companyId}/accounts/{accountId}/switch_to_manual
accounts_set_unarchive
ChatGPTPUT /companies/{companyId}/accounts/{accountId}/unarchive
accounts_switch_to_manual
ChatGPTDetach an account from the integration feeding it and make it manually managed. Existing transactions stay; new ones stop arriving automatically and the account becomes editable by hand. Use this when a bank connection is being retired but its history should survive. Reconnecting later means setting the integration up again.
accounts_unarchive
ChatGPTBring an archived account back into the active lists. Nothing about its transactions changes; only its visibility does.
accounts_update
ChatGPTPUT /companies/{companyId}/accounts/{accountId}
background_tasks_get
ChatGPTGET /companies/{companyId}/background_tasks/{id}
background_tasks_list
ChatGPTGET /companies/{companyId}/background_tasks
categories_batch_delete
ChatGPTPOST /companies/{companyId}/categories/batch_delete
categories_create
ChatGPTPOST /companies/{companyId}/categories
categories_delete
ChatGPTDELETE /companies/{companyId}/categories/{categoryId}
categories_get
ChatGPTGET /companies/{companyId}/categories/{categoryId}
categories_list
ChatGPTGET /companies/{companyId}/categories
categories_merge
ChatGPTPOST /companies/{companyId}/categories/merge
categories_reorder
ChatGPTPUT /companies/{companyId}/categories/reorder
categories_update
ChatGPTPUT /companies/{companyId}/categories/{categoryId}
categorization_suggestions_apply
ChatGPTApply a reviewed batch of categorization suggestions in one call. Counterparties that do not exist yet go in vendorsToCreate and customersToCreate with a tempId; suggestions reference that same tempId, and the response maps each one to the real id it was created as. A suggestion pointing at a tempId that was never declared fails the whole request with 400. Creating counterparties needs vendors:write or customers:write on top of transactions:write. The result counts what landed and what was skipped. A transaction is skipped when it is unknown to this company, still pending, or already categorized, including by an earlier suggestion in the same request, so overlapping suggestions never silently overwrite each other.
companies_get
ChatGPTGET /companies/{companyId}
companies_list
ChatGPTGET /companies
companies_update
ChatGPTPUT /companies/{companyId}
company_users_list
ChatGPTList the people with an actual membership in a company, with their role and when they were last seen. id and userId both carry the SaaSFlow user id, which is what the role and remove endpoints expect. A null lastSeenTime means they have never opened the app. Pending invitations are not memberships and do not appear here, so someone who was invited but never accepted is missing from this list rather than showing up inactive.
company_users_remove
ChatGPTRemove someone from a company. Their user account survives, they just lose access to this company, and the data they created stays. Removing yourself is refused with 403.
company_users_set_role
ChatGPTChange a member's role, and optionally their explicit permissions. Leave permissions out to keep whatever they have, send an array to pin an exact allowlist, or send null to drop back to the role's preset. Nobody can edit their own membership through this endpoint (403), which is what stops an owner locking themselves out.
counterparties_search
ChatGPTGET /companies/{companyId}/counterparties/search
customers_batch_delete
ChatGPTPOST /companies/{companyId}/customers/batch_delete
customers_create
ChatGPTPOST /companies/{companyId}/customers
customers_delete
ChatGPTDELETE /companies/{companyId}/customers/{customerId}
customers_external_ids
ChatGPTGET /companies/{companyId}/customers/{customerId}/external-ids
customers_get
ChatGPTGET /companies/{companyId}/customers/{customerId}
customers_linked_systems
ChatGPTThe integrations at least one customer is linked to, as the values the list endpoint accepts for linkedTo (e.g. ["digistore24", "stripe"]). Empty when no customer carries an external id.
customers_list
ChatGPTGET /companies/{companyId}/customers
customers_merge
ChatGPTPOST /companies/{companyId}/customers/merge
customers_set_external_ids
ChatGPTPUT /companies/{companyId}/customers/{customerId}/external-ids
customers_update
ChatGPTPUT /companies/{companyId}/customers/{customerId}
dashboard_widgets_list
ChatGPTList the widgets a custom dashboard can hold: id, name, category, a one-line description, the default size on the 12-column grid, and the permissions a viewer needs to see it. Use the ids in dashboards_create and dashboards_update.
dashboards_create
ChatGPTCreate a custom dashboard owned by the person, for example a board meeting view or a cash overview. Pick widgets from dashboard_widgets_list and add headlines between sections. Returns the link to open it. Sharing it with teammates happens in the app.
dashboards_delete
ChatGPTDelete a dashboard for everyone it is shared with, including its share links. Only its owners can. The widgets and their data are not affected.
dashboards_get
ChatGPTRetrieve one dashboard with its entries: widget ids and section headlines with their grid position (x and w in columns of 12, y and h in rows). To read the numbers behind a widget, use the data_* tools.
dashboards_list
ChatGPTList the custom dashboards shared with the person, with their access and the link to open each one. Entries are left out; dashboards_get has them. Dashboards nobody shared with the person are not listed, even for a company owner. Needs a person's connection: an API key gets 403.
dashboards_update
ChatGPTRename a dashboard or replace its entries. entries replaces the whole list, so read the dashboard first and send it back with your changes; entries you send without a position are laid out after the positioned ones. Needs editor access.
data_accountBalanceByAccount
ChatGPTUse this when the user asks for current balances broken down per bank or cash account. Requires permissions: balances:read.
data_accountBalanceKpis
ChatGPTUse this when the user asks for cash/bank account balance KPIs (current, start, end, change). Requires permissions: balances:read.
data_analytics
ChatGPTUse this when the user asks for summary SaaS metrics (MRR, NRR, GRR, churn, LTV, CAC) over a period. Requires permissions: financials:read.
data_balanceByCashType
ChatGPTUse this when the user asks how balances are split across cash types (operating, reserve, savings, etc.). Requires permissions: balances:read.
data_balanceTimeSeries
ChatGPTUse this when the user asks for cash/bank balances charted over time. Requires permissions: balances:read.
data_benchmarks
ChatGPTUse this when the user asks how the company compares with SaaS peers: growth, retention, churn, gross margin, Rule of 40, CAC payback and burn multiple, each graded green, yellow or red against peer quartiles for the company's ARR stage and ACV segment. Pass arrStage or acvSegment to compare against another peer group. Permissions follow the metrics asked for, as in the analytics slice. Requires permissions: subscriptions:read, financials:read.
data_cashFlowByCategory
ChatGPTUse this when the user asks which categories drive cash inflows or outflows in a period. Requires permissions: transactions:read.
data_cashFlowTimeSeries
ChatGPTUse this when the user asks for cash inflows and outflows over time. Requires permissions: transactions:read, balances:read.
data_cohortCustomers
ChatGPTUse this when the user asks which customers make up one cohort, or what is behind a single cell of the cohorts matrix. One cohort month and one target month per call; for the whole matrix use cohorts. Requires permissions: subscriptions:read, customers:read.
data_cohorts
ChatGPTUse this when the user asks about customer retention or revenue retention by cohort. Requires permissions: subscriptions:read, customers:read.
data_customerChanges
ChatGPTUse this when the user asks which customers changed (new/upgraded/downgraded/churned) in a period. Requires permissions: subscriptions:read, customers:read.
data_customerMonthlyData
ChatGPTUse this when the user asks for one customer's month-by-month metrics or activity. Requires permissions: subscriptions:read, customers:read.
data_customerMrr
ChatGPTUse this when the user asks for MRR broken down per customer, or which customers contribute the most MRR. Requires permissions: subscriptions:read, customers:read.
data_forecastBalanceTimeSeries
ChatGPTUse this when the user asks where the bank balance is heading: the actual balance up to the cutover, then a projection built from planned transactions. Use balanceTimeSeries for actual balances alone. Requires permissions: transactions:read, balances:read.
data_forecastCashFlowTimeSeries
ChatGPTUse this when the user asks for cash inflows and outflows that run past today, i.e. actuals up to the cutover and planned transactions after it. Use cashFlowTimeSeries when the window ends in the past. Requires permissions: transactions:read, balances:read.
data_metricDefinitions
ChatGPTUse this when the user asks how a SaaS metric is defined or calculated (formula, inputs, windows, caps). Static definitions only; use the analytics slice for values. Permissions follow the metrics named, as in the analytics slice; omitting metricNames returns every definition and needs both permissions. Requires permissions: subscriptions:read, financials:read.
data_metricExplanation
ChatGPTUse this when the user asks why a metric has its value or how it was computed for a specific month: returns the formula with every part resolved to its real number, the engine value, and any cap or adjustment that made them differ. Permissions follow the explained metric, as in the analytics slice. Requires permissions: subscriptions:read, financials:read.
data_monthlyData
ChatGPTUse this when the user asks for month-by-month revenue, churn, new/upgrade/downgrade breakdowns, or movement summaries. Requires permissions: subscriptions:read.
data_mrrAtDate
ChatGPTUse this when the user asks for total MRR (or committed MRR) on a specific date. Requires permissions: subscriptions:read.
data_mrrByProduct
ChatGPTUse this when the user asks how MRR is distributed across products or plans. Requires permissions: subscriptions:read.
data_mrrChangeEvents
ChatGPTUse this when the user asks for individual MRR change events (new, expansion, contraction, churn) in a period. Requires permissions: subscriptions:read.
data_mrrData
ChatGPTUse this when the user asks how MRR has changed over time, MRR trend, or monthly recurring revenue history. Requires permissions: subscriptions:read.
data_periodDetails
ChatGPTUse this when the user asks for the detailed breakdown of a single period (transactions, categorizations, totals). Requires permissions: transactions:read.
data_profitLossData
ChatGPTUse this when the user asks for a P&L statement (revenue, costs, gross/operating/net profit) for a period. Requires permissions: financials:read.
data_recurring_transactions
ChatGPTUse this when the user asks which subscriptions or other recurring costs the company pays, or wants to find ones nobody remembers signing up to. Detects series of charges to the same vendor at a stable amount, one interval apart, across the whole transaction history. Returns one row per series (vendor, amount, frequency, active or inactive, first and last charge). Set includeItems to also get every charge. Unrelated to planned transactions, which a user enters by hand. Needs transactions:read.
data_retentionCohortDetail
ChatGPTUse this when the user asks for the customer-level detail behind a specific retention cohort cell. Requires permissions: subscriptions:read, customers:read.
data_revenueExpenses
ChatGPTUse this when the user asks for revenue vs. expenses (P&L summary) for a period. Requires permissions: financials:read.
data_revenueExpensesBar
ChatGPTUse this when the user asks for revenue/expenses charted month-over-month as bars. Requires permissions: financials:read.
data_revenueExpensesByCategory
ChatGPTUse this when the user asks which categories drive revenue or expenses over a period. Requires permissions: financials:read.
data_topExpenseVendors
ChatGPTUse this when the user asks for the top expense vendors over a period. Requires permissions: financials:read.
data_valuation
ChatGPTUse this when the user asks what the company could be worth: an ARR multiple range from growth, net revenue retention, gross margin and burn multiple against peers, for a fundraising or an acquisition lens. Pass scenario to see how other driver values would move it. An orientation, not a fairness opinion. Requires permissions: subscriptions:read, financials:read.
files_batch_delete
ChatGPTPOST /companies/{companyId}/files/batch_delete
files_delete
ChatGPTDELETE /companies/{companyId}/files/{fileId}
files_download
ChatGPTGET /companies/{companyId}/files/{fileId}/download
files_get
ChatGPTGET /companies/{companyId}/files/{fileId}
files_list
ChatGPTGET /companies/{companyId}/files
files_update
ChatGPTPUT /companies/{companyId}/files/{fileId}
files_upload
ChatGPTPOST /companies/{companyId}/files/upload
financial_categories_list
ChatGPTCategory labels and P&L assignments for financial views, without transaction usage counts.
get_company
ChatGPTUse this when the user asks for details about a specific company (name, settings, plan, etc.). Falls back to the server-configured default company when companyId is omitted.
get_transaction
ChatGPTUse this when the user references a specific transaction id and wants its details (amount, date, counterparty, category).
integrations_connect_link
ChatGPTGet a link that opens the connect dialog for one provider in the SaaSFlow app, for the person to finish: they sign in with the provider there (Stripe, HubSpot, Salesforce, Slack, Digistore24) or upload its export (Pleo, Finway, DATEV payroll; with the file in hand, integrations_upload does that without the person). provider bank opens the bank connection dialog. Pass integrationId instead to reconnect an integration whose status is error. Connecting needs a company role that manages integrations, which the app checks when the person opens the link. Afterwards poll integrations_list (banks: accounts_list) until the new integration shows initialSetupComplete true; the first import can take a few minutes.
integrations_delete
ChatGPTDELETE /companies/{companyId}/integrations/{integrationId}
integrations_get
ChatGPTGET /companies/{companyId}/integrations/{integrationId}
integrations_list
ChatGPTGET /companies/{companyId}/integrations
integrations_sync
ChatGPTPull new data from a connected provider now instead of waiting for the next scheduled sync: Stripe and Digistore24 fetch recent changes, PayPal continues its import, HubSpot refreshes subscriptions, EBICS fetches the statements the bank has ready, Finway reads its closed wallet statements and expenses when a Finway login is connected (no task id: it runs in a few minutes and records its outcome on the integration). Returns the background task id (see background_tasks_list); a sync already queued is not queued twice. 409 while the first import is still running. Upload-based integrations and Slack have nothing to pull (400).
list_companies
ChatGPTUse this when the user asks which companies they have access to, or before invoking any company-scoped tool when no companyId is known.
list_company_users
ChatGPTUse this when the user asks who has access to a company, or wants to list team members and their roles.
list_customers
ChatGPTUse this when the user asks to browse or list customers (e.g. "show me my biggest customers"). For revenue analytics across customers, prefer data_customerMrr or data_cohorts.
list_transactions
ChatGPTUse this when the user asks to browse, filter, or paginate through transactions. Supports limit (1-500), offset, and accountId filter. Do not use for aggregations — use a data_* tool instead.
logo_delete
ChatGPTDelete the uploaded company logo. The company shows the logo of its website domain again, or its initials when it has none. Succeeds when no logo was uploaded.
logo_update
ChatGPTUpload the company's logo. It replaces the logo SaaSFlow takes from the website domain wherever the company is shown, until you delete it again. Send a PNG of at most 1024×1024 pixels and 512 KB as base64 in imageBase64; a square image of 256×256 pixels works best. Returns the updated company, whose customLogoPath points at the new image.
notifications_batch_delete
ChatGPTPOST /companies/{companyId}/notifications/batch_delete
notifications_create
ChatGPTPOST /companies/{companyId}/notifications
notifications_list
ChatGPTGET /companies/{companyId}/notifications
notifications_mark_all_read
ChatGPTMark every visible unread notification for the calling user in this company as read, and return how many rows changed. Other users' notifications are untouched.
notifications_mark_read
ChatGPTMark one notification as read and return the updated row. Returns 404 if the notification does not exist or the caller cannot read it.
notifications_mark_unread
ChatGPTMark one notification as unread again, putting it back in the bell menu. Returns 404 if the notification does not exist or the caller cannot read it.
notifications_read_all
ChatGPTPUT /companies/{companyId}/notifications/read-all
notifications_set_read
ChatGPTPUT /companies/{companyId}/notifications/{notificationId}/read
notifications_set_unread
ChatGPTPUT /companies/{companyId}/notifications/{notificationId}/unread
plan_items_create
ChatGPTPOST /companies/{companyId}/plan_items
plan_items_delete
ChatGPTDELETE /companies/{companyId}/plan_items/{planItemId}
plan_items_get
ChatGPTGET /companies/{companyId}/plan_items/{planItemId}
plan_items_list
ChatGPTGET /companies/{companyId}/plan_items
plan_items_update
ChatGPTPUT /companies/{companyId}/plan_items/{planItemId}
planned_transaction_occurrences_list
ChatGPTGET /companies/{companyId}/planned_transaction_occurrences
planned_transactions_create
ChatGPTPOST /companies/{companyId}/planned_transactions
planned_transactions_delete
ChatGPTDELETE /companies/{companyId}/planned_transactions/{plannedTransactionId}
planned_transactions_get
ChatGPTGET /companies/{companyId}/planned_transactions/{plannedTransactionId}
planned_transactions_list
ChatGPTGET /companies/{companyId}/planned_transactions
planned_transactions_update
ChatGPTPUT /companies/{companyId}/planned_transactions/{plannedTransactionId}
product_groups_create
ChatGPTCreate a product group. order is required and sets the position in the list; pass a number higher than every existing group to append at the end. Assign products to it with PUT /products/{productId}/change_group.
product_groups_delete
ChatGPTDelete a product group. Move every product out of the group first (PUT /products/{productId}/change_group), otherwise the delete fails on the foreign key from products. Archive the group with PUT if you only want it hidden.
product_groups_get
ChatGPTRetrieve a single product group by id. Returns 404 if the group does not exist or belongs to another company.
product_groups_list
ChatGPTList a company's product groups. Product groups bundle related products so revenue reporting can roll up by group instead of by individual product. Archived groups are included; filter on archived for the active ones. Results come back unsorted, so sort by order ascending to match the app.
product_groups_reorder
ChatGPTSet the display order of product groups. Pass every group id in the order you want them shown; each group's order becomes its position in the array. Send the full list, because groups you omit keep their old order and can end up interleaved.
product_groups_update
ChatGPTRename a product group or archive it. Archiving hides the group without changing the products assigned to it.
products_change_group
ChatGPTMove one product into a different product group, or send productGroupId: null to take it out of every group. Use /products/reorder instead when you also need to set the position inside the target group. Fails with 404 if the product or the group does not exist.
products_create
ChatGPTPOST /companies/{companyId}/products
products_delete
ChatGPTDELETE /companies/{companyId}/products/{productId}
products_external_ids
ChatGPTGET /companies/{companyId}/products/{productId}/external-ids
products_get
ChatGPTGET /companies/{companyId}/products/{productId}
products_linked_systems
ChatGPTThe integrations at least one product is linked to, as the values the list endpoint accepts for linkedTo (e.g. ["digistore24", "stripe"]). Empty when no product carries an external id.
products_list
ChatGPTGET /companies/{companyId}/products
products_reorder
ChatGPTReorder products inside one group, and move them into it in the same call. Every id in productIds is assigned to productGroupId (send null for the ungrouped list) and given an order matching its position. This is the endpoint behind drag-and-drop between groups, so send the full contents of the target group, not just the product that moved. Fails with 404 if the group does not exist.
products_set_external_ids
ChatGPTPUT /companies/{companyId}/products/{productId}/external-ids
products_update
ChatGPTPUT /companies/{companyId}/products/{productId}
reports_create
ChatGPTStart generating a performance report for one month. This returns as soon as the agent run is queued, giving back a reportId to poll and a runId for following the agent, so the document is not ready yet. Only one report generates per company at a time (409), and there is a per-company rate limit (429, with retryAt when it can be retried).
reports_delete
ChatGPTDelete a report and its superseded versions. A report that is still generating returns 409; wait for the run to finish before removing it.
reports_get
ChatGPTRetrieve one report, including its rendered document once generation has finished. Poll this after starting a report: until it is ready the document is absent and only the status tells you where it is. Returns 404 if the report does not exist or belongs to another company.
reports_list
ChatGPTList a company's performance reports, newest first. The rendered document is left out here to keep the list light, so read a single report to get it. Reports are generated per month by an agent and a row appears as soon as generation starts, which means status can still be pending when you list.
reports_patch
ChatGPTRename a report. Only the display title changes; the document and its numbers are untouched. A report that is still generating cannot be renamed and returns 409.
reports_versions_get
ChatGPTRetrieve one superseded report version with its full document, for reading what an earlier run of the same report actually said. Returns 404 if the version does not exist or does not belong to this report.
reports_versions_list
ChatGPTList the superseded versions of a report, oldest first. Regenerating a report keeps what it replaced, so this is the audit trail of how the numbers and commentary changed. Documents are omitted; fetch a single version for its document. The current version is not in this list, it is the report itself.
run_data_batch
ChatGPTUse this when the user needs multiple aggregations (MRR, cash flow, balances, etc.) in one round trip. Pass an array of slice descriptors {type, _id?, ...params}. Prefer dedicated data_* tools for single aggregations.
search
ChatGPTUse this when the user is looking for something by name or free-text (a customer, vendor, account, or specific transaction) and the exact id is unknown. Returns results across transactions, customers, vendors, and accounts.
stripe_mrr_comparisons_get
ChatGPTRetrieve one MRR comparison run with a row per subscription. Each row carries the Stripe figure under each of Stripe's two discount settings, the reason Stripe counts nothing where that is the case, and SaaSFlow's MRR and cMRR. A row whose stripe.state is unsupported has no Stripe figure and must not be read as zero. Amounts are in the subscription's own currency. Poll this after starting a run until status leaves running.
stripe_mrr_comparisons_list
ChatGPTList the company's Stripe connections with their saved MRR comparison runs, newest first. A run recalculates the MRR Stripe's Billing analytics reports for the connected account and stores it next to SaaSFlow's MRR and cMRR for the same subscriptions. The rows are left out here; read a single run to get them. The last 10 runs per connection are kept.
subscription_events_create
ChatGPTPOST /companies/{companyId}/subscription_events
subscription_events_delete
ChatGPTDELETE /companies/{companyId}/subscription_events/{eventId}
subscription_events_list
ChatGPTGET /companies/{companyId}/subscription_events
subscription_events_update
ChatGPTPUT /companies/{companyId}/subscription_events/{eventId}
subscriptions_create
ChatGPTPOST /companies/{companyId}/subscriptions
subscriptions_delete
ChatGPTDELETE /companies/{companyId}/subscriptions/{subscriptionId}
subscriptions_get
ChatGPTGET /companies/{companyId}/subscriptions/{subscriptionId}
subscriptions_list
ChatGPTGET /companies/{companyId}/subscriptions
subscriptions_reimport
ChatGPTRead one subscription again from Stripe or HubSpot, for when it looks wrong in SaaSFlow after a change at the source (a plan switch, a corrected start date). Runs in the background and usually lands within a minute; read the subscription again afterwards. Subscriptions without an externalId were entered in SaaSFlow and have nothing to reread (400).
subscriptions_update
ChatGPTPUT /companies/{companyId}/subscriptions/{subscriptionId}
transactions_batch_delete
ChatGPTPOST /companies/{companyId}/transactions/batch_delete
transactions_batch_edit
ChatGPTPOST /companies/{companyId}/transactions/batch_edit
transactions_categorization_status
ChatGPTGiven up to 10,000 transaction ids, return which of them are still open and the amount of each. Built for review tooling that produced suggestions a while ago and needs to know what is still worth applying before showing it. "Open" is broader than uncategorized: it also covers rows whose categorizations do not sum to the amount, and incomplete transfers. amountsById covers every id that exists in this company, so a cluster total can be computed here rather than trusted from the caller.
transactions_create
ChatGPTPOST /companies/{companyId}/transactions
transactions_create_counter_transaction
ChatGPTPOST /companies/{companyId}/transactions/create_counter_transaction
transactions_delete
ChatGPTDELETE /companies/{companyId}/transactions/{transactionId}
transactions_get
ChatGPTGET /companies/{companyId}/transactions/{transactionId}
transactions_import
ChatGPTPOST /companies/{companyId}/transactions/import
transactions_link_stripe_invoices
ChatGPTBook one or more Stripe invoices onto the transaction that paid them, taking the service period, tax split and customer from each invoice instead of the payment date. Pass several ids when one transfer settled several invoices. Re-linking an invoice replaces only the categorizations it produced, so anything categorized by hand is kept. If the payer settled for a different amount than was invoiced, the difference is left uncategorized and the transaction stays open, because only the customer knows what the difference was.
transactions_link_transfer
ChatGPTPOST /companies/{companyId}/transactions/link_transfer
transactions_list
ChatGPTGET /companies/{companyId}/transactions
transactions_search
ChatGPTPOST /companies/{companyId}/transactions/search
transactions_selection_summary
ChatGPTCount and sum a transaction selection without fetching the rows, which is what makes "1,284 selected, €412,900" possible over a filter that matches more than one page. Sums are per currency and never converted, so a multi-currency selection returns several entries. partialSums appears only when category-level filters mean some transactions match on part of their amount, for instance one leg of a split categorization; without it, every transaction counted in full.
transactions_stripe_invoice_candidates
ChatGPTList Stripe invoices this payment might have settled, strongest evidence first. Only invoices that were paid outside Stripe and are not yet linked to a transaction are offered, because anything Stripe collected itself already has its revenue booked. evidence says why a row is being offered: reference means the payment text quotes that invoice number, amountAndDate means only the figures line up.
transactions_stripe_invoice_link_availability
ChatGPTWhether the company has any Stripe invoice that was paid outside Stripe and is not yet linked to a transaction. Drives whether the "Link Stripe invoice" action is shown: a company whose customers always pay through Stripe has nothing to link.
transactions_transfer_chain
ChatGPTResolve the full path of a linked transfer, ordered from source to destination. Money moving between two accounts is two transactions, and when the legs cannot be matched directly SaaSFlow routes them through a transit account, which puts extra hops in between. This returns every node on that path so the whole movement can be shown as one thing. nodes is empty when the categorization is not a linked transfer.
transactions_uncategorize
ChatGPTPOST /companies/{companyId}/transactions/uncategorize
transactions_unlink_transfer
ChatGPTPOST /companies/{companyId}/transactions/unlink_transfer
transactions_update
ChatGPTPUT /companies/{companyId}/transactions/{transactionId}
users_delete
ChatGPTDELETE /companies/{companyId}/users/{userId}
users_list
ChatGPTGET /companies/{companyId}/users
users_set_role
ChatGPTPUT /companies/{companyId}/users/{userId}/role
vendors_apply_default_categorization
ChatGPTPOST /companies/{companyId}/vendors/{vendorId}/apply-default-categorization
vendors_apply_default_categorization_preview
ChatGPTGET /companies/{companyId}/vendors/{vendorId}/apply-default-categorization/preview
vendors_batch_delete
ChatGPTPOST /companies/{companyId}/vendors/batch_delete
vendors_create
ChatGPTPOST /companies/{companyId}/vendors
vendors_delete
ChatGPTDELETE /companies/{companyId}/vendors/{vendorId}
vendors_external_ids
ChatGPTGET /companies/{companyId}/vendors/{vendorId}/external-ids
vendors_get
ChatGPTGET /companies/{companyId}/vendors/{vendorId}
vendors_linked_systems
ChatGPTThe integrations at least one vendor is linked to, as the values the list endpoint accepts for linkedTo (e.g. ["finway", "hubspot"]). Empty when no vendor carries an external id.
vendors_list
ChatGPTGET /companies/{companyId}/vendors
vendors_merge
ChatGPTPOST /companies/{companyId}/vendors/merge
vendors_set_external_ids
ChatGPTPUT /companies/{companyId}/vendors/{vendorId}/external-ids
vendors_update
ChatGPTPUT /companies/{companyId}/vendors/{vendorId}