aggregate_statement_inputs
Groups credit card charges into their paying statement cycles by matching against statement close dates, identifying any charges that fall outside known cycles as unrolled.
Instructions
Group card-statement-input charges into the statement cycle that pays them.
Deterministic and idempotent. Builds statement cycles from the target obligation's statement instances (those with a statement close date) and assigns each card input to its cycle, reporting any inputs that fall past the last known statement close as unrolled.
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": {
"target_obligation_id": "<target_obligation_id>"
},
"name": "aggregate_statement_inputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_obligation_id | Yes | ||
| db_path | No |