List payments
Payments received or made, with date, method, bank account and the invoices each one settled.
MCP tool alegra_read → list_payments
read
Lists payments as Alegra records them. Type in is money received from a client, type out is money paid out. Each item names the invoices it settled with the amount applied. Pass next_cursor back as cursor for the next page.
Parameters
| Name | Type | Description |
|---|---|---|
| type enum | enum | in (received) or out (paid out). |
| client_id string | string | Only payments of this contact. |
| date_from date | date | Only payments on or after this day, YYYY-MM-DD. |
| date_to date | date | Only payments on or before this day, YYYY-MM-DD. |
| cursor string | string | Next page cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "alegra_read",
"arguments": {
"operation": "list_payments",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"payments": [
{
"payment_id": "309",
"type": "in",
"date": "2026-10-13",
"payment_method": "transfer",
"bank_account": {
"bank_account_id": "2",
"name": "Bancolombia"
},
"client": "Lumen Dental",
"invoices": [
{
"invoice_id": "1033",
"number": "FV-0033",
"amount": 480
}
]
}
],
"next_cursor": null
},
"isError": false
}