beel_get_invoice_preview
Retrieve a temporary pre-signed URL for rendering an invoice preview image. The image is generated on first request and cached for later calls, with the URL expiring in five minutes.
Instructions
Returns a temporary pre-signed URL to a preview image (WebP) of the invoice, suitable for
inline rendering. The image is generated and cached on first request, so a later call
returns the cached image. The URL expires in five minutes and only allows GET.
Endpoint: GET /v1/companies/{company_id}/invoices/{invoice_id}/preview
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. | |
| invoice_id | Yes | Invoice ID |