Get tax year breakdown
get_year_breakdownWhat a tax year's lines add up, a page of each kind at a time (next_offset for
the next): each disposal (proceeds, cost, gain, holding period), each income (one with
named_elsewhere belongs to another form of the user's return — name it with its
amount, never add it to a total of this report) and each
booking, with its transaction's link. A prediction market's share carries its market's
result (market_result: won, lost, split, open: not resolved when last read,
unread: no transaction names its market) and when it resolved; one disposed of in
the transaction that reported the result was lost then, where its country's law
counts the loss at the resolution.
Refused while the account's history is still being read: see get_tax_reports.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": {
"year": "<year>"
},
"name": "get_year_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | The tax year, as the number get_tax_reports gives in ``tax_year``: a year that does not start in January is named by the year it starts in. | |
| client | No | An account this user may read as its accountant (a client's ``user_id`` from list_clients). Left out: their own account, which is every private user's case. | |
| offset | No | Where the page starts: 0 for the first page, then the ``next_offset`` the page before gave. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| income | Yes | ||
| totals | Yes | ||
| bookings | Yes | ||
| disposals | Yes | ||
| next_offset | Yes |