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.
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 |