get_declaration
Retrieve a declaration's actual period, version, and content—JPK XML tree or PIT calculation tables—to inspect or validate it.
Instructions
Read a declaration dialog. JPK returns a namespaced XML tree; PIT keeps calculation tables.
Inspect the document's actual period and version. Correction supersession is unresolved.
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": {
"declaration_id": "<declaration_id>"
},
"name": "get_declaration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| declaration_id | Yes | Opaque ID from a previously returned record/link |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| xml | No | ||
| text | Yes | ||
| tables | Yes | ||
| company_id | Yes |