{"name":"couicoui read API","version":"1.0.0","read_only":true,"authentication":"Authorization: Bearer <cc_read_… key> — create one in Settings → API","rate_limit":"120 requests per minute per key and endpoint","openapi":"https://www.couicoui.com/api/v1/openapi.json","count":117,"endpoints":[{"name":"account_balance_at_date","group":"accounts","title":"Balance of an account at a given date","description":"Returns the most recent balance snapshot at or before the requested date. If no snapshot exists in the window, falls back to reconstructing by reverse-walking transactions from the earliest snapshot AFTER the date.","url":"https://www.couicoui.com/api/v1/account_balance_at_date","methods":["GET","POST"],"parameters":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"at":{"description":"ISO timestamp — the date you want the balance for","type":"string"}},"required":["account_id","at"],"additionalProperties":false}},{"name":"account_balance_over_time","group":"accounts","title":"Balance evolution for an account","description":"Returns daily balance snapshots within the window. Down-sampled to one per day (latest snapshot of the day). Use to answer \"show me my balance last quarter\" or to detect a sudden drop.","url":"https://www.couicoui.com/api/v1/account_balance_over_time","methods":["GET","POST"],"parameters":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"from":{"description":"ISO timestamp, defaults to 90 days ago","type":"string"},"to":{"description":"ISO timestamp, defaults to now","type":"string"}},"required":["account_id"],"additionalProperties":false}},{"name":"analyze_period","group":"analytics","title":"Analyse income / expense over a period","description":"Aggregate income, expense and net for a date range. Optionally breaks down top counterparts on both sides. Use to answer \"how was my October?\", \"who did I pay the most this quarter?\", \"is my CA up vs last month?\".","url":"https://www.couicoui.com/api/v1/analyze_period","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"description":"ISO date lower bound on occurred_at, inclusive","type":"string"},"to":{"description":"ISO date upper bound on occurred_at, inclusive","type":"string"},"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"top_counterparts":{"description":"How many top counterparts to return per side","default":5,"type":"integer","minimum":0,"maximum":20},"exclude_internal_transfers":{"description":"Exclude transfers between the user's own accounts (neither income nor expense). See find_internal_transfers.","default":true,"type":"boolean"}},"required":["from","to"],"additionalProperties":false}},{"name":"cash_runway","group":"accounts","title":"Cash runway in days at current burn rate","description":"Sums current balance across the user's accounts (filtered by currency if given), computes monthly burn from the past 90 days net flow, and projects how many days of cash remain. Returns \"infinite\" if net is positive.","url":"https://www.couicoui.com/api/v1/cash_runway","methods":["GET","POST"],"parameters":{"type":"object","properties":{"currency":{"default":"EUR","type":"string","minLength":3,"maxLength":3}},"additionalProperties":false}},{"name":"client_ytd_summary","group":"clients","title":"Year-to-date summary for one client","description":"For a counterpart name (case-insensitive match), returns YTD CA, monthly breakdown, payment count, average delay, and linked rules.","url":"https://www.couicoui.com/api/v1/client_ytd_summary","methods":["GET","POST"],"parameters":{"type":"object","properties":{"counterpart":{"type":"string","minLength":1},"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["counterpart"],"additionalProperties":false}},{"name":"compare_accounts","group":"accounts","title":"Side-by-side totals for two accounts over a period","description":"Aggregates credit/debit/net/count for two accounts over the same window.","url":"https://www.couicoui.com/api/v1/compare_accounts","methods":["GET","POST"],"parameters":{"type":"object","properties":{"account_a_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"account_b_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"from":{"type":"string"},"to":{"type":"string"}},"required":["account_a_id","account_b_id","from","to"],"additionalProperties":false}},{"name":"compare_periods","group":"analytics","title":"Compare two date ranges side by side","description":"Aggregates credit/debit/net/count for two windows and returns the delta. Use for \"how does October compare to September?\", \"Q3 vs Q3 last year\".","url":"https://www.couicoui.com/api/v1/compare_periods","methods":["GET","POST"],"parameters":{"type":"object","properties":{"period_a":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"label":{"default":"A","type":"string"}},"required":["from","to"]},"period_b":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"label":{"default":"B","type":"string"}},"required":["from","to"]},"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"exclude_internal_transfers":{"description":"Exclude transfers between the user's own accounts (neither income nor expense)","default":true,"type":"boolean"}},"required":["period_a","period_b"],"additionalProperties":false}},{"name":"counterpart_profile","group":"transactions","title":"Full profile of one counterpart","description":"For a counterpart name (surname-match, ILIKE substring), returns: timeline span, total count, total amount, mean / median / p90, first/last seen, side breakdown. Use after `find_recurring_counterparts` to drill into a specific client/vendor.","url":"https://www.couicoui.com/api/v1/counterpart_profile","methods":["GET","POST"],"parameters":{"type":"object","properties":{"counterpart":{"description":"Surname or ILIKE substring — case-insensitive","type":"string","minLength":1},"window_days":{"default":365,"type":"integer","minimum":7,"maximum":720}},"required":["counterpart"],"additionalProperties":false}},{"name":"detect_late_clients","group":"clients","title":"Clients who haven't paid in a while","description":"Returns credit counterparts with ≥ 2 past transactions but last payment > threshold days ago. Sorted by days_since_last desc. Use for \"any client I should chase?\".","url":"https://www.couicoui.com/api/v1/detect_late_clients","methods":["GET","POST"],"parameters":{"type":"object","properties":{"late_threshold_days":{"default":45,"type":"integer","minimum":1,"maximum":365}},"additionalProperties":false}},{"name":"detect_recurring_rhythm","group":"transactions","title":"Infer a counterpart's payment rhythm","description":"Compute the gaps in days between consecutive transactions and classify the rhythm: \"weekly\" (≈ 7d), \"biweekly\" (≈ 14d), \"monthly\" (≈ 30d), \"quarterly\" (≈ 90d), or \"irregular\".","url":"https://www.couicoui.com/api/v1/detect_recurring_rhythm","methods":["GET","POST"],"parameters":{"type":"object","properties":{"counterpart":{"type":"string","minLength":1},"window_days":{"default":365,"type":"integer","minimum":30,"maximum":720}},"required":["counterpart"],"additionalProperties":false}},{"name":"find_dormant_subscriptions","group":"subscriptions","title":"Active subscriptions you might have forgotten","description":"Returns active subscriptions where `last_payment_at` is older than N days. Likely auto-renewing services you stopped using — a recurring expense audit shortlist.","url":"https://www.couicoui.com/api/v1/find_dormant_subscriptions","methods":["GET","POST"],"parameters":{"type":"object","properties":{"dormant_threshold_days":{"default":60,"type":"integer","minimum":30,"maximum":365}},"additionalProperties":false}},{"name":"find_duplicate_transactions","group":"transactions","title":"Spot likely double-charges","description":"Returns transactions with the same amount + same counterpart + same day. Likely duplicates from a misfire (Stripe retries, bank double-posts). Default window: 90 days.","url":"https://www.couicoui.com/api/v1/find_duplicate_transactions","methods":["GET","POST"],"parameters":{"type":"object","properties":{"window_days":{"default":90,"type":"integer","minimum":7,"maximum":365},"side":{"type":"string","enum":["credit","debit"]}},"additionalProperties":false}},{"name":"find_goals_at_risk","group":"goals","title":"Active goals projected to miss their deadline","description":"For each active goal with a deadline, computes projected_completion using the past 30 days of contributions and flags those where projection > deadline. Returns the gap in days and the required monthly bump to recover.","url":"https://www.couicoui.com/api/v1/find_goals_at_risk","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"find_internal_transfers","group":"transfers","title":"Detect transfers between the user's own accounts","description":"Identifies money moving between the user's OWN accounts — rule provisioning transfers, debit/credit pairs across two connected accounts (same amount, close in time), and transfers labelled with the owner's own name. These are neither income nor expense and are excluded by default from analytics tools (analyze_period, top_expenses, ...). Use this to audit what gets excluded, or to answer \"how much did I move between my accounts?\".","url":"https://www.couicoui.com/api/v1/find_internal_transfers","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"description":"ISO date lower bound on occurred_at","type":"string"},"to":{"description":"ISO date upper bound on occurred_at","type":"string"},"window_hours":{"description":"Max hours between the debit leg and the credit leg of a pair. Keep small: own-account moves are near-instant; wide windows create false pairs with unrelated same-amount transactions.","default":6,"type":"integer","minimum":1,"maximum":168},"include_self_named":{"description":"Also flag unpaired transfers labelled with the owner's own full name","default":true,"type":"boolean"}},"additionalProperties":false}},{"name":"find_missed_recurrences","group":"transactions","title":"Subscriptions whose expected payment did not land","description":"For each active subscription with `next_payment_at` in the past, check whether a transaction matching the expected amount (±10 %) landed in the past 7 days. If not, flag it as \"missed\". Useful to spot bills you forgot to pay, or unexpected vendor pauses.","url":"https://www.couicoui.com/api/v1/find_missed_recurrences","methods":["GET","POST"],"parameters":{"type":"object","properties":{"grace_days":{"default":7,"type":"integer","minimum":1,"maximum":30},"amount_tolerance_pct":{"default":10,"type":"number","minimum":0,"maximum":50}},"additionalProperties":false}},{"name":"find_outlier_transactions","group":"transactions","title":"Spot transactions abnormally large for their counterpart","description":"For each counterpart with ≥ N historical transactions, compute mean+stddev over the past window, then flag transactions exceeding `mean + threshold_stddev × stddev`. Use to surface unusual spend (a Stripe payout 5× higher than usual, an unexpected vendor bill).","url":"https://www.couicoui.com/api/v1/find_outlier_transactions","methods":["GET","POST"],"parameters":{"type":"object","properties":{"window_days":{"default":180,"type":"integer","minimum":30,"maximum":720},"threshold_stddev":{"default":2,"type":"number","minimum":1,"maximum":5},"min_history":{"default":5,"type":"integer","minimum":3,"maximum":50},"side":{"type":"string","enum":["credit","debit"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":50}},"additionalProperties":false}},{"name":"find_recurring_counterparts","group":"transactions","title":"Detect recurring counterparts","description":"Groups credit transactions by counterpart and surfaces those seen 3+ times in the past 6 months. Useful to spot regular clients you might want a dedicated rule for.","url":"https://www.couicoui.com/api/v1/find_recurring_counterparts","methods":["GET","POST"],"parameters":{"type":"object","properties":{"min_occurrences":{"default":3,"type":"integer","minimum":2,"maximum":50},"side":{"default":"credit","type":"string","enum":["credit","debit"]}},"additionalProperties":false}},{"name":"find_rules_never_fired","group":"rules","title":"Rules with zero historical executions","description":"Lists enabled rules with `trigger_count = 0` — they either match nothing, have wrong conditions, or were created for a use-case that never materialized.","url":"https://www.couicoui.com/api/v1/find_rules_never_fired","methods":["GET","POST"],"parameters":{"type":"object","properties":{"include_disabled":{"default":false,"type":"boolean"}},"additionalProperties":false}},{"name":"find_similar_transactions","group":"transactions","title":"Find transactions similar to a reference one","description":"Given a transaction id, returns other transactions sharing its counterpart, OR with amount within ±tolerance % AND occurring on the same day of month (±2 days). Use to spot recurring payments or related charges.","url":"https://www.couicoui.com/api/v1/find_similar_transactions","methods":["GET","POST"],"parameters":{"type":"object","properties":{"transaction_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"amount_tolerance_pct":{"default":10,"type":"number","minimum":0,"maximum":50},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100}},"required":["transaction_id"],"additionalProperties":false}},{"name":"find_transactions_by_beneficiary","group":"beneficiaries","title":"List transactions related to a beneficiary","description":"Finds transactions whose counterpart matches the beneficiary's name or alias (case-insensitive substring). Also lists any transfers explicitly targeting this beneficiary.","url":"https://www.couicoui.com/api/v1/find_transactions_by_beneficiary","methods":["GET","POST"],"parameters":{"type":"object","properties":{"beneficiary_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["beneficiary_id"],"additionalProperties":false}},{"name":"find_transactions_by_goal","group":"goals","title":"List all transactions contributing to a goal","description":"Returns goal_contributions joined with their source transactions. Source can be \"transaction\" (manual attribution), \"rule\" (automatic via a rule), or \"manual\" (no transaction, an arbitrary amount the user added).","url":"https://www.couicoui.com/api/v1/find_transactions_by_goal","methods":["GET","POST"],"parameters":{"type":"object","properties":{"goal_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source":{"type":"string","enum":["transaction","rule","manual"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["goal_id"],"additionalProperties":false}},{"name":"find_transactions_by_pattern","group":"transactions","title":"Find transactions by regex / wildcard pattern","description":"Postgres ILIKE pattern (use % as wildcard) against label, counterpart, and/or the transfer reference (the free-text memo, e.g. \"Places psg finale\"). Defaults to all three. For richer matching, prefer this over list_transactions which only does ilike with the percent wrapping added automatically.","url":"https://www.couicoui.com/api/v1/find_transactions_by_pattern","methods":["GET","POST"],"parameters":{"type":"object","properties":{"pattern":{"description":"Pattern with % wildcards, e.g. \"Stripe%paiement\"","type":"string","minLength":1,"maxLength":200},"fields":{"default":["label","counterpart","reference"],"type":"array","items":{"type":"string","enum":["label","counterpart","reference"]}},"from":{"type":"string"},"to":{"type":"string"},"side":{"type":"string","enum":["credit","debit"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["pattern"],"additionalProperties":false}},{"name":"find_transactions_by_rule","group":"rules","title":"List all transactions that triggered a rule","description":"Returns every transaction with a rule_execution for the given rule (executed, pending, failed, skipped). Includes the execution status + amount actually applied.","url":"https://www.couicoui.com/api/v1/find_transactions_by_rule","methods":["GET","POST"],"parameters":{"type":"object","properties":{"rule_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["pending","executed","failed","skipped"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["rule_id"],"additionalProperties":false}},{"name":"find_transactions_by_subscription","group":"subscriptions","title":"List all transactions linked to a subscription","description":"Returns every transaction the detector matched to this subscription, newest first.","url":"https://www.couicoui.com/api/v1/find_transactions_by_subscription","methods":["GET","POST"],"parameters":{"type":"object","properties":{"subscription_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["subscription_id"],"additionalProperties":false}},{"name":"find_transactions_with_attachments","group":"transactions","title":"Transactions that have receipts / attachments","description":"Lists transactions where `transaction_attachments` is non-empty. Useful for \"show me all transactions where I uploaded a receipt\".","url":"https://www.couicoui.com/api/v1/find_transactions_with_attachments","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}},{"name":"find_unmatched_credits","group":"transactions","title":"Find credits not attributed to any goal or rule","description":"Returns credit transactions with NO rule_execution AND NO goal_contribution. Useful to spot money that came in but slipped through your automation.","url":"https://www.couicoui.com/api/v1/find_unmatched_credits","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"min_amount_cents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},{"name":"find_unused_beneficiaries","group":"beneficiaries","title":"Beneficiaries never used in a transfer","description":"Lists beneficiaries with zero transfer history. Candidates for cleanup, or just unused recipients you forgot you added.","url":"https://www.couicoui.com/api/v1/find_unused_beneficiaries","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"forecast_cash_flow","group":"analytics","title":"Forecast monthly cash flow","description":"Projects N months ahead using the average monthly net of the past 3 months. Naive but useful as a sanity check. Use to answer \"where will I be in 6 months if nothing changes?\". NOT a projected balance: for a 30/60/90-day projection built from the current balance and dated commitments, use forecast_cash_flow_by_due_date.","url":"https://www.couicoui.com/api/v1/forecast_cash_flow","methods":["GET","POST"],"parameters":{"type":"object","properties":{"months_ahead":{"default":6,"type":"integer","minimum":1,"maximum":24},"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"exclude_internal_transfers":{"description":"Exclude transfers between the user's own accounts from the baseline","default":true,"type":"boolean"}},"additionalProperties":false}},{"name":"forecast_cash_flow_by_due_date","group":"analytics","title":"Cash-flow projection by due dates (30/60/90 days)","description":"Projects the organisation balance from today using only dated, known commitments: booked balance of the active accounts in the currency, open client invoices at their due date (never already-paid ones), unpaid supplier invoices (due date or planned payment date), active subscriptions (end-of-month safe), and URSSAF échéances priced by the assistant (EUR only). Distinguishes available money (opening balance) from expected receipts; overdue or undated items are listed in `unscheduled` without inventing a date. One currency per call, no per-account mode. Supports a client-delay scenario (client_delay_days). Returns assumptions, warnings, freshness and truncation flags. Use forecast_cash_flow for the naive 90-day average instead.","url":"https://www.couicoui.com/api/v1/forecast_cash_flow_by_due_date","methods":["GET","POST"],"parameters":{"type":"object","properties":{"horizon_days":{"description":"Projection window in days (30, 60, 90…)","default":90,"type":"integer","minimum":1,"maximum":180},"currency":{"description":"Single currency; other currencies are counted as excluded, never converted","type":"string","pattern":"^[A-Za-z]{3}$"},"client_delay_days":{"description":"Scenario: shift every expected client payment by N days (e.g. 14)","default":0,"type":"integer","minimum":0,"maximum":120},"include_external_accounts":{"description":"Also count connected external accounts in the opening balance","default":false,"type":"boolean"},"include_subscriptions":{"default":true,"type":"boolean"},"include_supplier_invoices":{"default":true,"type":"boolean"},"include_urssaf":{"description":"URSSAF échéances are EUR only and ignored for any other currency","default":true,"type":"boolean"}},"additionalProperties":false}},{"name":"francetravail_actualisations","group":"francetravail","title":"France Travail actualisation history","description":"Monthly actualisations declared (month, type, validation date, justificatif file name) as returned by the espace, plus the current actualisation status when available. Read-only: couicoui never actualises on the user’s behalf.","url":"https://www.couicoui.com/api/v1/francetravail_actualisations","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"francetravail_attestations","group":"francetravail","title":"France Travail attestations generated by couicoui","description":"Attestations generated on the user’s behalf by the bookmarklet (avis de situation, périodes d’inscription, paiement, périodes indemnisées, fiscale, prélèvement à la source), one per type and month, with couicoui download links. A fresh one requires the user to click the bookmarklet again (never requested by post).","url":"https://www.couicoui.com/api/v1/francetravail_attestations","methods":["GET","POST"],"parameters":{"type":"object","properties":{"type":{"type":"string","maxLength":40}},"additionalProperties":false}},{"name":"francetravail_conversations","group":"francetravail","title":"France Travail messagerie (conversations with the conseiller)","description":"Every conversation of the messagerie intégrée: subject, status, last message date, flattened messages (date, author, text) and attachment count. Attachments themselves: list_documents(sources:[\"francetravail_courrier\"]) (kind message_attachment).","url":"https://www.couicoui.com/api/v1/francetravail_conversations","methods":["GET","POST"],"parameters":{"type":"object","properties":{"q":{"type":"string","maxLength":100}},"additionalProperties":false}},{"name":"francetravail_courriers","group":"francetravail","title":"France Travail courriers (letters) with download links","description":"Letters received from France Travail (relevé de situation, déclaration fiscale annuelle, notifications d’admission/cessation, exonération CSG…): type, date, size, read flag, and a couicoui download link (1 h) when the PDF is archived. Filter by text, year or type code.","url":"https://www.couicoui.com/api/v1/francetravail_courriers","methods":["GET","POST"],"parameters":{"type":"object","properties":{"q":{"type":"string","maxLength":80},"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false}},{"name":"francetravail_get_conversation","group":"francetravail","title":"One France Travail conversation in full","description":"Full thread of one messagerie intégrée conversation (every message with date, author, text) plus its stored attachments with couicoui download links (1 h).","url":"https://www.couicoui.com/api/v1/francetravail_get_conversation","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","maxLength":40}},"required":["id"],"additionalProperties":false}},{"name":"francetravail_notifications","group":"francetravail","title":"France Travail notifications and upcoming rendez-vous","description":"Notifications shown in the espace (message, service, dates, seen flag) and the next rendez-vous summary.","url":"https://www.couicoui.com/api/v1/francetravail_notifications","methods":["GET","POST"],"parameters":{"type":"object","properties":{"unseen_only":{"default":false,"type":"boolean"}},"additionalProperties":false}},{"name":"francetravail_overview","group":"francetravail","title":"France Travail overview (rights, last payment, PAS rate, courriers)","description":"Latest state imported from the user’s France Travail espace candidat: registration status, remaining days of rights, last and total allocation payments, PAS rate applied, counts of courriers / notifications / rendez-vous, last import. Courrier PDFs and generated attestations (avis de situation, fiscale, paiement, périodes indemnisées, prélèvement à la source): list_documents(sources:[\"francetravail_courrier\"]).","url":"https://www.couicoui.com/api/v1/francetravail_overview","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"francetravail_pas","group":"francetravail","title":"Prélèvement à la source applied by France Travail","description":"PAS rates transmitted by the DGFiP to France Travail (rate, validity period) and the PAS withheld on each allocation payment. Cross-check with impots_pas_history (DGFiP side).","url":"https://www.couicoui.com/api/v1/francetravail_pas","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"francetravail_payments","group":"francetravail","title":"France Travail allocation payments","description":"Every allocation payment known (date, amount, label, period), newest first, with a total. Use it to reconcile France Travail credits on Qonto and to explain PAS retenues.","url":"https://www.couicoui.com/api/v1/francetravail_payments","methods":["GET","POST"],"parameters":{"type":"object","properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},{"name":"francetravail_raw_source","group":"francetravail","title":"Latest raw payload of one France Travail source","description":"Untouched JSON for a source: individu, dossier_synthese, dossier_situations, paiements, prelevement_source, courriers, courriers_modeles, actualisation_declarations, actualisation_statut, inscription, messages, messagerie_integree, notifications, rendez_vous, documents_index, attestations_index; or francetravail_imports for the journal.","url":"https://www.couicoui.com/api/v1/francetravail_raw_source","methods":["GET","POST"],"parameters":{"type":"object","properties":{"source":{"type":"string","maxLength":60},"max_chars":{"default":12000,"type":"integer","minimum":500,"maximum":60000}},"required":["source"],"additionalProperties":false}},{"name":"generate_period_summary","group":"analytics","title":"Generate a narrative markdown summary for a period","description":"Composes a human-readable report covering income, expenses, net, top counterparts, goal progress and subscription burn for the requested window. Output is ready to paste into a note or message.","url":"https://www.couicoui.com/api/v1/generate_period_summary","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"currency":{"default":"EUR","type":"string","minLength":3,"maxLength":3}},"required":["from","to"],"additionalProperties":false}},{"name":"generate_quarterly_summary","group":"analytics","title":"Narrative report for a calendar quarter","description":"Convenience wrapper around generate_period_summary scoped to a Q1..Q4 of a given year.","url":"https://www.couicoui.com/api/v1/generate_quarterly_summary","methods":["GET","POST"],"parameters":{"type":"object","properties":{"year":{"type":"integer","minimum":2020,"maximum":2100},"quarter":{"type":"integer","minimum":1,"maximum":4},"currency":{"default":"EUR","type":"string","minLength":3,"maxLength":3}},"required":["year","quarter"],"additionalProperties":false}},{"name":"generate_urssaf_summary","group":"analytics","title":"CA + provisioning summary for an URSSAF declaration window","description":"For a date range, sums credit transactions (CA) and the total contributed to tax_reserve goals over the same window. Output is a markdown block + raw numbers ready for the user to pre-fill their declaration.","url":"https://www.couicoui.com/api/v1/generate_urssaf_summary","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},{"name":"get_account","group":"accounts","title":"Get a single bank account","description":"Fetch one account by id. IBAN is intentionally omitted.","url":"https://www.couicoui.com/api/v1/get_account","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},{"name":"get_beneficiary","group":"beneficiaries","title":"Get a single beneficiary","description":"Fetch one beneficiary by id. Redacted the same way as list_beneficiaries.","url":"https://www.couicoui.com/api/v1/get_beneficiary","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},{"name":"get_document_link","group":"documents","title":"Fresh download link for one document","description":"Returns a couicoui.com link, valid 7 days, short enough to be copied safely, that serves the original file (URSSAF PDFs, Qonto receipts, invoice / credit-note / supplier-invoice PDFs). Use the source and id returned by list_documents. Always give the user this link, never a raw storage URL.","url":"https://www.couicoui.com/api/v1/get_document_link","methods":["GET","POST"],"parameters":{"type":"object","properties":{"source":{"type":"string","enum":["urssaf_attestation","urssaf_message","impots_document","francetravail_courrier","transaction","client_invoice","credit_note","supplier_invoice","housing_document"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["source","id"],"additionalProperties":false}},{"name":"get_goal","group":"goals","title":"Get a single goal","description":"Fetch one goal by id with progress.","url":"https://www.couicoui.com/api/v1/get_goal","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},{"name":"get_goal_cadence","group":"goals","title":"Cadence calculator for a goal","description":"Returns: monthly_income_estimate (3-month avg of credits), current monthly contribution to this goal (30-day window), required percentage of each incoming transaction to hit the target by the deadline, and projected completion date at the current rate.","url":"https://www.couicoui.com/api/v1/get_goal_cadence","methods":["GET","POST"],"parameters":{"type":"object","properties":{"goal_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["goal_id"],"additionalProperties":false}},{"name":"get_rule","group":"rules","title":"Get a single rule","description":"Fetch one automation rule by id.","url":"https://www.couicoui.com/api/v1/get_rule","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},{"name":"get_subscription","group":"subscriptions","title":"Get a single subscription","description":"Fetch one subscription with its payment history (last 12 matched transactions).","url":"https://www.couicoui.com/api/v1/get_subscription","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},{"name":"get_transaction","group":"transactions","title":"Get a single transaction","description":"Fetch one transaction by id. Counterpart is redacted to a surname.","url":"https://www.couicoui.com/api/v1/get_transaction","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},{"name":"get_transfer","group":"transfers","title":"Get a single transfer","description":"Fetch one transfer by id. Beneficiary IBAN stripped, name reduced to surname.","url":"https://www.couicoui.com/api/v1/get_transfer","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},{"name":"housing_charges","group":"housing","title":"Housing charges and provider debits","description":"Recurring charges (rent, electricity, internet, insurance…), who pays the provider, amount in force, revisions, and month by month the provider debits found on the payer’s banks (linked, rejected, to review). Use it to answer \"has the rent been debited?\", \"why is EDF missing?\".","url":"https://www.couicoui.com/api/v1/housing_charges","methods":["GET","POST"],"parameters":{"type":"object","properties":{"housing_id":{"description":"Housing id; defaults to the only (or first) housing of the user","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"charge":{"description":"Filter by label or provider (substring)","type":"string","maxLength":80}},"additionalProperties":false}},{"name":"housing_documents","group":"housing","title":"Housing documents","description":"Documents of the shared housing (avis d’échéance in’li, EDF/Sowee/Orange invoices, insurance, contract…) filtered by free text, charge/provider or month. Use get_document_link with source \"housing_document\" and the id to obtain a download link. Paid months also have a receipt PDF and inventories a report (see housing_months / housing_overview).","url":"https://www.couicoui.com/api/v1/housing_documents","methods":["GET","POST"],"parameters":{"type":"object","properties":{"housing_id":{"description":"Housing id; defaults to the only (or first) housing of the user","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"q":{"type":"string","maxLength":120},"month":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false}},{"name":"housing_incidents","group":"housing","title":"Housing incidents and works","description":"Incidents reported in the shared housing (leaks, breakdowns, works) with status, priority, cost and who pays it, and the conversation between members.","url":"https://www.couicoui.com/api/v1/housing_incidents","methods":["GET","POST"],"parameters":{"type":"object","properties":{"housing_id":{"description":"Housing id; defaults to the only (or first) housing of the user","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"open_only":{"default":false,"type":"boolean"}},"additionalProperties":false}},{"name":"housing_inventory","group":"housing","title":"Housing inventory (état des lieux)","description":"Check-in / check-out inventory: rooms, item conditions (good / worn / damaged), notes, photo counts, validation by each member, and at check-out the items that got worse since check-in (candidates for deposit deductions).","url":"https://www.couicoui.com/api/v1/housing_inventory","methods":["GET","POST"],"parameters":{"type":"object","properties":{"housing_id":{"description":"Housing id; defaults to the only (or first) housing of the user","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false}},{"name":"housing_months","group":"housing","title":"Housing monthly calls","description":"Every month called since the housing started: amount (with regularisations), paid, remaining, status, due date, the charge lines with the status of each provider debit, and the tenant transfers allocated to it.","url":"https://www.couicoui.com/api/v1/housing_months","methods":["GET","POST"],"parameters":{"type":"object","properties":{"housing_id":{"description":"Housing id; defaults to the only (or first) housing of the user","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"default":12,"type":"integer","minimum":1,"maximum":60}},"additionalProperties":false}},{"name":"housing_overview","group":"housing","title":"Shared housing overview","description":"Current month of a shared housing (rent + charges the landlord advances, what is left to pay and when), the status of each provider debit this month (paid / rejected / missing / pending / to review), totals still owed, one-off purchases between members, deposit arrangement, inventory and open incidents, plus a to-do list. Amounts in euros.","url":"https://www.couicoui.com/api/v1/housing_overview","methods":["GET","POST"],"parameters":{"type":"object","properties":{"housing_id":{"description":"Housing id; defaults to the only (or first) housing of the user","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false}},{"name":"housing_providers","group":"housing","title":"Housing providers (in’li rent, EDF electricity & gas, Sowee thermostat, Orange box)","description":"Everything imported from the provider spaces of the shared housing, with analyses: monthly cost of the housing per charge; in’li bills month by month split into rent / charges / parking with the line detail, direct debits, balance, lease holders and amount changes, the lease (start, renewal, duration, deposit paid to in’li, lots and surface), tenant insurance validity, due dates with paid status, debit history with in’li delay flags, requests sent to in’li (title, text, status) and in’li communications, customer service and on-call phone numbers; EDF payment schedule (electricity / gas split, paid vs remaining, next debit), next regularisation and a rough electricity consumption-vs-schedule check, last bill, both contracts (offer, PDL/PCE, power, off-peak hours, start dates), prices (subscription, kWh), subscribed services, SEPA mandate reference, consumption in € per month; Sowee by EDF connected thermostat (Station rental bills with status and debit date, debits, subscriptions with start/activation/end, support cases, installation appointment, balance and next debit — no temperature/humidity readings: the Sowee web space does not expose them, only the mobile app); Orange box internet (offer name and price, installed options, engagement, every monthly bill, debit status and history — only the internet/Box contract, not the holder’s personal mobile lines). History before the housing started is included and flagged.","url":"https://www.couicoui.com/api/v1/housing_providers","methods":["GET","POST"],"parameters":{"type":"object","properties":{"housing_id":{"description":"Housing id; defaults to the only (or first) housing of the user","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false}},{"name":"housing_transfers","group":"housing","title":"Transfers between housing members","description":"Transfers from the tenant to the landlord (and deposit refunds back), found on every bank and Sumeria import of the tenant or entered by hand, with what each one pays: a month, a purchase, the deposit, or nothing yet (to classify).","url":"https://www.couicoui.com/api/v1/housing_transfers","methods":["GET","POST"],"parameters":{"type":"object","properties":{"housing_id":{"description":"Housing id; defaults to the only (or first) housing of the user","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"include_ignored":{"default":false,"type":"boolean"}},"additionalProperties":false}},{"name":"impots_get_message","group":"impots","title":"Full thread of one impots.gouv demande","description":"The complete exchange (each message: from, nature, date, to, text) of one demande, plus its stored attachments / accusés de réception with 1-hour download links.","url":"https://www.couicoui.com/api/v1/impots_get_message","methods":["GET","POST"],"parameters":{"type":"object","properties":{"space":{"type":"string","enum":["particulier","professionnel"]},"numero":{"type":"string","maxLength":20}},"required":["space","numero"],"additionalProperties":false}},{"name":"impots_list_messages","group":"impots","title":"impots.gouv secure messaging (demandes)","description":"Demandes exchanged with the SIP / SIE through the messagerie sécurisée of both spaces: number, subject, service, status, dates, and a preview of the thread. Call impots_get_message for the full exchange and its attachments.","url":"https://www.couicoui.com/api/v1/impots_list_messages","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"impots_overview","group":"impots","title":"impots.gouv overview (PAS rate, acomptes, income tax balance, CFE, messages)","description":"Latest state imported from the user’s impots.gouv spaces: prélèvement à la source rate and monthly acompte (DGFiP debits on the 15th), next acompte date, income tax due/paid/remaining per year, CFE and tax-debt status (professional space), document and message counts, last import dates. Documents themselves: list_documents(sources:[\"impots_document\"]).","url":"https://www.couicoui.com/api/v1/impots_overview","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"impots_pas_history","group":"impots","title":"Prélèvement à la source history","description":"Every PAS line known: acomptes debited by the DGFiP, retenues by collectors (employer, France Travail…), rates transmitted. Useful to reconcile the monthly DGFiP debit on Qonto and to total what was paid per year.","url":"https://www.couicoui.com/api/v1/impots_pas_history","methods":["GET","POST"],"parameters":{"type":"object","properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"type":{"type":"string","enum":["acompte","retenue","taux","autre"]}},"additionalProperties":false}},{"name":"impots_raw_source","group":"impots","title":"Latest raw payload of one impots.gouv source","description":"Untouched parsed page for a source: tableau_de_bord, documents, pas_historique, paiements, messagerie, page_tables (particulier); identite, cfe_avis, cfe_paiements, dettes_fiscales, paiements_etat, paiements_locaux, ordres_paiements (professionnel). Also list imports with impots_imports.","url":"https://www.couicoui.com/api/v1/impots_raw_source","methods":["GET","POST"],"parameters":{"type":"object","properties":{"source":{"type":"string","maxLength":60},"max_chars":{"default":12000,"type":"integer","minimum":500,"maximum":60000}},"required":["source"],"additionalProperties":false}},{"name":"list_accounts","group":"accounts","title":"List bank accounts","description":"Returns the user's connected bank accounts with current balances. IBANs are intentionally not included.","url":"https://www.couicoui.com/api/v1/list_accounts","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"list_audit_log","group":"analytics","title":"List recent audit events","description":"Returns recent actions taken on the account (rules created/updated, transfers, profile imports, etc.) ordered by most recent. Useful to answer \"what did I change yesterday?\" or to confirm an automation fired.","url":"https://www.couicoui.com/api/v1/list_audit_log","methods":["GET","POST"],"parameters":{"type":"object","properties":{"action":{"description":"Filter by exact action name, e.g. \"apply_profile_template\"","type":"string"},"resource_type":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false}},{"name":"list_beneficiaries","group":"beneficiaries","title":"List beneficiaries (recipients)","description":"Lists payment recipients. Sensitive fields are redacted: full names become surnames only, IBANs become opaque fingerprints + country code, BIC is omitted.","url":"https://www.couicoui.com/api/v1/list_beneficiaries","methods":["GET","POST"],"parameters":{"type":"object","properties":{"search":{"type":"string","maxLength":200},"label":{"type":"string","maxLength":50},"trusted":{"type":"boolean"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false}},{"name":"list_cascade_groups","group":"rules","title":"List rule cascade groups by trigger signature","description":"Groups rules by identical (conditions + logic) and returns them. Mirrors the grouping shown in /rules/cascade. Tells the LLM which cascades exist and which rules belong together.","url":"https://www.couicoui.com/api/v1/list_cascade_groups","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"list_clients","group":"clients","title":"List clients by aggregated credit counterpart","description":"Groups credit transactions by counterpart and returns CA YTD, total CA, transaction count, average gap between payments, days since last payment, is_new, is_late. Sorted by YTD CA desc. Use to answer \"who are my top clients?\" or \"who should I follow up with?\".","url":"https://www.couicoui.com/api/v1/list_clients","methods":["GET","POST"],"parameters":{"type":"object","properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"late_threshold_days":{"default":45,"type":"integer","minimum":1,"maximum":365},"filter":{"default":"all","type":"string","enum":["all","new","late"]},"min_transactions":{"default":1,"type":"integer","minimum":1,"maximum":100},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false}},{"name":"list_documents","group":"documents","title":"List documents across all sources","description":"One index of every document: URSSAF attestations and letters, impots.gouv documents (avis d’impôt, déclarations, avis de situation, CFE), France Travail courriers (relevés de situation, attestations fiscales, notifications), Qonto transaction receipts, client invoices, credit notes, supplier invoices and housing documents (avis d’échéance, factures EDF/Orange…, shared with the other housing member). Filter by free text (number, client, supplier, subject, file name), source, year or party. Each item says whether a file can be opened; call get_document_link to obtain the actual URL (never guess one).","url":"https://www.couicoui.com/api/v1/list_documents","methods":["GET","POST"],"parameters":{"type":"object","properties":{"q":{"type":"string","maxLength":120},"sources":{"type":"array","items":{"type":"string","enum":["urssaf_attestation","urssaf_message","impots_document","francetravail_courrier","transaction","client_invoice","credit_note","supplier_invoice","housing_document"]}},"year":{"type":"integer","minimum":2000,"maximum":2100},"party":{"description":"Client, supplier or counterpart name (substring)","type":"string","maxLength":120},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false}},{"name":"list_goals","group":"goals","title":"List financial goals","description":"Lists the user's savings/financial goals with progress.","url":"https://www.couicoui.com/api/v1/list_goals","methods":["GET","POST"],"parameters":{"type":"object","properties":{"status":{"type":"string","enum":["active","completed","paused","cancelled"]},"category":{"type":"string","enum":["emergency","equipment","travel","tax_reserve","custom"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false}},{"name":"list_labels","group":"clients","title":"List Qonto transaction labels (categories)","description":"Returns the hierarchical labels synced from Qonto. Use POST /api/sync/labels first if the list is empty. Labels can be used to categorize transactions.","url":"https://www.couicoui.com/api/v1/list_labels","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"list_profile_templates","group":"analytics","title":"List available profile templates","description":"Curated bundles of rules + goals for common fiscal regimes (micro-BNC ACRE, réel simplifié + TVA, SASU dividendes). Returns the full structure so the LLM can describe what each profile would create.","url":"https://www.couicoui.com/api/v1/list_profile_templates","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"list_receivables","group":"clients","title":"Open client invoices (à encaisser)","description":"What clients still owe, from the Qonto client invoices mirrored locally: open invoices with due state (overdue / due_today / upcoming / no_due_date), partial payments, credit notes applied per invoice, remaining per client, per-currency totals and overdue ageing buckets. Paid, draft and canceled invoices are never counted; unknown statuses and missing amounts are reported, not guessed; an invoice whose avoir is missing from the cache is flagged `uncertain` (remaining = upper bound). Avoirs on paid or absent invoices are listed as `to_verify` and never netted. Answers \"qui me doit quoi ?\", \"quelles factures sont en retard ?\".","url":"https://www.couicoui.com/api/v1/list_receivables","methods":["GET","POST"],"parameters":{"type":"object","properties":{"currency":{"description":"Only invoices in this currency","type":"string","pattern":"^[A-Za-z]{3}$"},"state":{"type":"string","enum":["overdue","due_today","upcoming","no_due_date"]},"client":{"description":"Case-insensitive substring of the client name or invoice number","type":"string","minLength":1,"maxLength":120},"include_settled":{"description":"Also list open invoices whose remaining is 0","default":false,"type":"boolean"},"limit":{"default":200,"type":"integer","minimum":1,"maximum":500},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false}},{"name":"list_rule_executions","group":"rules","title":"List rule execution logs","description":"Lists records of when transaction-triggered rules fired, including the triggering transaction and resulting transfer (if any). Counterpart names and beneficiary names are surname-only; IBANs stripped.","url":"https://www.couicoui.com/api/v1/list_rule_executions","methods":["GET","POST"],"parameters":{"type":"object","properties":{"rule_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["pending","executed","failed","skipped"]},"from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false}},{"name":"list_rules","group":"rules","title":"List automation rules","description":"Lists the user's transaction-triggered transfer rules.","url":"https://www.couicoui.com/api/v1/list_rules","methods":["GET","POST"],"parameters":{"type":"object","properties":{"enabled":{"type":"boolean"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false}},{"name":"list_subscriptions","group":"subscriptions","title":"List recurring subscriptions","description":"List the user's recurring payments (SaaS, streaming, utilities, insurance, rent, telecom). Vendor names reduced to surname; beneficiary IBANs stripped.","url":"https://www.couicoui.com/api/v1/list_subscriptions","methods":["GET","POST"],"parameters":{"type":"object","properties":{"status":{"type":"string","enum":["active","paused","cancelled","pending_confirmation"]},"category":{"type":"string","enum":["saas","streaming","utilities","insurance","rent","telecom","other"]},"frequency":{"type":"string","enum":["weekly","monthly","quarterly","yearly"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"sort_by":{"default":"next_payment_at","type":"string","enum":["next_payment_at","amount_cents","name","created_at"]},"sort_order":{"default":"asc","type":"string","enum":["asc","desc"]}},"additionalProperties":false}},{"name":"list_supplier_invoices_local","group":"clients","title":"List synced supplier invoices","description":"Returns supplier invoices from the local cache (synced from Qonto). Use POST /api/sync/supplier-invoices to refresh. Useful for \"what vendor bills are coming up?\" or \"how much do I owe suppliers?\".","url":"https://www.couicoui.com/api/v1/list_supplier_invoices_local","methods":["GET","POST"],"parameters":{"type":"object","properties":{"status":{"description":"Filter by status: to_review, awaiting_payment, paid, etc.","type":"string"},"due_before":{"description":"ISO date — only invoices due before this date","type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}},{"name":"list_transactions","group":"transactions","title":"List bank transactions","description":"Search and list bank transactions for the user with rich filters. Returns up to 100 transactions per call. Counterpart names are reduced to surnames; counterpart IBANs are stripped.","url":"https://www.couicoui.com/api/v1/list_transactions","methods":["GET","POST"],"parameters":{"type":"object","properties":{"search":{"description":"Free-text search on label, counterpart and transfer reference","type":"string","maxLength":200},"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"side":{"type":"string","enum":["debit","credit"]},"status":{"type":"string"},"from":{"description":"ISO date/time lower bound on occurred_at","type":"string"},"to":{"description":"ISO date/time upper bound on occurred_at","type":"string"},"min_amount_cents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max_amount_cents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"sort_by":{"default":"occurred_at","type":"string","enum":["occurred_at","amount_cents","created_at"]},"sort_order":{"default":"desc","type":"string","enum":["asc","desc"]},"exclude_internal_transfers":{"description":"Hide transfers between the user's own accounts. Filters the fetched page, so a page may return fewer than `limit` rows.","default":false,"type":"boolean"}},"additionalProperties":false}},{"name":"list_transfers","group":"transfers","title":"List transfers","description":"Lists outgoing transfers for the user. Beneficiary names are reduced to surnames; beneficiary and account IBANs are stripped.","url":"https://www.couicoui.com/api/v1/list_transfers","methods":["GET","POST"],"parameters":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"beneficiary_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string"},"transfer_type":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"sort_by":{"default":"created_at","type":"string","enum":["created_at","scheduled_at","amount_cents"]},"sort_order":{"default":"desc","type":"string","enum":["asc","desc"]}},"additionalProperties":false}},{"name":"list_upcoming_scheduled_runs","group":"rules","title":"Next scheduled rule fires within a window","description":"For every enabled scheduled rule, computes the next fire date within `days_ahead` (default 90). Returns sorted by date asc with the simulated payout for each.","url":"https://www.couicoui.com/api/v1/list_upcoming_scheduled_runs","methods":["GET","POST"],"parameters":{"type":"object","properties":{"days_ahead":{"default":90,"type":"integer","minimum":1,"maximum":365}},"additionalProperties":false}},{"name":"metal_price_over_time","group":"zakat","title":"Gold & silver price history with nisab thresholds","description":"Daily gold and silver prices (per gram) over a window, plus the derived nisab thresholds (gold 85g, silver 595g). Use to see how the zakat threshold moved, e.g. \"what was the nisab last quarter?\".","url":"https://www.couicoui.com/api/v1/metal_price_over_time","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"description":"ISO timestamp, defaults to 90 days ago","type":"string"},"to":{"description":"ISO timestamp, defaults to now","type":"string"},"currency":{"default":"EUR","type":"string","minLength":3,"maxLength":3}},"additionalProperties":false}},{"name":"monthly_breakdown","group":"analytics","title":"Per-month income/expense/net breakdown","description":"For a date range, returns one row per calendar month with credit/debit/net/count. Useful for \"show me my last 12 months\" or \"year-to-date P&L\".","url":"https://www.couicoui.com/api/v1/monthly_breakdown","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"exclude_internal_transfers":{"description":"Exclude transfers between the user's own accounts (neither income nor expense)","default":true,"type":"boolean"}},"required":["from","to"],"additionalProperties":false}},{"name":"nisab_at_date","group":"zakat","title":"Nisab thresholds at a given date","description":"Gold and silver nisab thresholds at a date, from the latest recorded price at or before that date. Returns the effective (lower) threshold — usually silver — which is the one wealth must exceed to owe zakat.","url":"https://www.couicoui.com/api/v1/nisab_at_date","methods":["GET","POST"],"parameters":{"type":"object","properties":{"at":{"description":"ISO timestamp — the date you want the nisab for","type":"string"},"currency":{"default":"EUR","type":"string","minLength":3,"maxLength":3}},"required":["at"],"additionalProperties":false}},{"name":"provisioning_status","group":"analytics","title":"Provisioning status of tax_reserve goals","description":"For each tax_reserve goal, returns target / current / ratio + projected coverage given the recent cadence. Use to answer \"am I behind on URSSAF for Q3?\".","url":"https://www.couicoui.com/api/v1/provisioning_status","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"search_all","group":"transactions","title":"Free-text search across transactions, beneficiaries, subscriptions, rules, goals","description":"One query, scanned in parallel across all major entities. Each match contains the entity type and a small preview. Use to answer \"find anything related to STRIPE\" without knowing which domain to query.","url":"https://www.couicoui.com/api/v1/search_all","methods":["GET","POST"],"parameters":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"per_entity_limit":{"default":5,"type":"integer","minimum":1,"maximum":20}},"required":["query"],"additionalProperties":false}},{"name":"search_transactions_around_amount","group":"transactions","title":"Find transactions around a target amount","description":"Returns transactions within ±tolerance_pct of the target amount. Use to answer \"that 1200€ Stripe payment, where was it again?\" without remembering the exact cents.","url":"https://www.couicoui.com/api/v1/search_transactions_around_amount","methods":["GET","POST"],"parameters":{"type":"object","properties":{"target_amount_cents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"tolerance_pct":{"default":5,"type":"number","minimum":0,"maximum":50},"side":{"type":"string","enum":["credit","debit"]},"from":{"type":"string"},"to":{"type":"string"},"limit":{"default":30,"type":"integer","minimum":1,"maximum":100}},"required":["target_amount_cents"],"additionalProperties":false}},{"name":"simulate_cascade","group":"rules","title":"Simulate the cascade for a hypothetical transaction","description":"Given a gross amount and trigger fields, walks through the cascade exactly like the engine would and returns the per-rule allocation + leftover. Useful for \"if I receive 1000€ from Stripe, where does it go?\". Does NOT execute anything.","url":"https://www.couicoui.com/api/v1/simulate_cascade","methods":["GET","POST"],"parameters":{"type":"object","properties":{"gross_amount_cents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"label":{"type":"string"},"counterpart":{"type":"string"},"side":{"default":"credit","type":"string","enum":["credit","debit"]},"currency":{"default":"EUR","type":"string","minLength":3,"maxLength":3}},"required":["gross_amount_cents"],"additionalProperties":false}},{"name":"simulate_dynamic_salary","group":"rules","title":"Preview the payout a scheduled rule would produce right now","description":"For a rule with trigger_type=\"scheduled\", reads the source account balance and returns the would-be transfer amount applying clamp(balance - buffer, min, max). Use to answer \"if my end-of-month salary rule fired today, how much would I get?\".","url":"https://www.couicoui.com/api/v1/simulate_dynamic_salary","methods":["GET","POST"],"parameters":{"type":"object","properties":{"rule_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["rule_id"],"additionalProperties":false}},{"name":"simulate_goal_with_contribution","group":"goals","title":"What-if: project goal completion after a hypothetical contribution","description":"Pretends you add X cents to the goal right now (without persisting). Returns the new projected completion date based on the current 30-day cadence. Use for \"if I dump 5 000€ on this goal now, when do I finish?\".","url":"https://www.couicoui.com/api/v1/simulate_goal_with_contribution","methods":["GET","POST"],"parameters":{"type":"object","properties":{"goal_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"hypothetical_contribution_cents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["goal_id","hypothetical_contribution_cents"],"additionalProperties":false}},{"name":"spending_percentiles","group":"analytics","title":"Percentiles of monthly spend","description":"Computes p50/p90/p99 of monthly total debit for the past N months. Useful to spot how unusual the current month is vs. baseline.","url":"https://www.couicoui.com/api/v1/spending_percentiles","methods":["GET","POST"],"parameters":{"type":"object","properties":{"months_back":{"default":12,"type":"integer","minimum":3,"maximum":24}},"additionalProperties":false}},{"name":"subscription_cost_evolution","group":"subscriptions","title":"Historical price changes for a subscription","description":"Reads `subscription_price_history` for the given subscription. Useful to spot price creep (\"my insurance went up 30 % last year\").","url":"https://www.couicoui.com/api/v1/subscription_cost_evolution","methods":["GET","POST"],"parameters":{"type":"object","properties":{"subscription_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["subscription_id"],"additionalProperties":false}},{"name":"subscriptions_by_category","group":"subscriptions","title":"Aggregate active subscriptions by category","description":"For each category (saas, streaming, utilities, insurance, rent, telecom, other), returns total monthly equivalent and count of active subs. Answers \"how much do I spend on SaaS per month?\".","url":"https://www.couicoui.com/api/v1/subscriptions_by_category","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"suggest_rules_from_unmatched","group":"rules","title":"Suggest new rules based on recurring unmatched credits","description":"Scans recurring credit counterparts and proposes a new rule for each that does NOT already have a matching rule (by counterpart substring). Output includes a ready-to-use condition + an estimated monthly cadence to help size the rule.","url":"https://www.couicoui.com/api/v1/suggest_rules_from_unmatched","methods":["GET","POST"],"parameters":{"type":"object","properties":{"min_occurrences":{"default":3,"type":"integer","minimum":2,"maximum":20},"window_days":{"default":180,"type":"integer","minimum":60,"maximum":720}},"additionalProperties":false}},{"name":"sum_transactions","group":"transactions","title":"Sum transactions amounts","description":"Returns total credit, total debit and net for transactions matching the filters. Useful for quick \"how much did I spend\" / \"how much did I earn\" questions.","url":"https://www.couicoui.com/api/v1/sum_transactions","methods":["GET","POST"],"parameters":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"from":{"type":"string"},"to":{"type":"string"},"status":{"type":"string"},"exclude_internal_transfers":{"description":"Exclude transfers between the user's own accounts (neither income nor expense). See find_internal_transfers.","default":true,"type":"boolean"}},"additionalProperties":false}},{"name":"sync_status","group":"accounts","title":"Last sync date + errors per account","description":"Returns the latest sync status for each of the user's accounts. Useful to spot stalled syncs (\"why didn't my new Stripe payment show up?\").","url":"https://www.couicoui.com/api/v1/sync_status","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"test_rule","group":"rules","title":"Dry-run a rule against recent transactions","description":"Evaluate an existing rule against the last N transactions WITHOUT persisting anything. Use to validate a rule's conditions before enabling it broadly.","url":"https://www.couicoui.com/api/v1/test_rule","methods":["GET","POST"],"parameters":{"type":"object","properties":{"rule_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["rule_id"],"additionalProperties":false}},{"name":"top_expenses","group":"transactions","title":"Top N largest debit transactions in a period","description":"Returns the N largest debits (expenses) ordered by amount desc. Useful for \"what was my biggest spend this month?\".","url":"https://www.couicoui.com/api/v1/top_expenses","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"limit":{"default":10,"type":"integer","minimum":1,"maximum":50},"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"exclude_internal_transfers":{"description":"Exclude transfers between the user's own accounts — they are not real expenses","default":true,"type":"boolean"}},"additionalProperties":false}},{"name":"top_income","group":"transactions","title":"Top N largest credit transactions in a period","description":"Returns the N largest credits ordered by amount desc. \"Who paid me the most this quarter?\".","url":"https://www.couicoui.com/api/v1/top_income","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"limit":{"default":10,"type":"integer","minimum":1,"maximum":50},"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"exclude_internal_transfers":{"description":"Exclude transfers between the user's own accounts — they are not real income","default":true,"type":"boolean"}},"additionalProperties":false}},{"name":"transaction_lineage","group":"transactions","title":"Full audit trail for one transaction","description":"For a transaction id, returns the source meta (sync provider, qonto_id, settlement date), all linked rule executions, all goal contributions, all subscription matches, and all attachments. Use when the user asks \"where did this transaction come from and what happened with it?\".","url":"https://www.couicoui.com/api/v1/transaction_lineage","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},{"name":"transactions_by_label","group":"transactions","title":"Aggregate transactions by Qonto label","description":"Groups transactions by their label_ids (synced from Qonto via embed=labels). Returns per-label totals for a date range. Answers \"how much did I spend on Transport this quarter?\".","url":"https://www.couicoui.com/api/v1/transactions_by_label","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"side":{"type":"string","enum":["credit","debit"]}},"additionalProperties":false}},{"name":"transactions_by_weekday","group":"transactions","title":"Distribution of transactions by weekday","description":"Counts and totals per day of the week (Mon..Sun) for a date window. Helpful to spot patterns (\"I get paid on Fridays\", \"I overspend on weekends\").","url":"https://www.couicoui.com/api/v1/transactions_by_weekday","methods":["GET","POST"],"parameters":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"side":{"type":"string","enum":["credit","debit"]}},"additionalProperties":false}},{"name":"tva_calculator","group":"analytics","title":"Convert between HT and TTC at a given VAT rate","description":"Given an amount and a VAT rate (default 20 %), returns the HT, the TVA, and the TTC. Specify which side of the equation you have via `mode`.","url":"https://www.couicoui.com/api/v1/tva_calculator","methods":["GET","POST"],"parameters":{"type":"object","properties":{"amount_cents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"rate_pct":{"default":20,"type":"number","minimum":0,"maximum":100},"mode":{"default":"from_ttc","type":"string","enum":["from_ht","from_ttc"]}},"required":["amount_cents"],"additionalProperties":false}},{"name":"upcoming_bills","group":"subscriptions","title":"Subscriptions billing in the next N days","description":"Lists active subscriptions with `next_payment_at` within the window, sorted by date. Returns total expected outflow. Answers \"what bills are coming up?\".","url":"https://www.couicoui.com/api/v1/upcoming_bills","methods":["GET","POST"],"parameters":{"type":"object","properties":{"days_ahead":{"default":30,"type":"integer","minimum":1,"maximum":180}},"additionalProperties":false}},{"name":"upcoming_goal_deadlines","group":"goals","title":"Active goals sorted by deadline (soonest first)","description":"Returns active goals with a deadline, sorted ascending. Includes days_until_deadline and progress_pct so the LLM can prioritise.","url":"https://www.couicoui.com/api/v1/upcoming_goal_deadlines","methods":["GET","POST"],"parameters":{"type":"object","properties":{"within_days":{"description":"Restrict to deadlines within N days","type":"integer","minimum":1,"maximum":720}},"additionalProperties":false}},{"name":"upcoming_supplier_payments","group":"clients","title":"Supplier invoices due in the next N days","description":"Lists unpaid supplier invoices with due_date within the window. Sorted by due date asc. Answers \"what do I need to pay this month?\".","url":"https://www.couicoui.com/api/v1/upcoming_supplier_payments","methods":["GET","POST"],"parameters":{"type":"object","properties":{"days_ahead":{"default":30,"type":"integer","minimum":1,"maximum":180}},"additionalProperties":false}},{"name":"urssaf_declaration_helper","group":"urssaf","title":"Everything needed to fill the URSSAF declaration of a period","description":"For a period (URSSAF code like \"2633\", a month key like \"2026-09\", or omitted = the next period to declare): the CA encaissé on Qonto with the list of credits and why some were excluded (internal transfers, manual exclusions, cancelled, foreign currency), the estimated contributions (rate, ACRE, CFP, versement libératoire), the provision coverage from tax_reserve goals, the recorded declaration if any, and the reconciliation with the actual URSSAF debit. Includes a ready-to-read French markdown summary.","url":"https://www.couicoui.com/api/v1/urssaf_declaration_helper","methods":["GET","POST"],"parameters":{"type":"object","properties":{"period":{"description":"URSSAF period code (\"2633\"), month (\"2026-09\") or omitted for the next one to declare","type":"string"},"include_credits":{"description":"Include the credit-by-credit list","default":true,"type":"boolean"}},"additionalProperties":false}},{"name":"urssaf_declaration_history","group":"urssaf","title":"Official declaration history (CA declared, contributions, remaining)","description":"What the URSSAF shows in \"Historique de mes déclarations\", imported by the Shortcut from that page: per period, CA declared, cotisations, reste à payer. Compare with urssaf_declaration_helper to spot over/under-declarations.","url":"https://www.couicoui.com/api/v1/urssaf_declaration_history","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"urssaf_estimator","group":"urssaf","title":"Estimate URSSAF contributions for a CA","description":"For a turnover (CA encaissé), returns the contribution estimate from the shared rate table (cotisations sociales with ACRE when applicable, CFP, optional versement libératoire). By default uses the user’s stored regime/ACRE settings (see urssaf_settings); pass `regime` to override. Rates are approximations à vérifier sur urssaf.fr — the URSSAF computes the exact amount at declaration time.","url":"https://www.couicoui.com/api/v1/urssaf_estimator","methods":["GET","POST"],"parameters":{"type":"object","properties":{"ca_cents":{"description":"Turnover in cents","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"activity_month":{"description":"Month the CA was earned (YYYY-MM); default: current month","type":"string","pattern":"^\\d{4}-\\d{2}$"},"regime":{"description":"Override the stored regime","type":"string","enum":["micro_bnc","micro_bic_services","micro_bic_sales"]},"acre":{"description":"Force ACRE on/off instead of using the stored end date","type":"boolean"},"versement_liberatoire":{"type":"boolean"}},"required":["ca_cents"],"additionalProperties":false}},{"name":"urssaf_get_message","group":"urssaf","title":"Full text of an URSSAF message and its attachments","description":"Returns the complete body of one messagerie message plus its stored attachments (with 1-hour download links when the Shortcut already pulled them).","url":"https://www.couicoui.com/api/v1/urssaf_get_message","methods":["GET","POST"],"parameters":{"type":"object","properties":{"id_message":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id_message"],"additionalProperties":false}},{"name":"urssaf_list_documents","group":"urssaf","title":"URSSAF documents stored in couicoui (attestations, pièces jointes)","description":"Attestations (vigilance, fiscale, CA, CFP) and messagerie attachments pulled by the Shortcut, with 1-hour signed download links. Also lists attestations known to the URSSAF but not yet downloaded.","url":"https://www.couicoui.com/api/v1/urssaf_list_documents","methods":["GET","POST"],"parameters":{"type":"object","properties":{"kind":{"default":"all","type":"string","enum":["attestation","message_attachment","all"]}},"additionalProperties":false}},{"name":"urssaf_list_messages","group":"urssaf","title":"URSSAF secure messaging (reçus / envoyés)","description":"Messages exchanged with the URSSAF through the espace personnel messagerie, as imported by the Shortcut: subject, sender, date, read flag, attachment count, request motif. Filter by text (subject/body), direction and date. Use urssaf_get_message for a full body and its attachments.","url":"https://www.couicoui.com/api/v1/urssaf_list_messages","methods":["GET","POST"],"parameters":{"type":"object","properties":{"query":{"description":"Case-insensitive text to find in subject or body","type":"string","maxLength":100},"direction":{"default":"all","type":"string","enum":["received","sent","all"]},"unread_only":{"default":false,"type":"boolean"},"with_attachments_only":{"default":false,"type":"boolean"},"since":{"description":"ISO date lower bound","type":"string"},"limit":{"default":30,"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false}},{"name":"urssaf_list_periods","group":"urssaf","title":"URSSAF periods with their status","description":"Every URSSAF declaration period known for the user (imported échéances + recent months), with status (to_declare / overdue / declared / paid / probably_declared / upcoming / unknown), deadline, and for actionable periods the CA encaissé and estimated contributions. Also returns the period to act on first (`next`) and the provision coverage.","url":"https://www.couicoui.com/api/v1/urssaf_list_periods","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"urssaf_list_versements","group":"urssaf","title":"Payments received by the URSSAF (official)","description":"The versements list as the URSSAF sees it (date, amount, payment mode), imported by the Shortcut. Use it to check that a cotisation was actually received, or to reconcile with Qonto debits.","url":"https://www.couicoui.com/api/v1/urssaf_list_versements","methods":["GET","POST"],"parameters":{"type":"object","properties":{"since":{"description":"ISO date lower bound","type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false}},{"name":"urssaf_provisioning_plan","group":"urssaf","title":"Is the URSSAF cascade rule set to the right percentage?","description":"Compares the user’s URSSAF provisioning rule (percentage of each client credit) with what the real contribution rate requires: regime rate, ACRE in force or ending, VAT (the rule applies to the TTC credit while contributions are due on the HT), and the drift observed on past declarations. Returns the recommended percentage now and after ACRE, and the action (raise / lower / none).","url":"https://www.couicoui.com/api/v1/urssaf_provisioning_plan","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}},{"name":"urssaf_raw_source","group":"urssaf","title":"Latest raw payload of one URSSAF source","description":"The untouched JSON the Shortcut pulled for a source: contexte, echeanciers, notifications, notifications_pref, plateformes_periodes, regularisations, tableau_de_bord, attestations, documents_index, declaration_history, messages_recus, messages_envoyes, versements. Use when a derived tool does not expose a field you need. Large payloads are truncated.","url":"https://www.couicoui.com/api/v1/urssaf_raw_source","methods":["GET","POST"],"parameters":{"type":"object","properties":{"source":{"type":"string","maxLength":60},"max_chars":{"default":12000,"type":"integer","minimum":500,"maximum":60000}},"required":["source"],"additionalProperties":false}},{"name":"urssaf_settings","group":"urssaf","title":"URSSAF regime settings and the rate in force","description":"The user’s micro-entrepreneur regime, ACRE end date (set or suggested), versement libératoire, and the contribution rate applied this month.","url":"https://www.couicoui.com/api/v1/urssaf_settings","methods":["GET","POST"],"parameters":{"type":"object","properties":{},"additionalProperties":false}}]}