reconcile_statement
Complete a calendar-month account statement by matching existing clearings, providing the period end and ending balance, and returning exact reconciled balances plus an undo receipt.
Instructions
Complete a calendar-month account statement using existing clearings. Provide period_end (the last day) and the statement_ending_balance in decimal major units. Optionally filter by statement_ref and either entry_ids or references. Returns exact balances and an audit_undo receipt. Approval mode queues the exact matched clearings and balances. close_period requires direct ledger/reconcile and ledger/admin.
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": {
"company": "<company>",
"account": "<account>",
"period_end": "<period_end>",
"statement_ending_balance": "<statement_ending_balance>"
},
"name": "reconcile_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| company | Yes | ||
| currency | No | A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded. | |
| entry_ids | No | Select clearing entries by ID. Mutually exclusive with references. | |
| period_end | Yes | Last calendar day of the statement month (YYYY-MM-DD). | |
| references | No | Select clearings by transaction reference. Mutually exclusive with `entry_ids`. | |
| close_period | No | Also advance the company posting cutoff, with ledger/admin. | |
| statement_ref | No | ||
| statement_ending_balance | Yes | Ending balance in decimal major units. |