list_payments
Retrieve paginated payments from the active fiscal year using cursor paging and start/end date filters; use document-level payment details for cross-year audits.
Instructions
List all payments (Holded API v2). Cursor-paginated: pass the previous response nextCursor as cursor. Response fields are snake_case; amounts are strings with decimal comma. NOTE: this endpoint is filtered to the ACTIVE fiscal year, so payments made in a prior year do NOT appear here even if they are linked to documents. For cross-year payment audits, read a document's payments via get_document_payments (the document paymentsDetail). Use start_date/end_date (YYYY-MM-DD) to filter by date — live-verified against v2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items per page (server-paginated; use limit to control page size) | |
| cursor | No | Cursor from a previous response nextCursor | |
| endtmp | No | Legacy: Unix timestamp (seconds) for end date. Converted to ISO YYYY-MM-DD. Ignored when end_date is also provided. | |
| fields | No | Select specific fields to return (e.g., ["id", "name", "days", "discount"]). Reduces response size. If not provided, returns all fields from the API. | |
| summary | No | Return only count and pagination metadata without items (default: false) | |
| end_date | No | Filter payments on or before this ISO date (YYYY-MM-DD). Forwarded directly to the v2 API. | |
| starttmp | No | Legacy: Unix timestamp (seconds) for start date. Converted to ISO YYYY-MM-DD. Ignored when start_date is also provided. | |
| start_date | No | Filter payments on or after this ISO date (YYYY-MM-DD). Forwarded directly to the v2 API. |