List documents
list_documentsDocuments across clients, newest activity first: type, number, title, status, total, dates, labels. Filter by client, type, status, label, or a smart list.
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": "list_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | quote, contract or invoice. | |
| label | No | ||
| client | No | The client's id, or its exact name. | |
| filter | No | waiting: sent quotes and contracts; unpaid: sent or late invoices; pastdue: unpaid invoices past the due date in force; drafts; open: not closed; closed: paid, accepted, signed, declined, cancelled, written off. | |
| status | No | draft, sent, late, accepted, signed, declined, paid, cancelled, written_off. |