Build tuloslaskelma (income statement) for a period
build_profit_and_loss_statementBuild a fully computed Finnish profit and loss statement for a chosen accounting period, with official line items, presentation-sign euro figures, and separate listing of unrecognized accounts.
Instructions
Builds a fully-computed Tuloslaskelma for the given period — every official line with real activity (Kirjanpitoasetus Liite 1 kululajikohtainen-tuloslaskelma order; lines with no activity at all are omitted — subtotals like LIIKEVOITTO are always kept, even at 0), with real euro figures already in conventional presentation sign (revenue positive, costs negative, profit positive when profitable — NOT raw ledger signs). Use this instead of assembling a report by hand from lookup_chart_of_accounts_template — it always produces the same structure. fromDate and toDate must fall within the same accounting period (fiscal year) — this refuses otherwise rather than silently computing a wrong number. Any account the organization uses that isn't recognized by the bundled template is listed separately in unclassifiedAccounts (raw ledger sign there, not the presentation sign above), never silently folded into a line — check those before reporting a total.
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": {
"organizationNumber": "<organizationNumber>",
"fromDate": "<fromDate>",
"toDate": "<toDate>"
},
"name": "build_profit_and_loss_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | Yes | YYYY-MM-DD — period end | |
| fromDate | Yes | YYYY-MM-DD — period start | |
| organizationNumber | Yes |