stock_by_godown
Retrieve closing stock by godown at month-end from Tally's Godown Summary, reconciled to the Stock Summary total, to verify per-godown values and root-level item splits.
Instructions
Closing stock by godown at as_of, a month's last day, from Tally's own Godown Summary, tied to the plain Stock Summary's total. state tied returns godowns (each godown under Tally's root with its value, a child godown folded into its parent; quantity is Tally's net of the godown's items, never an item's) and root_items: for an item directly under the root, its value per godown at that godown's own cost, only where they add up to the item's line (state says why not), or null with root_items_reason. Items inside a stock group get no value per godown. not_established returns both totals and no godown or item. Empty is not zero. One synthetic book measured. Names are masked under mask_parties. Each call appends metadata-only receipt lines (tool, company, counts, request and response fingerprints; no book content) to ComplyEaze Bridge's local log on this computer; it writes nothing to Tally.
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": {
"company_guid": "<company_guid>",
"as_of": "<as_of>"
},
"name": "stock_by_godown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | A month's last day (YYYYMMDD or YYYY-MM-DD); the period starts 1 April, or the book's start if later. | |
| company_guid | Yes | The company's company_guid, as list_companies returns it. |