Execute Year-End Close
execute_year_end_closeGenerate RIK year-end closing draft journals, ensuring no existing entry is duplicated. Requires confirm=true; entries are created for review and later registration.
Instructions
Create the missing RIK year-end closing entries from prepare_year_end_close as draft journals (never books an existing entry twice). Requires confirm=true; review/register separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Fiscal year (YYYY) | |
| confirm | Yes | Must be true to create the closing journal entries | |
| reserve_capital_amount | No | Part of a profit to credit to reserve capital (default account: name-resolved Kohustuslik reservkapital, 2940) instead of retained earnings in the 1 January entry | |
| reserve_capital_account | No | Reserve capital account override for reserve_capital_amount | |
| allow_additional_transfer | No | Acknowledge that a smaller same-direction 2970 → 2960 transfer for the year already exists on 1 January and book the proposed remainder anyway (transfers on other dates or ambiguous ones always need manual review) |