get_taxes
Retrieve all configured tax rates from your Siigo account to apply correct taxes when creating invoices or products.
Instructions
Get all configured taxes in the Siigo account.
Returns a list of taxes with their IDs, names, and percentages. Use these tax IDs when creating invoices or products.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/siigo_mcp/tools/reference.py:10-17 (handler)The main handler function for the 'get_taxes' tool, decorated with @mcp.tool. It retrieves all configured taxes from the Siigo API using get_client.@mcp.tool async def get_taxes(ctx: Context) -> list[dict[str, Any]]: """Get all configured taxes in the Siigo account. Returns a list of taxes with their IDs, names, and percentages. Use these tax IDs when creating invoices or products. """ return await get_client(ctx).get("/taxes")
- src/siigo_mcp/tools/discovery.py:73-73 (registration)Registration of the 'get_taxes' tool in the lazy loading tool functions map, pointing to reference.get_taxes."get_taxes": reference.get_taxes,
- Metadata entry for 'get_taxes' in the TOOL_INDEX, providing name, category, and summary for discovery.{"name": "get_taxes", "category": "reference", "summary": "Get all configured taxes"},