List stock entries
easybill_list_stock_entriesList stock entries from easybill with optional filters for position or document, and pagination. Track inventory movements and review article stock history.
Instructions
List stock entries from easybill with optional filters and pagination.
Stock entries are the inventory movement log for articles that have stock management enabled (position.stock = 'YES'). Each entry records a new absolute stock level. Filter by position_id to see one article's history.
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. | |
| document_id | No | Filter by the document that triggered the movement. Accepts one value or a list of values. | |
| position_id | No | Filter by article (position) ID. Accepts one value or a list of values. | |
| response_format | No | Output format: 'markdown' for readable prose, 'json' for machine-readable data | markdown |