Propose year end entries
year_end_proposePropose the entries of one step of a year end, for a fiscal year (like FY2025). step: closing (every income and expense account brought to nil against the result account, dated the last day; the release is refused unless it closes the year exactly); opening (the result carried onto the forward account on the opening day of the next year, where the settings name one); prepayments (items: each {account: the expense account, what_for, and amount: the part that belongs to later years, or total with covers_from and covers_to, then the part after the year end is worked out by days}; the release in later months is part of the same proposal); provisions (items: each {account: the expense account, amount, what_for, provision_account}; tax=true adds the difference between the tax worksheet and what the books charge); stock (counts: each {account, counted: the value on the last day, note}; write_downs: each {account, amount, what_for}); disposal (asset: the code of an asset the register says is disposed of, proceeds_account if it was sold, result_account for the gain or loss: left out, a loss goes to Loss on disposal and a profit to Profit on disposal of the chart); four papers that touch no ledger and take effect at once: ct600a (UK, the CT600A loans to participators; items empty reads the boxes; each item {op: take} for the lines the director's loan account gives, {op: add, part: made, relief_9_months or relief_later, participator, amount, loan_date, paid_on, released} or {op: void, id}); computation (UK, the Corporation Tax computation in HMRC's CT Computations Format 1.1: adjustments Parts 1 to 7, capital allowances by pool from the asset register, the losses memorandum, profits chargeable and the tax; items empty reads it; each item {op: account, account, category, percent, every_year} treats an account under a category (percent 0: allowable), {op: amount, category, amount, narration}, {op: loss_claim, claim: current_period, carry_back, terminal (three years back, CTA 2010 s39) or carry_forward, prior_profits}, {op: cessation, on: the day the trade ended}, {op: group_relief, other_company_id, surrender_period, what: trading_loss, ntlr_deficit or ifa_loss, or trading_loss_cf, ntlr_deficit_cf or ifa_loss_cf for losses carried forward (box 312), amount, other_utr, own_utr, loss_period (its loss-making period where it is owned by a consortium, s188CC), arrangements, shares_as_stock} (a 75% group or a consortium on the registers of members, consortium relief by the ownership proportion; gives nothing until the other company consents), {op: equity_rights, follows_shares, holders: {name: {profits, assets, votes}}, companies, persons} (asked once per company; holders merge), {op: deductions_allowance, amount} (the group deductions allowance allocated to this company), {op: outside_group, in_group} (a company outside the account holds 75% or more), {op: group_consent, claim} in the surrendering company (post or approve right, or the AI while the owner's switch AI gives group relief consent is on, which it is until a person switches it off; fixes the amount given), {op: withdraw_consent, id}, {op: ntlr_claim, claim: same_period, carry_back or carry_forward, amount}, {op: ifa_loss_claim, claim: set_off or carry_forward}, {op: gain, narration, gain, proceeds, cost, disposed_on}, {op: rollover, kind: tcga152 with gain_line, asset_class (TCGA 1992 s155: 1A, 1B, 2, 3, 4, 5, 6, 7, 7A, 8), reinvested, reinvested_on (empty: provisional), or kind: ifa with asset and new_asset (register codes), reinvested} or {op: void, id}; the read lists the categories; a period of account over 12 months is two accounting periods, fiscal_year "FY2025 AP2" reads the second); anhang (Germany, the Anhang of a kleine GmbH; items empty reads what is saved and open; each item {key, value}, keys as the read returns them); ueberleitung (Germany, the Ueberleitungsrechnung of the E-Bilanz; items empty reads the lines; each item {op: add, position, change_year, change_prior, narration, counter} or {op: void, id}); partners (a partnership or LLP; items sets the partners, each {name, share, kind, salary, interest_rate, tax_ref, ni_number, address, joined_on}, with id to change one (also left_on); without items the profit allocation of the year onto the partners' current accounts, preview=true shows it and writes nothing). A proposal is booked on release: by the connected AI where the owner's switches allow it, otherwise by the owner on the approval page, all of it or none. withdraw=true with pending_action_id withdraws a proposal of this connection. sign_off=true with step assets, accruals, prepayments, provisions or stock signs that step off with reason as the note, where there is nothing to book (while the owner's switch for the AI's sign off of year end steps is on, as it is unless switched off). It builds on the year_end and year_end_guide reports. Round 832: step=treatment with treatment and fields (preview=true shows the entries and writes nothing; accounts {key: code} names an account in place of the chart's own): lease {start, months, payment, rate, in_advance, initial_costs, what} (FRS 102 s20 from 2026: right-of-use asset on the register, lease liability, monthly interest; refused for a German company: HGB keeps it with the lessor); hire_purchase (as lease, with life_months, asset_account, accumulated_account); lease_straight_line {start, months, total, paid_to_date, date} (short term or low value lease, rent free time: accrual or prepayment at the date, reversed the next day); deferred_tax {date, tax_value, book_value (default the register), other_differences, rate (default worked out: UK by the profit with marginal relief, Germany KSt, Soli and the Hebesatz of the year end settings)}: the movement of the provision; bad_debt_specific {date, invoice, percent, base gross or net}; bad_debt_general {date, percent, over_days, base}: an allowance kept apart from VAT bad debt relief; grant {amount, received_on (a date), booked_to (the account code the receipt was booked to, or its bank account), months, model accrual, performance or reduce_cost (Germany only)}; impairment {date, asset, recoverable} or {date, asset, reversal} (not for goodwill); goodwill {date, amount, paid_from, life_years (at most 10 where not reliably estimable), life_reliable, what}. Accounts the chart lacks are added with the standard number of its chart. fiscal_year may be empty for a treatment.
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": {
"fiscal_year": "<fiscal_year>",
"step": "<step>",
"reason": "<reason>",
"idempotency_key": "<idempotency_key>"
},
"name": "year_end_propose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax | No | ||
| step | Yes | ||
| asset | No | ||
| items | No | ||
| counts | No | ||
| fields | No | ||
| reason | Yes | ||
| account | No | ||
| company | No | ||
| preview | No | ||
| accounts | No | ||
| sign_off | No | ||
| withdraw | No | ||
| treatment | No | ||
| fiscal_year | Yes | ||
| write_downs | No | ||
| result_account | No | ||
| idempotency_key | Yes | ||
| proceeds_account | No | ||
| pending_action_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||