beel_get_default_series
Check which document types have a default invoice series for a company, returning whether one exists and its series_id; missing defaults are skipped by automatic invoicing flows.
Instructions
Reports, for each DocumentType used by automatic invoicing flows, whether the company
(NIF) has a default invoice series and which one: exists, plus the series_id when there
is one.
No default: that document type cannot be issued without naming a
series_idexplicitly, and automatic flows skip it withfailure.payment.skip.missing_default_series.Environment: resolved from the request context; it takes no input.
Closed catalogue. This collection is fixed and bounded — one entry per DocumentType:
it carries no pagination, it takes no page/limit, and every response holds the whole
set.
Endpoint: GET /v1/companies/{company_id}/series/defaults
⚠️ 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 |
|---|---|---|---|
| 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. |