Read sales by item or product on Zoho Books and QuickBooks
reports_sales_by_itemRead a company's sales by item for a period. On Zoho Books it is Zoho's own report, never computed: each item by its id and name, with its unit where Zoho names one, the quantity sold, the amount and Zoho's average_price, in Zoho's own order, in the organisation's base currency, which companies_list names. On QuickBooks it is QuickBooks' own sales by product or service, from the start of the financial year where from is omitted, each product or service by the id items_list gives it, never computed: report, from, to, currency, columns - their titles - and rows in QuickBooks' order, each with cells - its values in column order - and id, the QuickBooks record its first cell names, where it names one; a section carries header, its own rows and summary. A FreeAgent company or Xero organisation answers none, saying under none what to read there instead. For one company or several and at most four on Zoho Books or QuickBooks at once, each read live from its program. A company that could not be read stands under unread with why, as bank_accounts_list answers it. A Zoho Books organisation whose sign-in Zoho refuses its reports stands under unread as zoho_reports, its note saying to add Zoho Books again signed in to Zoho as the same account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reports_sales_by_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The last day of the period, as 2026-10-31; today where omitted. | |
| from | No | The first day of the period, as 2026-04-01; the start of the accounting year where omitted. | |
| companies | No | The ids companies_list gives the companies to read; every company where omitted. |