Get mapped trial balance
get-mapped-trial-balanceA trial balance rolled up to reporting concepts: each rs-gaap concept's posted debits, credits and net over a window, summed from the accounts a chart-of-accounts mapping sends to it.
WHEN TO USE:
Checking a mapping: does each reporting concept carry what its accounts do?
Reading the books at the level the statements present, before or without generating a report
PARAMETERS:
mapping_id (required): the mapping structure (
list-mapping-structureslists them, one per entity's chart)start_date / end_date (optional, YYYY-MM-DD): the posting window, both inclusive
RETURNS:
mapping_id and rows: each concept's reporting_element_id, qname, reporting_name, trait, balance_type, total_debits, total_credits and net_balance. Amounts are in dollars. An account the mapping does not reach is in no row: get-unmapped-elements lists those. An id that is not one of this graph's mappings answers not_found.
RELATED TOOLS:
get-trial-balance — the same window by account
live-financial-statement — the statements built from these concepts
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": {
"mapping_id": "<mapping_id>"
},
"name": "get-mapped-trial-balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | YYYY-MM-DD. | |
| mapping_id | Yes | The mapping structure whose associations roll accounts up. | |
| start_date | No | YYYY-MM-DD. |