beel_list_recurring_invoices
Lists recurring invoice templates for a company, with filters by status, customer, or pause reason, plus sorting and pagination.
Instructions
Lists the recurring invoice templates of this company, with filters and pagination. Only the templates of the company in the path are returned.
Endpoint: GET /v1/companies/{company_id}/recurring-invoices
⚠️ Read before calling:
Fiscal rules, domains simplified, taxes: beel_rules_list with domain, or resource beel://guardrails/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. The response echoes it back as `pagination.current_page`. | |
| limit | No | How many items to return per page. The response echoes it back as `pagination.items_per_page`. | |
| status | No | Keeps only the schedules in this lifecycle state. Omitted, every state is listed. | |
| sort_by | No | Field to sort by. Defaults to `created_at` when omitted. | |
| 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. | |
| sort_order | No | Sort direction. Defaults to `desc` when omitted. | |
| customer_id | No | Keeps only the schedules that invoice this customer of the company. | |
| pause_reason | No | Keeps only the schedules stopped for this reason — the same value the response returns in `pause.reason`. A single value; repeating the parameter is rejected. It combines with `status` as an AND, with no special case: `status=ACTIVE` together with any `pause_reason` answers `200` with an empty list, because an active schedule has no pause to have a reason. Sending it alone already implies `PAUSED`, since that is the only state that records one. |