get_taxes
Retrieve all available sales and purchase taxes from Holded, optionally selecting specific fields or returning only the item count for compact tax lookups.
Instructions
Get all available taxes (Holded API v2). The v2 /taxes endpoint returns the complete tax list in one response (no cursor, no pagination). Supports fields to select specific fields and summary to return only the item count. Amounts are strings with decimal comma. Each tax has: key (the stable identifier, e.g. "s_iva_21"/"p_iva_21" — this is the value used in a document line's taxes[]), id (mirrors key), name, amount (the percentage as a string, e.g. "21"), scope ("sales" or "purchase"), group (e.g. "iva"), and type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Select specific fields to return (e.g., ["key", "name", "amount", "scope"]). Reduces response size. If not provided, returns default fields: id, key, name, amount, scope, group, type. NOTE: the tax rate field is `amount` (not `percentage`) and the identifier is `key`. | |
| summary | No | Return only the item count without the full list (default: false) |