Prepayments, accruals, loan interest
month_end_entriesRound 622, the month end entries that come back every month (the page Accruals shows the same). action=list: the schedules with every entry and its state (posted, pending, due, planned), the switches, and with period (YYYY-MM) the loan interest accrued at its end. action=schedule_add with schedule {kind: prepayment, deferred_income or accrual; narration; amount; first_month YYYY-MM; months 1 to 120; pl_account (the expense, income or work in progress account); balance_account (left out: Prepayments, Deferred income or Accruals of the chart); move_on (YYYY-MM-DD, optional: the whole amount is moved off the expense or income account onto the balance sheet account that day, for a bill or invoice booked to the profit and loss account); reverse (true: a one month accrual reversed on the 1st); reference; party}: a prepayment releases Dr expense Cr Prepayments, deferred income Dr Deferred income Cr income, an accrual Dr expense Cr Accruals, one entry on each month's last day, the last taking the rounding; every entry dated up to today is posted at once. action=schedule_end with schedule_id and reason. action=post_due: every schedule entry dated up to today (the job does it every hour too). action=loan_interest with period: per loan on the register with a rate, the interest from its own last interest date (its schedule and its own entries, not another loan's) to and including the month end on the balance (day_convention says it); take (loan ids or references) to choose; posted Dr interest payable Cr Accruals (a loan given: Dr Accrued income Cr interest received), reversed on the 1st. action=switch with switch auto_depreciation or auto_loan_interest and on true or false: whether the job posts the depreciation the register says and the loan interest of each month that ended, automatically (on unless set otherwise). Round 1141, the page Month end, fold by fold, with period (YYYY-MM): action=month: per fold (depreciation, prepayments, accruals, payroll, stock) what it would post (its lines) and what the month holds posted, what Accruals hold by item, prepayments found that nothing releases (spread one with schedule_add, balance_account its account, months where given: a loan's term, as spread before, or 12 where the company has no history; months_note says which). action=depreciation, prepayments (the month's schedule entries), interest: post that fold. action=accrual with account, amount, narration: Dr account, Cr Accruals at the month end, reversed on the 1st. action=payroll with pay_date and figures {gross, paye, employee_nic, employee_pension, student_loan, other_deductions, employer_nic, employer_pension} (amounts; net pay is gross less the deductions): one journal per pay date on the chart's payroll accounts. action=stock: the stock entry of a company that keeps stock by product. action=stock_count with rows [{item, location, quantity, unit_cost}] or total (the closing stock at cost): the difference to the stock account posted against stock movement; samples {amount, narration} Dr marketing Cr stock, write_off {amount, narration} Dr stock write offs Cr stock, in the same entry (the count is what is left on hand); counts {account: closing stock at cost} for the stock accounts that action=month lists under stock_accounts (the chart's own is the total; packaging stock), each against its own movement account in the same entry. action=month also lists missing_bills: a regular supplier with no bill in the month, a jump in a supplier's invoice numbers. action=rebate_set with customer, rate (percent) and starts (YYYY-MM): the customer's rebate on its net sales of each month (invoices less credit notes and the deductions taken off its payments); rate 0 ends it. action=rebate with period and customer: that month's rebate accrued, Dr sales deductions Cr the rebate liability, not reversed, net of VAT (the VAT is adjusted when the retailer's credit note or deduction is entered); after a change of the month's figures the same action posts the difference; action=month lists rebates per customer. Every entry is released as the owner's switches say.
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": {
"action": "<action>"
},
"name": "month_end_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| rate | No | ||
| rows | No | ||
| take | No | ||
| total | No | ||
| action | Yes | ||
| amount | No | ||
| counts | No | ||
| period | No | ||
| reason | No | ||
| starts | No | ||
| switch | No | ||
| account | No | ||
| company | No | ||
| figures | No | ||
| samples | No | ||
| customer | No | ||
| pay_date | No | ||
| schedule | No | ||
| narration | No | ||
| write_off | No | ||
| schedule_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||