List invoices
invoices_listСчета одной сделки или одного покупателя, одна страница. entity_type: leads или customers, entity_id — id карточки. page с 1, limit по умолчанию 50, максимум 250. Пока в ответе есть _links.next, запрашивайте следующую page. Если раздела счетов нет, бэк включает его сам.
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": {
"entity_type": "<entity_type>",
"entity_id": "<entity_id>"
},
"name": "invoices_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| entity_id | Yes | ||
| entity_type | Yes |