beel_list_series
List a company's invoice series, filter by active status or document type, and optionally paginate results for full or paged access.
Instructions
Returns the invoice series of a company.
Filters:
activerestricts to active or inactive series — omit it and you get all of them.document_typereturns the series of that type, the only ones that can number it.Pagination (opt-in): send
pageand/orlimitto receive a single page plus adata.paginationblock with the totals. Omit both and the response carries the full list indata.seriesand nopaginationblock.
Endpoint: GET /v1/companies/{company_id}/series
⚠️ Read before calling:
Fiscal rules, domains numbering: beel_rules_list with domain, or resource beel://guardrails/.
How a series formats numbers, and which series configurations are rejected. (resource: beel://guardrails/series-and-numbering)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (starts at 1). Omit for the full, unpaginated list. | |
| limit | No | Items per page. Omit for the full, unpaginated list. | |
| active | No | Filters by activity: `true` returns only active series, `false` only inactive ones. Omit it and you get **all** the series, active and inactive. | |
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. | |
| document_type | No | Filter by document type |