beel_get_recurring_invoice_history
Retrieve paginated history of invoices generated by a recurring template, showing status and generation dates, newest first. Use pagination to browse older entries.
Instructions
Returns the invoices previously generated from this recurring template, including their status and generation dates, newest first.
Paginated with the usual page/limit, and the usual defaults: without them you get
the 20 most recent generations, not the whole history — which grows with every cycle the
template runs. Read data.pagination to walk the rest.
The deprecated flat alias GET /v1/recurring-invoices/{recurring_invoice_id}/history does
not paginate: it is frozen as it shipped until its Sunset date, and returns the whole
history with no pagination. Only this route pages.
Endpoint: GET /v1/companies/{company_id}/recurring-invoices/{recurring_invoice_id}/history
⚠️ 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 |
|---|---|---|---|
| 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`. | |
| 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. | |
| recurring_invoice_id | Yes |