beel_list_custom_fields
Lists a company's invoice custom fields with the option values each supports, optionally adding a specific customer's options and archived entries.
Instructions
Returns the invoice custom fields of this company, each one with the options that apply
to the query, ordered by key. A field with suggest_values: false carries no options.
Options per customer: with
customer_id, each field carries the common options and those of that customer, which is what an invoice for that customer can offer. Without it, only the common options. To page through every option of a field, useGET /v1/companies/{company_id}/custom-fields/{key}/options.Archived: archived fields and options are left out unless
include_archived=true.
Closed catalogue. A company defines a small set of fields: this collection carries no
pagination, takes no page/limit, and every response holds the whole set.
BeeL API endpoint: GET /v1/companies/{company_id}/custom-fields (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_list_custom_fields"
}
}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. | |
| customer_id | No | Adds the options of this customer to the common ones. A value that names no customer of this company is not an error: only the common options come back. | |
| include_archived | No | Include archived fields and archived options. |