beel_get_invoice_preview
Retrieve a temporary pre-signed URL to view an invoice preview image (WebP). The URL expires in five minutes and is cached for subsequent requests.
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 | 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. | |
| invoice_id | Yes | Invoice ID |