get_ledger
Retrieve a ledger’s master details and its transactions within a date range. Provide the exact ledger name and optional company to get vouchers.
Instructions
Get a ledger's master details plus its transactions (vouchers) in a date range.
Args: ledger_name: Exact ledger name as it appears in TallyPrime. company: Company name. If omitted, uses the configured default. from_date: Start date, ISO format YYYY-MM-DD. Optional. to_date: End date, ISO format YYYY-MM-DD. Optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | ||
| to_date | No | ||
| from_date | No | ||
| ledger_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||