beel_get_invoice_reply_attachment
Retrieves an invoice reply attachment and returns a temporary download URL valid for about one hour; call again for a fresh link when it expires.
Instructions
Returns the attachment with a temporary download_url for its file. BeeL. does not store the file:
the link is requested when you call this operation and stays valid for about an hour, so call it again
for a fresh one rather than keeping it. download_url and download_url_expires_at are null
when there is no file to download: the attachment was registered with POST .../invoice-replies,
or its file is no longer available (see file_expires_at).
BeeL API endpoint: GET /v1/companies/{company_id}/invoice-replies/{reply_id}/attachments/{attachment_id} (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>",
"reply_id": "<reply_id>",
"attachment_id": "<attachment_id>"
},
"name": "beel_get_invoice_reply_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reply_id | Yes | Unique identifier (UUID) of the reply, as returned by the list or by `POST .../invoice-replies`. | |
| 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. | |
| attachment_id | Yes | Unique identifier (UUID) of the attachment, as returned in `attachments` by the reply. |