Get Income By Currency
get_income_by_currencyGet income or expense totals grouped by each transaction currency, plus the company's functional-currency total, in a single call. Use for currency-specific totals like EUR vs GBP before FX checks.
Instructions
Currency-split income (or expense) totals in ONE compact call: face totals grouped by each transaction currency (e.g. EUR face vs GBP face) PLUS the company functional-currency total for the same set. Use when the user asks "total income in EUR and in GBP", "how much came in in euros vs pounds", "income by currency", or wants face vs converted figures before an FX check. Do NOT page get_transactions to sum — this returns aggregates only (no transaction dump). Defaults to money-in (income); pass direction "out" for spend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | End date (YYYY-MM-DD), inclusive | |
| direction | No | in = income / money in (default); out = spend / money out | |
| from_date | No | Start date (YYYY-MM-DD), inclusive |