Client statement
get_client_statementUse this when the user asks for a client's statement of account, a client's invoices and payments over a period, or what a client owes with a running balance. A client's statement for a period, as in the statement in Fatura Go: their issued invoices dated in the period with payments, credit notes and write-offs, a running balance, and totals per currency (invoiced, paid, written off, outstanding, unused credit). brought_forward is separate: what is still unpaid today on earlier invoices (the statement itself starts at 0). Default period: 1 January this year to today. At most the last 100 lines per currency. app_url opens the client, where the user downloads or emails the statement. Do not use it for one invoice (get_invoice) or for all clients' balances (list_clients).
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": {
"client_id": "<client_id>"
},
"name": "get_client_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | YYYY-MM-DD, document date on or before. | |
| client_id | Yes | From list_clients. | |
| date_from | No | YYYY-MM-DD, document date on or after. | |
| business_id | No | From list_businesses. May be left out when the connection shares exactly one business. | |
| unpaid_only | No | Only invoices with something left to pay. |