check_balance
Identify journal entries with mismatched debits and credits to catch import errors and manual entry mistakes.
Instructions
貸借が一致しない仕訳だけを返す。取込不良と手入力の混入を最初に落とすために使う。
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": {
"journals": "<journals>"
},
"name": "check_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| journals | Yes | 仕訳の配列。簡易形 { date, debit_account, credit_account, amount } か、明細形 { date, lines: [{ account, debit, credit }] } のどちらでも受ける。 |