beel_preview_invoice_design
Renders a PDF preview of an invoice design, saved or unsaved, and returns a temporary download URL. Apply design settings with optional invoice data without storing anything.
Instructions
Renders a PDF with a design, saved or not, and returns a temporary URL, as the PDF
download of an invoice does. Nothing else is stored. With invoice_id, the credential also needs invoices:read.
BeeL API endpoint: POST /v1/companies/{company_id}/invoice-designs/preview (reference: https://docs.beel.es)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company_id": "<company_id>",
"body": "<body>"
},
"name": "beel_preview_invoice_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| 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. |