beel_get_representation
Retrieves a company's AEAT fiscal representation status, showing whether the document was generated, signed, submitted, accepted, or cancelled. Use it to monitor progress and catch errors.
Instructions
Returns the state of the AEAT fiscal representation of a company: whether the document has been generated, signed and submitted, and whether AEAT accepted it or it was cancelled.
status:NOT_STARTED,PDF_GENERATED,SUBMITTED,ACTIVE,ERRORorCANCELLED.Never started: not an error. The endpoint answers
200withNOT_STARTED, so polling it is always safe.
BeeL API endpoint: GET /v1/companies/{company_id}/representation (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_get_representation"
}
}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. |