beel_download_representation_document
Get a presigned 5-minute download URL for a company's representation PDF, returning the generated copy until the signed one is submitted. Fails with 400 if not yet generated.
Instructions
Returns a presigned URL, valid for 5 minutes, to download the representation PDF of a company.
Which copy: while the document is unsigned it serves the generated one; once the signed copy has been submitted it serves that.
Not generated yet: a company that has not generated the document is rejected with
400.
BeeL API endpoint: GET /v1/companies/{company_id}/representation/document (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>"
},
"name": "beel_download_representation_document"
}
}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. |