List attachments
easybill_list_attachmentsList attachments from easybill with pagination and field filtering. Retrieve metadata for files linked to documents, customers, or projects, then download them via the download attachment endpoint.
Instructions
List attachments from easybill with optional filters and pagination.
Files stored in easybill and linked to a document, customer or project. This endpoint has no filters — page through the list and match on 'document_id', 'customer_id' or 'file_name'. Use easybill_download_attachment to fetch the actual file content.
Returns a compact field set by default; pass 'fields' for specific columns or ['all'] for everything.
Returns: { total, count, page, pages, has_more, next_page, items[] }. Use 'next_page' to continue paging. Monetary values are integers in cents (150 = 1.50 EUR).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. Use 'next_page' from a previous response to continue. | |
| limit | No | Items per page, 1-1000 (default 25). Keep this small unless you need bulk data. | |
| fields | No | Limit returned columns to these field names (e.g. ['number','amount','paid_at']). Pass ['all'] for every field. Omit for a compact default set. Fewer fields = less context used. | |
| response_format | No | Output format: 'markdown' for readable prose, 'json' for machine-readable data | markdown |