Compute Client Net Position
compute_client_debtCalculate a client's net balance across specified accounts using journal-header client attribution; offsetting entries from other clients are excluded.
Instructions
Compute net position against a client across selected accounts. Entries are attributed by the journal header client, so offsetting postings under other clients are excluded — the result is not proof of personal debt when other clients share the account.
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": {
"clients_id": "<clients_id>"
},
"name": "compute_client_debt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Clear cached API/reference data first. | |
| clients_id | Yes | Client ID | |
| account_ids | No | Comma-separated account IDs to check (default: 2110,2310,1210) |