beel_get_series
Retrieve a company's invoice series details, including code, format, counter state, document type, and default status. Use it to verify series configuration before issuing invoices.
Instructions
Returns one invoice series of a company, with its code, format, counter state, document type and whether it is the default of that type.
Endpoint: GET /v1/companies/{company_id}/series/{series_id}
⚠️ 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 |
|---|---|---|---|
| series_id | Yes | Series ID | |
| 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. |