beel_get_default_series
Check each document type's default invoice series for a company to avoid automatic invoicing failures when defaults are missing.
Instructions
Reports, for each DocumentType used by automatic invoicing flows, whether the company
(NIF) has a default invoice series and which one. A document type with no default cannot
be issued without naming a series_id explicitly, and automatic flows skip it with
failure.payment.skip.missing_default_series.
The environment is resolved from the request context and takes no input.
Endpoint: GET /v1/companies/{company_id}/series/defaults
⚠️ 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 |
|---|---|---|---|
| company_id | Yes | NIF (company) the operation acts on. 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 NIF you do not reach answers `403`, and so does a NIF that does not exist, so the existence of a NIF in another account is never disclosed. |