sales-purchase-analysis
Get sales or purchase totals by party, item, month, or voucher, net of returns, with tax-inclusive and tax-exclusive figures for accounting review.
Instructions
Sales or purchase totals by party, item, month or voucher, net of returns, incl. and excl. tax.
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": {
"kind": "<kind>"
},
"name": "sales-purchase-analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fy | No | FY start year, e.g. 2024 = FY 2024-25 (default: selected year) | |
| top | No | ||
| kind | Yes | ||
| company | No | Company code e.g. COMP0001 (default: selected company) | |
| to_date | No | End date YYYY-MM-DD (default: FY end) | |
| group_by | No | party | |
| from_date | No | Start date YYYY-MM-DD (default: FY start) | |
| vch_types | No | Override voucher type codes, e.g. [9] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||