Customer statement
o2c_customer_statementOne customer, period-bounded: opening balance, invoices, credits, payments, refunds, closing balance. Balance-forward style — the document a controller sends monthly. Rendering and sending are out of scope; the content is not.
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": {
"customer_id": "<customer_id>",
"from": "<from>",
"to": "<to>"
},
"name": "o2c_customer_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Period end. ISO date, YYYY-MM-DD. | |
| from | Yes | Period start. ISO date, YYYY-MM-DD. | |
| customer_id | Yes | The customer. An existing customer id. |