Get business statistics
get_business_statsRetrieves business overview reports from iDoklad, including revenue by period, year comparison, overdue aging, VAT, VAT registration limit, and document counts.
Instructions
Business overview calculated by iDoklad. All amounts are in the company's home currency (usually CZK). Reports:
revenue_by_period: issued (income) and received (costs) invoice totals per month, quarter or year, with paid/unpaid split.
year_comparison: this year's totals against last year's.
overdue_aging: overdue amounts by age (1–30, 31–60, 61–90, 90+ days), for receivables (customers owe you) and payables (you owe suppliers).
vat: VAT on output and input for the current and previous VAT period (VAT payers).
vat_registration_limit: this calendar year's sales against the CZ VAT registration limit (for companies not yet registered for VAT).
document_counts: how many invoices, contacts and other documents the company has.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"report": "<report>"
},
"name": "get_business_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | For revenue_by_period and vat (vat: month or quarter only). | month |
| report | Yes | ||
| periods | No | For revenue_by_period: how many periods back, including the current one. Default 12 months, 4 quarters or 3 years. |