beel_list_series
Fetch invoice series for a company, with filters for active status and document type, and optional pagination to manage fiscal numbering efficiently.
Instructions
Returns the invoice series of a company.
Filters:
activerestricts to active or inactive series — omit it and you get all of them.document_typefilters by type and always includes theUNASSIGNEDseries, which are compatible with any type.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
⚠️ Fiscal guardrails — read before calling:
How invoice numbers are formed, and why numbering can never be rewritten. (resource: beel://guardrails/series-and-numbering)
For the exhaustive rules and worked examples, call beel_docs_search.
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 (UNASSIGNED series are always included) |