beel_get_compliance
Retrieve a company's active and scheduled invoice tax systems, including each system's period and settings, to determine current and upcoming Spanish compliance requirements.
Instructions
Returns the tax systems this company reports its invoices through, in the environment of
the request: the ones that apply today (ACTIVE) and the ones set to start on a later
date (SCHEDULED), each with its period and its settings. Periods that have ended are
not listed. Today is the date in Spain.
The systems use the same names as the compliance array of an invoice, which records the
ones that applied to that invoice when it was issued.
BeeL API endpoint: GET /v1/companies/{company_id}/compliance (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_compliance"
}
}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. |