customer_statement
One customer's open items + totals (the aging row's drill-down).
as_of mirrors GET …/ar/aging — set, it reconstructs the items open at
that date so the statement agrees with a historical aging report.
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_id": "<company_id>",
"counterparty_id": "<counterparty_id>"
},
"name": "customer_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| company_id | Yes | ||
| counterparty_id | Yes |