siigo_get_taxes
Retrieve the complete tax catalog from Siigo accounting software to access tax rates and classifications for accurate financial calculations in Colombia.
Instructions
Get taxes catalog
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1076-1079 (handler)MCP tool handler function that executes the tool by calling SiigoClient.getTaxes() and returning the result as JSON text content.private async handleGetTaxes(args: any) { const result = await this.siigoClient.getTaxes(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
- src/index.ts:677-681 (registration)Tool registration in the list of tools returned by ListToolsRequest, including name, description, and empty input schema.{ name: 'siigo_get_taxes', description: 'Get taxes catalog', inputSchema: { type: 'object', properties: {} }, },
- src/index.ts:149-150 (handler)Dispatch case in the switch statement for CallToolRequest that routes to the handler.case 'siigo_get_taxes': return await this.handleGetTaxes(args);
- src/siigo-client.ts:214-216 (helper)SiigoClient method that performs the actual API GET request to /v1/taxes after authentication.async getTaxes(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/taxes'); }