get_clearings
Retrieve clearing and reconciliation data with accounting-level line items. Supports detail, day, week, or month aggregation for transaction lifecycle analysis. Use for financial reconciliation. Filter by date ranges and fields.
Instructions
Get clearing/reconciliation data. Provides accounting-level line items for the transaction lifecycle. Ideal for reconciliation. Supports detail, day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_clearings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregation | No | Aggregation level for the data | detail |
| fields | No | Specific fields to return | |
| filters | No | Filters on data fields. For date filtering, use actual date field names with operators (e.g., {'post_date': '>=2023-10-20'}) | |
| sort_by | No | Field to sort by | |
| count | No | Maximum records to return (up to 10,000, default 10,000) | |
| program | No | Override default program |