beel_set_recurring_invoice_status
Pause or resume automatic generation of recurring invoices by setting their status to PAUSED or ACTIVE, keeping the schedule intact.
Instructions
Sets the lifecycle status of a recurring invoice template, which is how generation is paused and resumed:
PAUSEDstops automatic generation, keeping the schedule configuration intact.ACTIVEresumes generation and recalculates the next generation date from today.
COMPLETED is reached on its own when the schedule runs out and cannot be set through
this operation. Transitions that the schedule does not allow — resuming a template that is
already active, or one paused because the company still cannot issue — are rejected.
Endpoint: PUT /v1/companies/{company_id}/recurring-invoices/{recurring_invoice_id}/status
⚠️ Fiscal guardrails — read before calling:
How BeeL derives the AEAT invoice type, and the rules each type imposes. (resource: beel://guardrails/invoice-types)
What regime_key means, where it lives, and which combinations are rejected. (resource: beel://guardrails/regime-keys)
For the exhaustive rules and worked examples, call beel_docs_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| 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. | |
| recurring_invoice_id | Yes |